mirror of
https://github.com/bringout/oca-ocb-mail.git
synced 2026-04-22 11:22:03 +02:00
19.0 vanilla
This commit is contained in:
parent
5df8c07b59
commit
daa394e8b0
2114 changed files with 564841 additions and 299642 deletions
|
|
@ -1,40 +1,56 @@
|
|||
<?xml version="1.0"?>
|
||||
<odoo>
|
||||
|
||||
<record id="module_category_im_livechat" model="ir.module.category">
|
||||
<record model="res.groups.privilege" id="res_groups_privilege_live_chat">
|
||||
<field name="name">Live Chat</field>
|
||||
<field name="sequence" eval="20" />
|
||||
<field name="sequence">20</field>
|
||||
<field name="category_id" ref="base.module_category_website"/>
|
||||
</record>
|
||||
|
||||
<record id="im_livechat_group_user" model="res.groups">
|
||||
<field name="name">User</field>
|
||||
<field name="category_id" ref="base.module_category_website_live_chat"/>
|
||||
<field name="sequence">10</field>
|
||||
<field name="privilege_id" ref="res_groups_privilege_live_chat"/>
|
||||
<field name="comment">The user will be able to join support channels.</field>
|
||||
<field name="implied_ids" eval="[(4, ref('base.group_user'))]"/>
|
||||
</record>
|
||||
|
||||
<record id="im_livechat_group_manager" model="res.groups">
|
||||
<field name="name">Administrator</field>
|
||||
<field name="sequence">20</field>
|
||||
<field name="comment">The user will be able to delete support channels.</field>
|
||||
<field name="category_id" ref="base.module_category_website_live_chat"/>
|
||||
<field name="implied_ids" eval="[(4, ref('im_livechat.im_livechat_group_user'))]"/>
|
||||
<field name="users" eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"/>
|
||||
<field name="privilege_id" ref="res_groups_privilege_live_chat"/>
|
||||
<field name="implied_ids" eval="[(4, ref('im_livechat.im_livechat_group_user')), (4, ref('mail.group_mail_canned_response_admin'))]"/>
|
||||
<field name="user_ids" eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"/>
|
||||
</record>
|
||||
|
||||
<data noupdate="1">
|
||||
<record id="im_livechat_rule_manager_read_all_mail_channel" model="ir.rule">
|
||||
<field name="name">Livechat: Administrator: read all livechat channel</field>
|
||||
<field name="model_id" ref="model_mail_channel"/>
|
||||
<field name="groups" eval="[(4, ref('im_livechat_group_manager'))]"/>
|
||||
<record id="ir_rule_discuss_channel_im_livechat_group_user" model="ir.rule">
|
||||
<field name="name">discuss.channel: livechat users can read all livechat channels</field>
|
||||
<field name="model_id" ref="mail.model_discuss_channel"/>
|
||||
<field name="groups" eval="[(4, ref('im_livechat_group_user'))]"/>
|
||||
<field name="domain_force">[('channel_type', '=', 'livechat')]</field>
|
||||
<field name="perm_read" eval="True"/>
|
||||
<field name="perm_create" eval="False"/>
|
||||
<field name="perm_write" eval="False"/>
|
||||
<field name="perm_unlink" eval="False"/>
|
||||
</record>
|
||||
|
||||
<record id="ir_rule_discuss_channel_member_im_livechat_group_user" model="ir.rule">
|
||||
<field name="name">discuss.channel.member: livechat users can read all livechat channel members and can invite anyone</field>
|
||||
<field name="model_id" ref="mail.model_discuss_channel_member"/>
|
||||
<field name="groups" eval="[(4, ref('im_livechat_group_user'))]"/>
|
||||
<field name="domain_force">[('channel_id.channel_type', '=', 'livechat')]</field>
|
||||
<field name="perm_write" eval="False"/>
|
||||
<field name="perm_unlink" eval="False"/>
|
||||
</record>
|
||||
|
||||
<record id="base.default_user" model="res.users">
|
||||
<field name="groups_id" eval="[(4,ref('im_livechat.im_livechat_group_manager'))]"/>
|
||||
<record id="ir_rule_discuss_call_history_im_livechat_group_user" model="ir.rule">
|
||||
<field name="name">discuss.call.history: livechat users can access all call histories</field>
|
||||
<field name="model_id" ref="mail.model_discuss_call_history"/>
|
||||
<field name="groups" eval="[(4, ref('im_livechat_group_user'))]"/>
|
||||
<field name="domain_force">[('channel_id.channel_type', '=', 'livechat')]</field>
|
||||
<field name="perm_create" eval="False"/>
|
||||
<field name="perm_write" eval="False"/>
|
||||
<field name="perm_unlink" eval="False"/>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
|
|
|
|||
|
|
@ -1,17 +1,16 @@
|
|||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||
access_livechat_channel,im_livechat.channel,model_im_livechat_channel,,1,0,0,0
|
||||
access_livechat_channel_user,im_livechat.channel.user,model_im_livechat_channel,im_livechat_group_user,1,1,1,0
|
||||
access_livechat_channel_user,im_livechat.channel.user,model_im_livechat_channel,im_livechat_group_user,1,0,0,0
|
||||
access_livechat_channel_manager,im_livechat.channel.manager,model_im_livechat_channel,im_livechat_group_manager,1,1,1,1
|
||||
access_livechat_support_report_channel,im_livechat.report.channel,model_im_livechat_report_channel,im_livechat_group_manager,1,1,1,1
|
||||
access_livechat_support_report_operator,im_livechat.report.operator,model_im_livechat_report_operator,im_livechat_group_manager,1,1,1,1
|
||||
access_livechat_channel_rule,im_livechat.channel.rule,model_im_livechat_channel_rule,,1,0,0,0
|
||||
access_livechat_support_report_channel,im_livechat.report.channel,model_im_livechat_report_channel,im_livechat_group_manager,1,0,0,0
|
||||
access_livechat_channel_rule_user,im_livechat.channel.rule,model_im_livechat_channel_rule,im_livechat_group_user,1,1,1,0
|
||||
access_livechat_channel_rule_manager,im_livechat.channel.rule,model_im_livechat_channel_rule,im_livechat_group_manager,1,1,1,1
|
||||
access_chatbot_script,chatbot.script,model_chatbot_script,,1,0,0,0
|
||||
access_chatbot_script_user,chatbot.script.user,model_chatbot_script,im_livechat_group_user,1,1,1,1
|
||||
access_chatbot_script_step,chatbot.script.step,model_chatbot_script_step,,0,0,0,0
|
||||
access_chatbot_script_step_user,chatbot.script.step.user,model_chatbot_script_step,im_livechat_group_user,1,1,1,1
|
||||
access_livechat_expertise_internal_user,im_livechat.expertise.internal.user,model_im_livechat_expertise,base.group_user,1,0,0,0
|
||||
access_livechat_expertise_livechat_manager,im_livechat.expertise.manager,model_im_livechat_expertise,im_livechat_group_manager,1,1,1,1
|
||||
access_livechat_conversation_tag_livechat_user,im_livechat.conversation.tag.livechat.user,model_im_livechat_conversation_tag,im_livechat_group_user,1,1,1,0
|
||||
access_livechat_conversation_tag_livechat_manager,im_livechat.conversation.tag.livechat.manager,model_im_livechat_conversation_tag,im_livechat_group_manager,1,1,1,1
|
||||
access_chatbot_script_user,chatbot.script.user,model_chatbot_script,im_livechat_group_manager,1,1,1,1
|
||||
access_chatbot_script_step_user,chatbot.script.step.user,model_chatbot_script_step,im_livechat_group_manager,1,1,1,1
|
||||
access_chatbot_script_answer,chatbot.script.answer,model_chatbot_script_answer,,0,0,0,0
|
||||
access_chatbot_script_answer_user,chatbot.script.answer.user,model_chatbot_script_answer,im_livechat_group_user,1,1,1,1
|
||||
access_chatbot_message_all,chatbot.message,model_chatbot_message,,0,0,0,0
|
||||
access_chatbot_message_user,chatbot.script.user,model_chatbot_message,im_livechat_group_user,1,1,1,1
|
||||
access_chatbot_script_answer_user,chatbot.script.answer.user,model_chatbot_script_answer,im_livechat_group_manager,1,1,1,1
|
||||
access_chatbot_message_user,chatbot.script.user,model_chatbot_message,im_livechat_group_manager,1,1,1,1
|
||||
access_im_livechat_channel_member_history_user,im_livechat.channel.member.history,model_im_livechat_channel_member_history,im_livechat_group_user,1,0,0,0
|
||||
|
|
|
|||
|
Loading…
Add table
Add a link
Reference in a new issue