Skip to Content
Menú
This question has been flagged
1 Respondre
6746 Vistes

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
Descartar
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

Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
de jul. 24
2140
0
de gen. 22
2315
2
d’abr. 25
1837
1
de gen. 25
1547
1
de set. 24
2229