Skip to content

Commit

Permalink
Merge pull request #4331 from lefilament/16.0-ou-fix-mail
Browse files Browse the repository at this point in the history
[16.0][OU-FIX] mail: missing ir_rule to be updated
  • Loading branch information
pedrobaeza authored Mar 6, 2024
2 parents 1c9cd75 + 4111d4f commit 6356918
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions openupgrade_scripts/scripts/mail/16.0.1.10/noupdate_changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,19 @@
('group_public_id', 'in', [g.id for g in user.groups_id])]
</field>
</record>
<record id="ir_rule_mail_channel_member_group_user" model="ir.rule">
<field name="domain_force">[
'|',
'&amp;',
('channel_id.channel_type', '!=', 'channel'),
('channel_id.is_member', '=', True),
'&amp;',
('channel_id.channel_type', '=', 'channel'),
'|',
('channel_id.group_public_id', '=', False),
('channel_id.group_public_id', 'in', [g.id for g in user.groups_id])]
</field>
</record>
<record id="mt_comment" model="mail.message.subtype">
<field name="track_recipients" eval="True"/>
</record>
Expand Down

0 comments on commit 6356918

Please sign in to comment.