← 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

 

Hello,

This is totally like new feature so we can not start this for the moment, because right now we are concentrating on bugs first.
So as solving bugs are more important.
We have to make this as a wishlist.

Thanks.

** Changed in: openobject-client-web/trunk
   Importance: Low => Wishlist

-- 
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.