Skip to content
Snippets Groups Projects
Commit dc85dd73 authored by Romain Estievenart's avatar Romain Estievenart
Browse files

[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: default avatarPierre Paridans (app) <app@odoo.com>
parent 9f4b376b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment