summaryrefslogtreecommitdiff
path: root/sh_helpdesk/security/send_mail_security.xml
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 17:14:58 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 17:14:58 +0700
commit1ca3b3df3421961caec3b747a364071c80f5c7da (patch)
tree6778a1f0f3f9b4c6e26d6d87ccde16e24da6c9d6 /sh_helpdesk/security/send_mail_security.xml
parentb57188be371d36d96caac4b8d65a40745c0e972c (diff)
initial commit
Diffstat (limited to 'sh_helpdesk/security/send_mail_security.xml')
-rw-r--r--sh_helpdesk/security/send_mail_security.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/sh_helpdesk/security/send_mail_security.xml b/sh_helpdesk/security/send_mail_security.xml
new file mode 100644
index 0000000..dcee2d3
--- /dev/null
+++ b/sh_helpdesk/security/send_mail_security.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<odoo>
+ <record id="group_send_quick_reply" model="res.groups">
+ <field name="name">Send Quick Reply</field>
+ </record>
+ <record model="ir.rule" id="sh_send_quick_reply_user_rule">
+ <field name="name">Send Quick Reply</field>
+ <field name="model_id" ref="model_sh_quick_reply" />
+ <field name="global" eval="True" />
+ <field name="domain_force">['|','|',('sh_user_id','in',[user.id]),('sh_user_id','=',False),('commom_for_all','=',True)]</field>
+ <field name="groups" eval="[(4, ref('sh_helpdesk.group_send_quick_reply'))]" />
+ </record>
+</odoo> \ No newline at end of file