Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
Hi,
In odoo 17 there is technical changes on usage of attrs and states.
You can directly add condition for readonly, invisible,required in respected attribute.
Refer this script also for easily converting:
https://github.com/pierrelocus/odoo-attrs-replace
Hope this will help you
Thanks
THANKS YOU
The migration from 16 to 17 really tires me too much, here is another error
<field name="amount_fix" attrs="{'invisible':[('amount_select','<>','fix')], 'required':[('amount_select','=','fix')]}"/><newline/>
<field colspan="4" name="amount_python_compute" attrs="{'invisible':[('amount_select','<>','code')], 'required':[('amount_select','=','code')]}"/>
<field name="amount_percentage" attrs="{'invisible':[('amount_select','<>','percentage')], 'required':[('amount_select','=','percentage')]}"/>
Refer this script for easily converting:
when I run this is the error:
(venv) PS C:\Users\BUYER CT\OneDrive\Documents\plantation> python3 replace_attrs.py
Python was not found. Execute without arguments to proceed to
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
1
lip 24
|
1611 | ||
|
1
cze 24
|
1585 | ||
install odoo17 enterprise version
Rozwiązane
|
|
2
cze 24
|
4623 | |
|
1
cze 24
|
2165 | ||
|
2
cze 24
|
2500 |