summaryrefslogtreecommitdiff
path: root/addons/warning/warning_view.xml
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2016-03-29 15:31:55 +0200
committerNicolas Martinelli <nim@odoo.com>2016-03-29 16:00:31 +0200
commit04f896b135f3054496b0badc2b07afd2e8f03c19 (patch)
treeab47fce283dd651fa43d5484dccb01ca18a40e0d /addons/warning/warning_view.xml
parent11d3aaf8485ea25dcb45716c18df75fb13d0ba7e (diff)
[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
Diffstat (limited to 'addons/warning/warning_view.xml')
-rw-r--r--addons/warning/warning_view.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/warning/warning_view.xml b/addons/warning/warning_view.xml
index bb7086c96ef..97f726197cd 100644
--- a/addons/warning/warning_view.xml
+++ b/addons/warning/warning_view.xml
@@ -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>