c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #08046
[Bug 341622] Re: Deleting a line in a one2many_list widget does not generate onchange event
** Changed in: openobject-client-web/trunk
Importance: Medium => Low
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/341622
Title:
Deleting a line in a one2many_list widget does not generate onchange event
Status in OpenObject GTK Client:
Fix Released
Status in OpenObject Web Client:
Confirmed
Status in OpenObject Web Client trunk series:
Confirmed
Bug description:
In this example, configurator_line_ids is a one2many field:
<field name="configurator_line_ids" widget="one2many_list" on_change="onchange_configurator_line_ids(configurator_line_ids)">
<form string="Key / Value" editable="bottom">
<field name="customization_key_id" />
<field name="customization_value_id"/>
</form>
<tree string="Key / Value" editable="bottom">
<field name="customization_key_id"/>
<field name="customization_value_id"/>
</tree>
</field>
The onchange function (here, onchange_configurator_line_ids) is called when lines are created or modified but not when lines are deleted.