c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #05213
[Bug 341622] Re: Deleting a line in a one2many_list widget does not generate onchange event
** Also affects: openobject-client-web/trunk
Importance: Medium
Assignee: OpenERP SA's Web Client R&D (openerp-dev-web)
Status: Confirmed
--
Deleting a line in a one2many_list widget does not generate onchange event
https://bugs.launchpad.net/bugs/341622
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: 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.