summaryrefslogtreecommitdiff
path: root/addons/project
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/project
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/project')
-rw-r--r--addons/project/data/project_data.xml4
1 files changed, 1 insertions, 3 deletions
diff --git a/addons/project/data/project_data.xml b/addons/project/data/project_data.xml
index ff624b5a232..7198ffe017b 100644
--- a/addons/project/data/project_data.xml
+++ b/addons/project/data/project_data.xml
@@ -21,9 +21,6 @@
<field name="numbercall">-1</field>
</record>
- </data>
-
-
<!-- Task-related subtypes for messaging / Chatter -->
<record id="mt_task_new" model="mail.message.subtype">
<field name="name">Task Created</field>
@@ -97,6 +94,7 @@
<field name="parent_id" eval="ref('mt_task_rating')"/>
<field name="relation_field">project_id</field>
</record>
+ </data>
<data noupdate="1">