Commit Graph
90 Commits
Author SHA1 Message Date
Thibault Delavallée 9381334f6e [MOV] sale_*: move sale customer portal to sale
Customer portal is now a feature coming directly with sale module. As
it uses a simple website renderer customization and advanced website
features are not available and depends on having website module
installed.
2017-08-08 15:36:25 +02:00
Akash Bhavsar bf9cbcc8d8 [IMP] pos_sale: Add analysis report about total sales from pos, eCommerce and sale
Purpose
=======

Create one report where we can see all sales (sales from sales, eCommerce, POS) grouped by channels

Specification
=============

New Report Sales > Reports , the name should be "All Channels Sales Orders"
This report contains the following fields :

   name
   date
   product_id
   partner_id
   company_id
   user_id
   price_total
   pricelist_id
   categ_id = product_categ_id
   invoiced = amount to invoice
   analytic_account_id
   team_name
   country_id

We thought about doing a kind of sale_order_common report, but we cannot re-use sale.report because of some field (qty_delivered, ...) that we cannot compute on pos orders.
2017-07-11 15:31:04 +02:00
Raphael Collet b392426295 [IMP] sale: tighten ir.attachment access rights
The salesmen and sales managers should belong to `group_user`.
2017-01-03 16:52:49 +01:00
Christophe Simonis 57a20c49cd [FIX] sale: remove duplicated access rule 2016-08-09 16:19:00 +02:00
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 b797bbc406 Revert "[FIX] account: move some ir.model.access to sale module"
This reverts commit 6d33eb037c.
2016-06-06 17:26:21 +02:00
Yannick Tivisse 6d33eb037c [FIX] account: move some ir.model.access to sale module
The groups group_sale_salesman and group_sale_manager have been moved
from the base module to the sales_team module.
2016-06-06 16:47:18 +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
Julien Louette a6b240b6bc [ADD] sale: merged sale_layout into sale 2016-03-25 11:34:25 +01:00
Thibault Delavallée 582b16e4d4 [FIX] sale: salesman and analytic tags
Salesman can create analytic account. However they cannot choose any tags to apply
to this account because they miss a read access on tags.
2015-11-06 17:28:17 +01:00
qdp-odoo e4dc50bf58 [IMP] pricelists improvements. Was PR #8228 2015-08-31 16:57:32 +02:00
qdp-odoo 6cb6f43c2b [REF] base: simplified res.partner.bank and res.bank objects for a greater usability + [IMP] account: bank journals are now the bank accounts of a company 2015-08-19 15:44:59 +02:00
Fabien Pinckaers 3f108c4fdf [IMP] removing complex and unuseful concepts 2015-07-02 21:27:42 -07:00
qdp-odoo c04065abd8 [IMP] accounting v9. Yeeeeaah 2015-05-05 17:28:04 +02:00
Christophe Simonis fab4d6d442 [MERGE] forward port of branch 8.0 up to ea54d4a 2015-01-06 11:49:04 +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
cod-odoo 999300ce5d [IMP] sale,purchase: allow invoicing
(closes #500)

(cherry picked from commit 84c0595aef3a417702c81b5226ae1f61817a2bf8)
2014-09-25 11:18:44 +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
Cedric Snauwaert 9cb7aab2d0 [FIX]access right for prices.history (should be the same as the one for product)
bzr revid: csn@openerp.com-20140117135034-8m7798nqu1spz370
2014-01-17 14:50:34 +01:00
sgo@tinyerp.com cf6595baf2 [IMP]remove total sale.shop from sales
bzr revid: sgo@tinyerp.com-20130121100542-36qmkrd82md97phv
2013-01-21 15:35:42 +05:30
Fabien Pinckaers fa7b5f85ec [MERGE] misc fixes
bzr revid: fp@tinyerp.com-20120928075641-sx7cfje2g188buog
2012-09-28 09:56:41 +02:00
Randhir Mayatra (OpenERP) 8e7b998db8 [IMP] edit the security code for the purchase
bzr revid: rma@tinyerp.com-20120925124856-frowt7rg6trnp242
2012-09-25 18:18:56 +05:30
Randhir Mayatra (OpenERP) 31a2aafdda [IMP] add the access right in sale security
bzr revid: rma@tinyerp.com-20120925070545-d5pcyzq8dv6rdz70
2012-09-25 12:35:45 +05:30
Quentin (OpenERP) fbe2df1a60 [REF] sale_stock, sale: reorganized ir.model.access.csv files
bzr revid: qdp-launchpad@openerp.com-20120919090041-0m4op7e5uhbn6yw5
2012-09-19 11:00:41 +02:00
Atul Patel (OpenERP) eb28892a3a [IMP]: MOVE PROCUREMENT CHANGES INTO PROCUREMENT..
bzr revid: atp@tinyerp.com-20120909101156-9pna66qbx28px2ii
2012-09-09 15:41:56 +05:30
Atul Patel (OpenERP) 06c0ead10d [ADD]: Add dependency
ii) move wizard , yaml file
iii) move stock method into sale_stock.
iv) add security into sale_stock module.

bzr revid: atp@tinyerp.com-20120726205659-xiyx39r3dibshyjs
2012-07-27 02:26:59 +05:30
Fabien Pinckaers 2ed6acfea1 [MERGE] fix in access rights
bzr revid: fp@tinyerp.com-20120706150817-s01gbb4gga6dxybm
2012-07-06 17:08:17 +02:00
Dharti Ratani (OpenERP) a1b98b37a9 [IMP]merge with latest trunk
bzr revid: dhr@tinyerp.com-20120702050506-5vfw6o0ahrbbof5g
2012-07-02 10:35:06 +05:30
Sanjay Gohel (Open ERP) b999a061d8 [IMP]improve code where needed and replace res.partner instead of res.partner.address
bzr revid: sgo@tinyerp.com-20120628063729-1ccb8c45pxa31025
2012-06-28 12:07:29 +05:30
Dharti Ratani (OpenERP) 01f97ee265 [IMP]
bzr revid: dhr@tinyerp.com-20120627112852-vld5ahxum58fwwb1
2012-06-27 16:58:52 +05:30
Dharti Ratani (OpenERP) 3cca343d1a [IMP]reverting button rights and fixing account move line access for invoice form
bzr revid: dhr@tinyerp.com-20120627112451-f0f33low6atzftpt
2012-06-27 16:54:51 +05:30
Dharti Ratani (OpenERP) b886574065 [IMP]allocating read access of events to partner manager
bzr revid: dhr@tinyerp.com-20120618095630-svru4lbqlbtpgdr3
2012-06-18 15:26:30 +05:30
Dharti Ratani (OpenERP) 06e0f2ff53 [IMP]fixing event rights for sale user and manager to view customer form when event is installed
bzr revid: dhr@tinyerp.com-20120615060410-coxn0w8ddt7jhj6x
2012-06-15 11:34:10 +05:30
Dharti Ratani (OpenERP) 7dbbcc58bd [IMP]Sales-No access to Product form view for sale user
bzr revid: dhr@tinyerp.com-20120611131143-rsp590xxiqk1ug52
2012-06-11 18:41:43 +05:30
Dharti Ratani (OpenERP) 921fe3ce3d [IMP]Sales - Open product form by sale user and manager
bzr revid: dhr@tinyerp.com-20120611130730-n8eaqa596o2bn67k
2012-06-11 18:37:30 +05:30
Dharti Ratani (OpenERP) 4d3944243f [IMP]Sale order -preventing from creating invoice without invoicing payment terms
bzr revid: dhr@tinyerp.com-20120611124518-oz0nei3qccmpmnwm
2012-06-11 18:15:18 +05:30
Jagdish Panchal (Open ERP) 81a9188d89 [FIX] sale: Give accees right to model_account_invoice_report
lp bug: https://launchpad.net/bugs/904805 fixed

bzr revid: jap@tinyerp.com-20111220061201-qyje32kc34cjr4jb
2011-12-20 11:42:01 +05:30
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
Fabien Pinckaers 825e3330b5 merge
bzr revid: fp@tinyerp.com-20110918124649-he806thackknbefg
2011-09-18 14:46:49 +02:00
RavishchanraMurari (Open ERP) 13862eb7a1 acess_right_of_partner_manager
bzr revid: rmu@tinyerp.com-20110711050722-mdw6i1qsyhn6vw45
2011-07-11 10:37:22 +05:30
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 3609763f45 security groups (accountant)
bzr revid: fde@openerp.com-20101222112440-3owwcnp933o9um1t
2010-12-22 12:24:40 +01:00
François Degrave 9ca1866d50 [IMP] access rights for manufacturing manager, project user and manager groups
bzr revid: fde@openerp.com-20101221153314-kd8nrmuhe5kcp6uf
2010-12-21 16:33:14 +01:00
François Degrave 1d311657b7 [IMP] access rights for manufacturing user group
bzr revid: fde@openerp.com-20101221121337-hydrszi2yy18kuc4
2010-12-21 13:13:37 +01:00
François Degrave 773cdea683 "[IMP] security groups on act_window in product and partner objects"
bzr revid: fde@openerp.com-20101220145607-vx2r937j9sj7e1zw
2010-12-20 15:56:07 +01:00
qdp-launchpad@tinyerp.com 78376fc6a3 [MERGE] merged the dev3 branch
bzr revid: qdp-launchpad@tinyerp.com-20101220111253-4vrzuc73l0fogj6b
2010-12-20 12:12:53 +01:00
Mustufa Rangwala b0f61a9546 [MERGE] merge from trunk addons
bzr revid: mra@mra-laptop-20101214130232-wqsim6966u1hilu9
bzr revid: mra@mra-laptop-20101217043732-ri8dfx38pacpruye
2010-12-17 10:07:32 +05:30
qdp-launchpad@tinyerp.com ab8c38b279 [IMP] access rights improvements + small usability fixes
bzr revid: qdp-launchpad@tinyerp.com-20101214160729-lc1q0oy76dygh5s2
2010-12-14 17:07:29 +01:00