Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
6942 Visualizzazioni

Hi!

I am migrating a custom JS widget from Odoo 16 to Odoo 17. The web.field_registry and web.basic_fields​ were removed in  the new version of Odoo.  What are the alternatives for those in the OWL framework from Odoo 17?.


There is little documentation for the technical changes from Odoo 16 to Odoo 17. 

Thanks in advance!

Avatar
Abbandona
Risposta migliore

For the registry system provided by OWL, see an example at

https://github.com/odoo/odoo/blob/17.0/addons/lunch/static/src/views/list.js


web.basic_fields are under @web/views/fields, see an example at

https://github.com/odoo/odoo/blob/17.0/addons/mrp/static/src/widgets/mrp_consumed.js

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
lug 24
2275
0
gen 22
2399
2
apr 25
2081
1
gen 25
1714
1
set 24
2388