跳至内容
菜单
此问题已终结
1 回复
6456 查看

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!

形象
丢弃
最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
1
7月 24
1935
0
1月 22
2267
2
4月 25
1547
1
1月 25
1365
1
9月 24
2006