Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
6298 Представления

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
июл. 24
1789
0
янв. 22
2186
2
апр. 25
1182
1
янв. 25
1269
1
сент. 24
1881