one2many related field does not manage button action
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
I have model A(view A) and Model B(view B)
Now in my model A, I have one2many model B.
Model B: fields, name(char), data(binary field), one2many(model C)
now from view A, I have one2many(Model B)
When I click on [add an item] it opens model b' view
With field name, data(binary field) and their is one button, on clock of it I import 'data' field's data to one2many field with modelC.
But due to record not saved, I can't add data in model C.
Also on button click It do not save record(one2many field(model B))
I receive traceback:
res = self._obj.
DataError: invalid input syntax for integer: "one2many_v_id_724"
Note: one2many field in form view does not work properly with button.