Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
6711 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
čvc 24
2131
0
led 22
2310
2
dub 25
1809
1
led 25
1536
1
zář 24
2212