Skip to content
Snippets Groups Projects
Commit d2dbc4fa authored by Jason Van Malder's avatar Jason Van Malder Committed by Nicolas Martinelli
Browse files

[FIX] web: fix studio child view datapoint content


Issue

    - Install Employees & Studio
    - Configuration > Check Skills Management
    - Go on an employee form
    - Remove all data in Experience, Education & Skills
    - Open Studio
    - Click in the blank space before Skills
    - Edit Form View

    Traceback

Cause

    The ORM tries to get the parent fields because the generated
    datapoint includes them. (45bc7c92)

    Normally the parent model is the same than the child model
    but not in studio.

Solution

    Merging the fields in the datapoint only if the models are the same.

OPW-2125214

closes odoo/odoo#41317

Related: odoo/enterprise#7179
Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
parent b9323247
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