Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
7185 Vistas

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
Mejor respuesta

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
Publicaciones relacionadas Respuestas Vistas Actividad
1
jul 24
2401
0
ene 22
2483
2
abr 25
2346
1
ene 25
1864
1
sept 24
2607