Public bug reported:
Hi!
This case is somewhat complicated, I'll try to explain it as well as I can.
Let us say I have 4 different objects A, B, C and D.
A has a one2many to B, B has a one2many to C, and C has a many2one to D.
First use case (working)
If I open a view of a B object directly from the menu, I can edit C objects in
the one2many editable list, modify the reference to the D object in each of
them, everything works perfectly.
Second use case (not working)
However, if I edit the same B object, using the same view but displayed in a
pop-up appeared when I clicked in the one2many field in a A object, I get
errors due to the references to D in the C objects of the one2many list in the
B object.
Indeed, if I understand well, the client manipulates one2many fields using
pairs (id,name). Of course, when saving the object, the client must provide
only the id, and not the pair. It seems to be the case in the first use case,
but not in the second one.
Cheers!
** Affects: openerp-web
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/894821
Title:
Saving a one2many list with many2one field
Status in OpenERP Web:
New
Bug description:
Hi!
This case is somewhat complicated, I'll try to explain it as well as I can.
Let us say I have 4 different objects A, B, C and D.
A has a one2many to B, B has a one2many to C, and C has a many2one to
D.
First use case (working)
If I open a view of a B object directly from the menu, I can edit C objects
in the one2many editable list, modify the reference to the D object in each of
them, everything works perfectly.
Second use case (not working)
However, if I edit the same B object, using the same view but displayed in a
pop-up appeared when I clicked in the one2many field in a A object, I get
errors due to the references to D in the C objects of the one2many list in the
B object.
Indeed, if I understand well, the client manipulates one2many fields using
pairs (id,name). Of course, when saving the object, the client must provide
only the id, and not the pair. It seems to be the case in the first use case,
but not in the second one.
Cheers!
To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/894821/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp