summaryrefslogtreecommitdiff
path: root/addons/payment/security
diff options
context:
space:
mode:
authorYannick Tivisse <yti@odoo.com>2016-06-06 09:52:17 +0200
committerYannick Tivisse <yti@odoo.com>2016-06-06 15:46:52 +0200
commitfa6e415cdb23ce9494487ed672792186157b40e0 (patch)
tree9dd3e3897acf2612d6fea21b50322de0ae56ba18 /addons/payment/security
parent9699dac8182df087ecdfb893ebc85f30031b471d (diff)
[IMP] base,sales_team: Move res_groups and menuitems to sales_team
Purpose: Having the res_group defined in base and sales_team auto installed with mail doens't make sense. - Move the empty res_config class and the related view from base_setup to sales_team (base_setup only contains the 'General Settings' model and views - Move the 'sale' related content from product to sale module (Access rights, menuitems,...) - Set sales_team at autoinstall False. The module is installed when needed by crm or sale for example - Set sales_team as a dependency of voip. (Access rights defined for configuration purpose) - Set sales_team ad a dependency of subscription (Access rights issue too) Rename xmlids accordingly. Example: 'base.group_sale_manager' becomes sales_team.group_sale_manager.
Diffstat (limited to 'addons/payment/security')
-rw-r--r--addons/payment/security/payment_security.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/payment/security/payment_security.xml b/addons/payment/security/payment_security.xml
index f2dedd5e6ee..c012f093b8f 100644
--- a/addons/payment/security/payment_security.xml
+++ b/addons/payment/security/payment_security.xml
@@ -17,7 +17,7 @@
<field name="name">Access every payment transaction</field>
<field name="model_id" ref="payment.model_payment_transaction"/>
<field name="domain_force">[(1, '=', 1)]</field>
- <field name="groups" eval="[(4, ref('base.group_sale_salesman'))]"/>
+ <field name="groups" eval="[(4, ref('sales_team.group_sale_salesman'))]"/>
</record>
<record id="payment_method_user_rule" model="ir.rule">
@@ -30,7 +30,7 @@
<record id="payment_method_salesman_rule" model="ir.rule">
<field name="name">Access every payment method</field>
<field name="model_id" ref="payment.model_payment_method"/>
- <field name="groups" eval="[(4, ref('base.group_sale_salesman'))]"/>
+ <field name="groups" eval="[(4, ref('sales_team.group_sale_salesman'))]"/>
</record>
</data>