← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 341622] Re: Deleting a line in a one2many_list widget does not generate onchange event

 

** Changed in: openobject-client-web/trunk
    Milestone: None => 6.1

-- 
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 OpenERP GTK Client:
  Fix Released
Status in OpenERP Web Client:
  Confirmed
Status in OpenERP 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.