-
- Downloads
[FIX] base, test_new_api: adapt generated default form view to Grid
When we changed the display of the form in v16, we forgot to adapt the
python framework default form view layout (used when the form view of
the model isn't defined). This provided a weird layout in these case on
Odoo 16.+.
To fix this bad behavior, we adapt the algorithm used to build the
default view form.
Steps to reproduce:
Create a model without a form view and edit it (like we do when you
follow the rd training).
closes odoo/odoo#132228
Signed-off-by:
Pierre Paridans (app) <app@odoo.com>
Showing
- odoo/addons/base/models/ir_ui_view.py 27 additions, 7 deletionsodoo/addons/base/models/ir_ui_view.py
- odoo/addons/test_new_api/tests/__init__.py 1 addition, 0 deletionsodoo/addons/test_new_api/tests/__init__.py
- odoo/addons/test_new_api/tests/test_views.py 22 additions, 0 deletionsodoo/addons/test_new_api/tests/test_views.py
Loading
Please register or sign in to comment