Files
odoo_source/addons/website_sale/security/ir.model.access.csv
T
Yannick Tivisse 9e57185449 [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.
2016-06-09 16:05:25 +02:00

1.9 KiB

1idnamemodel_id:idgroup_id:idperm_readperm_writeperm_createperm_unlink
2access_product_product_publicproduct.product.publicproduct.model_product_product1000
3access_product_template_publicproduct.template.publicproduct.model_product_template1000
4access_product_category_publicproduct.category.publicproduct.model_product_category1000
5access_product_category_pos_managerproduct.public.category managermodel_product_public_categorysales_team.group_sale_manager1111
6access_product_public_category_publicproduct.category.publicmodel_product_public_category1000
7access_product_pricelist_publicproduct.pricelist.publicproduct.model_product_pricelist1000
8access_product_pricelist_item_publicproduct.pricelist.item.publicproduct.model_product_pricelist_item1000
9access_product_styleproduct.style.publicwebsite_sale.model_product_style1000
10access_product_supplierinfoproduct.supplierinfo.publicproduct.model_product_supplierinfo1000
11access_product_attribute_publicproduct.attribute publicproduct.model_product_attribute1000
12access_product_attribute_value_publicproduct.attribute value publicproduct.model_product_attribute_value1000
13access_product_attribute_price_publicproduct.attribute price publicproduct.model_product_attribute_price1000
14access_product_attribute_line_publicproduct.attribute line publicproduct.model_product_attribute_line1000
15access_website_pricelistwebsite_pricelistmodel_website_pricelist1000
16access_website_pricelist_sale_managerwebsite_pricelistmodel_website_pricelistsales_team.group_sale_manager1111
17access_fiscal_position_publicfiscal position publicaccount.model_account_fiscal_positionbase.group_portal1000
18access_payment_termpayment term publicaccount.model_account_payment_termbase.group_portal1000
19access_product_supplierinfo_userproduct.supplierinfo.userproduct.model_product_supplierinfobase.group_public1000