0
votes

I have a custom object (x_items) and it's linked to the project task (project.task) as many2many field.

In the form view of the task the field is appearing as table with an option in the footer (add an item).

Once i click on add an item a pop up form open.

What i need is to send variables using context from the task to the popup window..

So any idea how can i do this?

2

2 Answers

0
votes

Did you already tried this?

<field name="x_items" context="{write your context here!}"/>
0
votes

ProgrammingError: ARRAY types integer and boolean cannot be matched.

This type of error raised when you give widget many2many_tags to Many2one field.So check your field and widget that you gave.