Skip to content
Snippets Groups Projects
Commit dd1e7fab authored by FrancoisGe's avatar FrancoisGe
Browse files

[FIX] web: create with m2o use the field context


Before this commit, in a list view, the context set on a m2o field
is not used when you edit the field to create a new record.

How:
- Go to a list view with a m2o field containing a context
    <field name="m2o" context={"test":1}/>
- Edit the field the m2o field
- Click on "Create ..."

Before this commit:
The name_create method call does not contain the context defined
on the <field/>

After this commit:
The call to the name_create method contains the context defined
on the <field/>

closes odoo/odoo#100731

Signed-off-by: default avatarAaron Bohy (aab) <aab@odoo.com>
parent ec5ab1d3
No related branches found
No related tags found
Loading
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