[FIX] warning: onchange_partner_id

When the warning module is installed, `onchange_picking_type` is not
called anymore.

When the method `onchange_picking_type` was introduced, it was not taken
into account that the warning module would change the onchange property
on the `partner_id` field thanks to the method `onchange_partner_id`.

opw-672091
Fixes #11342
This commit is contained in:
Nicolas Martinelli
2016-03-29 16:00:31 +02:00
parent 11d3aaf848
commit 04f896b135
2 changed files with 11 additions and 3 deletions
+1 -1
View File
@@ -63,8 +63,8 @@
<field name="model">stock.picking</field>
<field name="inherit_id" ref="stock.view_picking_form"/>
<field name="arch" type="xml">
<!-- FORWARD-PORT UP TO SAAS-10, REMOVE THE RECORD COMPLETELY IN MASTER -->
<field name="partner_id" position="attributes">
<attribute name="on_change">onchange_partner_id(partner_id)</attribute>
</field>
</field>
</record>