summaryrefslogtreecommitdiff
path: root/addons/stock_picking_batch
diff options
context:
space:
mode:
authorNans Lefebvre <len@odoo.com>2019-03-04 06:19:19 +0000
committerNans Lefebvre <len@odoo.com>2019-03-28 13:40:41 +0000
commitc26eb41f9e1999b8be188471f34bf08a7d4adb96 (patch)
treea7b97858061904d144a35808b1e52b57d31e68cc /addons/stock_picking_batch
parent63d2a1675bbede40d6114087d3924103fc9a49d2 (diff)
[FIX] *: put all mail.message.subtype as noupdate
The mail.message.subtype model contains a field internal, which decides if the messages are visible to external users or not. Such a value should not be overriden at module update, so all subtypes should be in noupdate. opw 1946043 closes odoo/odoo#32214 Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/stock_picking_batch')
-rw-r--r--addons/stock_picking_batch/data/stock_picking_batch_data.xml5
1 files changed, 2 insertions, 3 deletions
diff --git a/addons/stock_picking_batch/data/stock_picking_batch_data.xml b/addons/stock_picking_batch/data/stock_picking_batch_data.xml
index 9c22ab97778..ea5c953fb47 100644
--- a/addons/stock_picking_batch/data/stock_picking_batch_data.xml
+++ b/addons/stock_picking_batch/data/stock_picking_batch_data.xml
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<odoo>
-
+<odoo><data noupdate="1">
<!-- Batch picking related subtypes for messaging / Chatter -->
<record id="mt_batch_state" model="mail.message.subtype">
<field name="name">Stage Changed</field>
@@ -16,4 +15,4 @@
<field name="padding">5</field>
<field name="company_id" eval="False"/>
</record>
-</odoo>
+</data></odoo>