summaryrefslogtreecommitdiff
path: root/addons/note/data
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2018-04-23 13:52:59 +0200
committerThibault Delavallée <tde@odoo.com>2018-04-26 16:44:22 +0200
commit1d7c12f9bf44cdd9961031676628f740f18fc837 (patch)
tree9af685111171b23e859ba5b8691bb8ef4ece38b6 /addons/note/data
parent535490a073934a1950989dcb56461dc6db326780 (diff)
[FIX][IMP] note: create default note columns for existing users
Otherwise users that already exist when installing note module do not have any default columns for note leading to an incoherent behavior, especially with reminders. Done after feedback from saas-11.3 internal testing phase. This commit is linked to task ID 1838917.
Diffstat (limited to 'addons/note/data')
-rw-r--r--addons/note/data/res_users_data.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/addons/note/data/res_users_data.xml b/addons/note/data/res_users_data.xml
new file mode 100644
index 00000000000..874982a310b
--- /dev/null
+++ b/addons/note/data/res_users_data.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<odoo>
+ <data noupdate="1">
+ <function id="init_data_user_note_stages"
+ model="res.users"
+ name="_init_data_user_note_stages"
+ eval="[]"/>
+ </data>
+</odoo>