← 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,

Its working in latest gtk client trunk version.

Thanks

** Changed in: openobject-client
       Status: Confirmed => Fix Released

** Changed in: openobject-client
     Assignee: (unassigned) => nch(OpenERP) (nch-openerp)

** Changed in: openobject-client
    Milestone: None => 6.0

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

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.