Skip to content
Snippets Groups Projects
Commit c1c1aa71 authored by Audric Onockx (auon)'s avatar Audric Onockx (auon)
Browse files

[FIX] project : apply project notification preferences to task


Steps :
Go to a Project's settings.
In your 'Following' preferences, uncheck 'Task Rating'.
Create a new Task in this Project and see your preferences.

Issue :
Task Rating is checked.

Cause :
The default value of project's task rating notification is True.
The value of its task's is supposed to be inheritted from there.
Yet, this inherittance only happen when default is False.

Fix :
Set default to False.

opw-282497

closes odoo/odoo#90719

X-original-commit: e4f861ce
Signed-off-by: default avatarLaurent Stukkens (ltu) <ltu@odoo.com>
parent 96092ce6
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@
<record id="mt_task_rating" model="mail.message.subtype">
<field name="name">Task Rating</field>
<field name="res_model">project.task</field>
<field name="default" eval="True"/>
<field name="default" eval="False"/>
<field name="description">Ratings</field>
</record>
<!-- Project-related subtypes for messaging / Chatter -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment