[FIX] note, project, hr: collaboration opt-in on html fields

Activate the new opt-in option for the collaboration
on some html fields.

closes odoo/odoo#77160

X-original-commit: 504bbafc1d6183e7e8e0a326d1e90eddce6410d7
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
This commit is contained in:
Sébastien Geelen (sge)
2021-09-24 14:00:45 +00:00
parent 0589b36506
commit e3a0a62622
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
<page string="Job Description">
<div attrs="{'invisible': [('state', '!=', 'recruit')]}" name="job_description">
<label for="description"/>
<field name="description"/>
<field name="description" options="{'collaborative': true}"/>
</div>
</page>
<page string="Recruitment">
+1 -1
View File
@@ -157,7 +157,7 @@
<field name="stage_id" domain="[('user_id','=',uid)]" widget="statusbar" options="{'clickable': '1'}"/>
</header>
<sheet>
<field name="memo" type="html" class="oe_memo" default_focus="1" options="{'resizable': false}"/>
<field name="memo" type="html" class="oe_memo" default_focus="1" options="{'resizable': false, 'collaborative': true}"/>
</sheet>
<div class="oe_chatter">
<field name="message_follower_ids"/>
@@ -170,7 +170,7 @@
</group>
<notebook>
<page name="description_page" string="Description">
<field name="description" type="html"/>
<field name="description" type="html" options="{'collaborative': true}"/>
</page>
<page name="sub_tasks_page" string="Sub-tasks" attrs="{'invisible': [('allow_subtasks', '=', False)]}">
<field name="child_ids" context="{'default_project_id': project_id if not parent_id or not display_project_id else display_project_id, 'default_user_ids': [(6, 0, [uid])], 'default_parent_id': id, 'default_partner_id': partner_id}">
+1 -1
View File
@@ -860,7 +860,7 @@
</group>
<notebook>
<page name="description_page" string="Description">
<field name="description" type="html"/>
<field name="description" type="html" options="{'collaborative': true}"/>
</page>
<page name="sub_tasks_page" string="Sub-tasks" attrs="{'invisible': [('allow_subtasks', '=', False)]}">
<field name="child_ids" context="{'default_project_id': project_id if not parent_id or not display_project_id else display_project_id, 'default_user_ids': user_ids, 'default_parent_id': id, 'default_partner_id': partner_id}">