← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 551785] Re: Buggy behaviour with selection widget

 

Hello R. Messier,

I have checked this issue carefully on trunk and it works as expected.

Please let us know if you still have any issues with this issue.

Thanks.

** Changed in: openobject-client
       Status: New => Invalid

-- 
Buggy behaviour with selection widget
https://bugs.launchpad.net/bugs/551785
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject GTK Client: Invalid

Bug description:
Assuming the following situation:

M1 ---o2m---> M2 ---m2o---> M3

where model M1 defines a o2m relationship with model M2 which, in turn, defines a m2o relationship with model M3. Furthermore, the m2o field in M2's form is represented by a selection widget.

When editing items in M1's om2 widget (clicking 'new' or double-clicking an existing item), due to the m2o/selection widget in M2's form, the user cannot accept changes (clicking 'Ok' has no noticeable effect). Furthermore, if editing an existing item, the dialog window appear with some missing values in m2o/selection widgets. When the dialog window is closed, even without change (i.e. by clicking 'close'), internal values appear instead of user values in M1's o2m widget.

Removing ' widget="selection" ' attribute in M2's XML form definition solve the issue, but leaves undesired m2o widget instead of selection widget.