Skip to Content
Menu
This question has been flagged
1 Atsakyti
6402 Rodiniai

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!

Portretas
Atmesti
Best Answer

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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
liep. 24
1837
0
saus. 22
2237
2
bal. 25
1252
1
saus. 25
1342
1
rugs. 24
1973