odoo/odoo#64626 attempt at improving sms.template rules seems quite broken * do not restrict system group to calendar.event: this makes no sense. With this fix admins can now only use templates being linked to calendar event if calendar_sms is installed which is not really smart. Not sure what was the exact original purpose; * ir.rule in hr_presence has no use on hr.manager group if they do not have any access through access rules. Indeed they are currently restricted to read access as all standard internal users; Task ID-2191254 COM PR odoo/odoo#68445 ENT PR odoo/enterprise#17340 closes odoo/odoo#68495 X-original-commit: 9353dedaf9111e5ee3ab5ed98e3571d5ac83cae8 Related: odoo/enterprise#17359 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
12 lines
529 B
XML
12 lines
529 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<record id="ir_rule_sms_template_system" model="ir.rule">
|
|
<field name="name">SMS Template: unnecessary rule for system group</field>
|
|
<field name="model_id" ref="sms.model_sms_template"/>
|
|
<field name="groups" eval="[(4, ref('base.group_system'))]"/>
|
|
<!-- TDE NOTE: remove me in master, broken fix from odoo/odoo#64626 -->
|
|
<field name="domain_force">[(1, '=', 1)]</field>
|
|
<field name="perm_read" eval="False"/>
|
|
</record>
|
|
</odoo>
|