Commit Graph
37 Commits
Author SHA1 Message Date
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
Yannick Tivisse ccdb5cbfc0 Revert "[IMP] base,sales_team: Move res_groups and menuitems to sales_team"
This branch need more testing instead of doing 10 fixes. A lot of issues are occuring
when installing modules in different orders.

This reverts commit fa6e415cdb.
2016-06-06 17:26:30 +02:00
Yannick Tivisse fa6e415cdb [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.
2016-06-06 15:46:52 +02:00
qdp-odoo e4dc50bf58 [IMP] pricelists improvements. Was PR #8228 2015-08-31 16:57:32 +02:00
Fabien Pinckaers 3f108c4fdf [IMP] removing complex and unuseful concepts 2015-07-02 21:27:42 -07:00
Denis Ledoux 769c62ef27 [MERGE] forward port of branch saas-3 up to f92b2f8 2015-02-06 14:19:30 +01:00
Denis Ledoux f92b2f8d4d [MERGE] forward port of branch 7.0 up to 0b7db55 2015-02-06 14:02:43 +01:00
David Monjoie d7f30de9ae [FIX] product: moved pricelist_item ACL from stock to product
Otherwise if we install sale without stock, we can create pricelist and pricelist versions, but not pricelist items.
Fix for issue 626985
2015-02-04 16:17:36 +01:00
Olivier Dony dcc74a00f8 [FIX] product, sale: access rights for product.price.history
Granting read-only access to Sales/Accounting Users is useless
as all employees already have it - removed. On the other hand
Sales Managers need write access to it in order to create
products, and they need it even when `sale` is not installed,
e.g. with `account` only.
Moved this access right to `product` module. The Sales
Manager group is defined in `base`, so that works.
2014-12-16 16:16:38 +01:00
Xavier Morel 6014d44b2b [IMP] add read access to all users for product.pricelist.type
In new API, selection field value is checked (against the selection's possible
values) at both read and write. For pricelist.type this requires read access
to product.pricelist.type.
2014-07-11 13:32:46 +02:00
Christophe Matthieu 43977deb71 [IMP] product: refactoring of product variant. The main view became the view of product template and the product product (or product variant) are created with the variant values combinaison. Bom is splitted into bom and bom line and can use the variant combinaison. 2014-05-27 09:42:52 +02:00
Quentin (OpenERP) 7ed26f1e07 [REF] product refactoring: prices.history model renamed into product.price.history + passed 'date' as real parameter instead of contextual one in get_history_price() because it makes more sense.
bzr revid: qdp-launchpad@openerp.com-20140428153355-vbuam1hfnah7m4wp
2014-04-28 17:33:55 +02:00
Quentin (OpenERP) 753f7541db [MERGE] main trunk
bzr revid: qdp-launchpad@openerp.com-20140203173000-mk092iw2wz3y0e3e
2014-02-03 18:30:00 +01:00
Quentin (OpenERP) 1af2ac6f9c [FIX] fixed warnings in runbot
bzr revid: qdp-launchpad@openerp.com-20131211154840-u2nk7ztggcgewm7y
2013-12-11 16:48:40 +01:00
Christophe Matthieu 2fab26a2d2 [IMP] point_of_sale, product: change model 'pos.category' of the pos into product.public.category in product. product.public.category is used for eg by pos and website_sale. Add some demo data for this category. Add a domain in pos 'model.js' to select non empty categories
bzr revid: chm@openerp.com-20130828151658-3isgyl93c3hwp1pc
2013-08-28 17:16:58 +02:00
Christophe Matthieu d37aebb7f0 [IMP] website: security and public access
bzr revid: chm@openerp.com-20130802035504-lokijwh57e0q3w6a
2013-08-02 05:55:04 +02:00
Arnaud Pineux 6b74785450 [FIX] product category access
lp bug: https://launchpad.net/bugs/1086903 fixed

bzr revid: api@openerp.com-20121212125912-bnzhcaa1mwq153vt
2012-12-12 13:59:12 +01:00
Fabien Pinckaers f27318c8af [IMP] Security Rule: removed duplicates due to inheritancies of groups
bzr revid: fp@tinyerp.com-20111212181113-mhnnbps3ip8ls6pp
2011-12-12 19:11:13 +01:00
ron@tinyerp.com bfac700ca3 [FIX]product:Fixed=>without demo data install product module checked with sale manager group It has all access right of product menu
lp bug: https://launchpad.net/bugs/795426 fixed

bzr revid: ron@tinyerp.com-20110614125153-22woc2kmu52os0fp
2011-06-14 18:21:53 +05:30
François Degrave 8850bcb84b [FIX] dependencies in security groups
bzr revid: fde@openerp.com-20101228083043-6sfsuh4uvqvhu3ap
2010-12-28 09:30:43 +01:00
François Degrave fbcd076ed9 [IMP] rename internal user -> employee, remove product manager, instead: sale manager, warehouse manager, purchase manager,manufacturing manager have the rights, remove Usability No One, Move low level to Administration -> Customization -> Low level
bzr revid: fde@openerp.com-20101227125854-cdnvig1wlbo0p6ko
2010-12-27 13:58:54 +01:00
Fabien Pinckaers fe9500c14e [IMP] access rights cleaning
bzr revid: fp@tinyerp.com-20101016164709-8w551aaosqx0dufu
2010-10-16 18:47:09 +02:00
AMP (OpenERP) 34a07084b2 [MOD]hr_*: usability in groups and access rights
bzr revid: amp@tinyerp.com-20100914133820-7eycocbxcwlrfpvw
2010-09-14 19:08:20 +05:30
AMP (OpenERP) 7e5f560ea1 [MOD] product_*: usability improvement in access rights
bzr revid: amp@tinyerp.com-20100809104409-dong1mdsmm3bzjle
2010-08-09 16:14:09 +05:30
Vir (Open ERP) 2980c2df36 [MOD] Modification in product access rights
bzr revid: vir@tinyerp.com-20100805074225-bolsqxfwjqcq36p5
2010-08-05 13:12:25 +05:30
DBR (OpenERP) 3e9a0b3ca5 [MOD/IMP]hr_* modules access right changes
bzr revid: dbr@tinyerp.com-20100804112853-issapx9dk7ztcscm
2010-08-04 16:58:53 +05:30
DBR (OpenERP) 9261375e2e [MOD/IMP]hr_* modules access right changes
bzr revid: dbr@tinyerp.com-20100804085628-58nplf4yw8zp80dj
2010-08-04 14:26:28 +05:30
DBR (OpenERP) 38356dd831 access right of partner and product manager
bzr revid: dbr@tinyerp.com-20100802135102-63iij3ze2daqnq58
2010-08-02 19:21:02 +05:30
Fabien Pinckaers ca09185d52 [IMP] Improvements of access rights in trunk
bzr revid: fp@tinyerp.com-20100611100429-hgj7rx6feytizgag
2010-06-11 12:04:29 +02:00
Mantavya Gajjar 2f63d92cdd [FIX]: remove last 2 lines from security files
bzr revid: mga@tinyerp.com-20091130105000-s6o0318r0zbiayex
2009-11-30 16:20:00 +05:30
VRA(OpenERP) 3bf1915b96 [IMP] Product : Added access rights for 2 new objects added for multi company
bzr revid: jvo@tinyerp.com-20091130063009-oey3kpu7rza4q51z
2009-11-30 12:00:09 +05:30
Fabien Pinckaers 7182d99f98 bugfix
bzr revid: fp@tinyerp.com-20081204203334-giuv4fv6vvs3px7f
2008-12-04 21:33:34 +01:00
Fabien Pinckaers b8a81ff835 improve
bzr revid: fp@tinyerp.com-20081204202732-qleb81jglci775iu
2008-12-04 21:27:32 +01:00
Christophe Simonis d3ce446ec0 fix and complete access rules
bzr revid: christophe@tinyerp.com-20081017084109-i1r4zigf7wp3o6i5
2008-10-17 10:41:09 +02:00
Fabien Pinckaers ef85bdf43d Improved Security
bzr revid: fp@tinyerp.com-20080903232631-q51hbwr2kznkr4gy
2008-09-04 01:26:31 +02:00
Fabien Pinckaers 51f8c2b263 Better Security Rules
bzr revid: fp@tinyerp.com-20080903224650-u1oadqv9x75atmyl
2008-09-04 00:46:50 +02:00
Fabien Pinckaers b4d6690794 Improved Security
bzr revid: fp@tinyerp.com-20080903180400-df7l6wxg1zpirmmi
2008-09-03 20:04:00 +02:00