diff options
| author | Yannick Tivisse <yti@odoo.com> | 2016-06-06 09:52:17 +0200 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2016-06-09 16:05:25 +0200 |
| commit | 9e57185449a0bd958ad38eddc280d146e2d60e1e (patch) | |
| tree | 8b278a0425b2d9cff3d997c635bc3429f01b1d58 /doc/howtos/backend.rst | |
| parent | 5cfadf5e419b38164f285b6227ed5d16517774a0 (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)
[FIX] account: move some ir.model.access to sale module
[FIX] payment: Move some ir.rule to website_sale
[FIX] stock: move some ir.model.access rule to sale_stock
[FIX] project: Move some ir.model.access rules to crm_project_issue
[FIX] mrp: Move some ir.model.access rules to sale_mrp
[FIX] calendar: move some ir.model.access rules to crm
Rename xmlids accordingly. Example: 'base.group_sale_manager' becomes
sales_team.group_sale_manager.
[ADD] sales_team: See own documents => See only his sales team
Moved the "User: Own Leads Only", "User: All Leads" and "Manager" groups from sale and crm
into sales_team module. Add the record rules so that user can see only his Own Sales Team
if "See Own Leads" is sales right and can see all sales teams if he is having sales rights
of "See All Leads" or manager.
Diffstat (limited to 'doc/howtos/backend.rst')
| -rw-r--r-- | doc/howtos/backend.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/howtos/backend.rst b/doc/howtos/backend.rst index afde93b349d..4904c64618d 100644 --- a/doc/howtos/backend.rst +++ b/doc/howtos/backend.rst @@ -1397,7 +1397,7 @@ the same convention as the method :meth:`~openerp.models.Model.write` of the ORM <record id="delete_cancelled_only" model="ir.rule"> <field name="name">Only cancelled leads may be deleted</field> <field name="model_id" ref="crm.model_crm_lead"/> - <field name="groups" eval="[(4, ref('base.group_sale_manager'))]"/> + <field name="groups" eval="[(4, ref('sales_team.group_sale_manager'))]"/> <field name="perm_read" eval="0"/> <field name="perm_write" eval="0"/> <field name="perm_create" eval="0"/> |
