Commit Graph
103 Commits
Author SHA1 Message Date
Yannick Tivisse 4587816198 Revert "[IMP] base: Remove unused module categories"
This reverts commit 382fbd3520.
2018-09-10 14:23:43 +02:00
jem-odoo 3c1e886ced [IMP] purchase: add access rule for report
When splitting purchase and stock, the access
rules of the report was wrongly moved to
purchase_stock. This commit restores balance
in the universe.
2018-06-07 15:47:16 +02:00
jem-odoo e38ed7c780 [MOV] purchase_stock: move code from purchase
We want to break the dependency between stock and purchase
for our furtur developpement. For more modularity, a new
bridge module 'purchase_stock' is created.
This commti move part of business code, views, data, ...
related to stock management from purchase into purchase_stock
without changing any feature.

Task #47927
2018-05-23 10:13:49 +02:00
Yannick Tivisse 382fbd3520 [IMP] base: Remove unused module categories
The categories other extra rigths and hidden are not used now.
2018-04-26 15:13:38 +02:00
Fabien Pinckaersand 051dfea35e [IMP] account: new way of auto-completion of vendor bills/credit notes
This adds the possibilty to select another account.invoice object in a vendor bill or credit note, to automatically copy its lines.

When the purchase app is installed, the same field can be used for auto-completion and users can choose between vendor bills or purchase orders (preferably PO)

Co-authored-by: dat@openerp.com
2018-04-25 17:12:15 +02:00
XavierDo 2966d4faed [IMP] product: rename product.uom into uom.uom
Also rename product.uom.categ into uom.category to
 give it a decent name.
2018-02-26 14:27:26 +01:00
XavierDo 6a378e3839 [IMP] product: move uom in a new addon
Moves UoM models, test and data to a new addon in
order to be able to use uom without product.
A simple example is be to be able to use UoM for
timesheets.

This commit only move code, and adapt xml ids
without chaging any feature or functionnal
behavior.
Note: 'product' module now depends on new
'uom' module.
2018-02-26 14:27:26 +01:00
Joren Van Onder 079a13a349 [IMP] analytic: in-depth refactoring
* analytic accounts can be shared among companies
* amount on analytic lines always refer to amount in company currency of which it belongs to
* add analytic groups (hierarchical way to classify analytic accounts)
* analytic tags:
- only present on analytic lines, not anymore on analytic accounts
- can be used to distribue/split an analytic lines among several analytic accounts
- enabled by a dedicated res.group
- added on several objects (vouchers, expenses, analytic defaults...) as well as in bank statement reconciliation widget (manual counterpart and account.reconcile.model)

* bunch of fixes made related to analytic

Was PR #22124. Was task 32386. Original work by tbe.
2018-01-31 15:53:04 +01:00
Christophe Simonis fa1f2132e7 [MERGE] forward port branch 11.0 up to 950d9b2369 2018-01-22 17:47:32 +01:00
Christophe Simonis 2f95cfb8ed [MERGE] forward port branch saas-16 up to f99c4f2b48 2018-01-19 12:43:58 +01:00
Christophe Simonis 2f99470458 [MERGE] forward port branch 11.0 up to c201cf2b77 2017-12-01 12:55:02 +01:00
Christophe Simonis 42264d8dcb [MERGE] forward port branch saas-16 up to 5d7ad2b16c 2017-11-30 18:43:08 +01:00
Moises Lopez 85a3e1e385 [REF] *: deal with duplicated xml_ids in views and security rules
Was part of PR #19820. Courtesy of Vauxoo
2017-11-24 15:37:28 +01:00
eLBati d8e49d3886 [FIX] purchase: add missing multi company record rule
Apply an inter-company rule for the purchase.report

opw:779192
2017-11-15 14:54:28 +01:00
Thibault Delavallée bcada50bc5 [MOV] (website_portal_)purchase: move customer portal to purchase 2017-08-21 13:54:08 +02:00
Thibault Delavallée ab00000624 [CLN] purchase: reorder some access rights to ease reading
So much badass.
2017-08-21 13:53:55 +02:00
Thibault Delavallée aaea9f3172 [FIX] purchase: remove duplicated and wrong access right
Access on purchase order lines for managers is present twice in the
security file. Once with only read access and once with full access.
I suppose the latter one is the correct one.
2017-08-21 13:52:52 +02:00
Yannick Tivisse ff63f5d0a3 [IMP] base_setup: Allow the admin to modify the default user acess rights
Add a link in the general settings to access easily the default_user form view in order to modify the default access rights

The default_user manager rights declarations in all the applications have been move in a noupdate="1" definition to avoid the manual configuration overwrittings
2016-08-23 11:14:37 +02:00
Denis Vermylen (dve) ba3d3582bc [MIG] purchase: Migrate to new API 2016-08-05 14:04:37 +02:00
Yannick Tivisse 8ff9cbad2c [IMP] sale,purchase,stock,account: Don't display an empty 'warning' page
And add a category hidden on the res.group definition
2016-05-06 17:06:35 +02:00
Fabien Pinckaers ff110b0ed8 [IMP] purchase_requisition: blanket orders and usability cleaning
Improved usability & code cleaning:
  - Support for blanket orders, in addition of purchase tenders
    ("Purchase Agreements")
  - Create a RfQ in one click, no wizard anymore
  - Control of quantities really purchased
  - Better control of side-effects thanks to purchase requisition types
  - JS code removed (not necessary)
  - Workflow removed

Closes #11666
2016-04-29 10:43:49 +02:00
Yannick Tivisse 536dbc50db [IMP] account,sale,purchase,stock: Add groups to activate warnings 2016-04-07 10:08:20 +02:00
Yannick Tivisse 1ecba213f4 [IMP] Newly created users get all manager access right
Coming from a bug in web_settings_dashboard. Invited user didn't have any rights
when created from the dashboard, which was leading to an error.

This bug leaded to a new discussion. Better to have basic employee having user
rights for all main applications. For bigger entreprises there is an admin that
will carefully remove extra rights, if necessary. The target is small businesses,
it makes sense that every way to create a user gives the same result.

In conclusion, each new user has a full access to the applications by default

How is it implemented ?
We added an inactive default user which original access right to the groups
'base.group_user' and 'base.group_partner_manager' in base. Each
application will extend the default user's access right by adding the maximal
access right for this application.

On user creation, we will use by default the 'group_id' field from the default
user. We will in the same time remove the ugly 'default_groups_ref' key which
was passed sometimes in the context for some fields in some views, and sometimes
nothing.

So, the user can modify the access rights for the default user, but he should be
aware that removing project user access rights for a default user will prevent
a *created on the fly in a task* user will not be able to access the task.
2015-11-20 16:27:32 +01:00
Yannick Tivisse e176b4a22e [IMP] Purchase: Add a group in res_config to display 'Vendors Pricelists' menuitem 2015-09-16 10:07:55 +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
qdp-odoo c04065abd8 [IMP] accounting v9. Yeeeeaah 2015-05-05 17:28:04 +02:00
qdp-odoo b92c6b3101 [IMP] base, ir_sequence: added use_date_range field on ir.sequence, that allows to have several sequences running for the same one depending on date ranges (similar to what was existing previously on accounting with FY, which is now deprecated) + port to new API 2014-11-21 10:09:29 +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
Cedric Snauwaert 973185a728 [MERGE]merge modification of purchase and purchase tender with wmsimplement-fp branch
bzr revid: csn@openerp.com-20130729094043-14j696ojpzecg8qu
2013-07-29 11:40:43 +02:00
Cedric Snauwaert 277531f21d [FIX]fix installation of several modules: purchase, sales, purchase_req, mrp, sale_stock
bzr revid: csn@openerp.com-20130709150027-wy8avglaosiktm5m
2013-07-09 17:00:27 +02:00
Cedric Snauwaert 5593671ee4 [FIX]purchase_requisition: method to generate po from bid line and add a group as well as option in res_config for advance mode
bzr revid: csn@openerp.com-20130529154305-zhok6su2fmlet3x9
2013-05-29 17:43:05 +02:00
Olivier Dony 3fe6987ce7 [MERGE] Harmonization of noupdate flag on security XML data, courtesy of Alexis de Lattre (Akretion)
ir.rule records are in noupdate data blocks to let the admin
alter them without fear of them being reset at next update.
Other records such as groups are in normal mode, so they
can be updated whenever necessary

bzr revid: odo@openerp.com-20121218232001-t425t4hi7qbmsip2
2012-12-19 00:20:01 +01:00
Ajay Chauhan (OpenERP) 698f50daca [IMP] removed group 'group_delivery_invoice_address' from purchase
bzr revid: cha@tinyerp.com-20121122125417-yo3ma88is5euw038
2012-11-22 18:24:17 +05:30
Fabien Pinckaers 31a4392e36 [MERGE] purchase + [FIX] misc sale order without delivery orders
bzr revid: fp@openerp.com-20120916150517-16vr5lp419b0kpid
2012-09-16 17:05:17 +02:00
Bharat Devnani (OpenERP) 15b3116620 [ADD] added access rights for partner manager in sale and purchase module
bzr revid: bde@tinyerp.com-20120906110516-7wn105leyiknemah
2012-09-06 16:35:16 +05:30
Stephane Wirtel a598e04752 [MERGE] purchase: a purchase user can create a quotation and confirm it
bzr revid: stw@openerp.com-20120822133729-8her237u00inknsl
2012-08-22 15:37:29 +02:00
Bharat Devnani (OpenERP) a638b09c13 [IMP] allowed purchase user to read the products and create and confirm purchase order
bzr revid: bde@tinyerp.com-20120817071950-3h1c0x2yxun8kd68
2012-08-17 12:49:50 +05:30
Alexis de Lattre 5101771cd9 Harmonize the noupdate flag on security XML files :
- ir.rule objects are noupdate="1"
- all other objects are noupdate="0"

bzr revid: alexis@via.ecp.fr-20120713170838-pjsysliyt6twazrc
2012-07-13 19:08:38 +02:00
Dharti Ratani (OpenERP) e7c22e3221 [MERGE]merged with trunk
bzr revid: dhr@tinyerp.com-20120625045531-qz4onmo7jvw5c883
2012-06-25 10:25:31 +05:30
Dharti Ratani (OpenERP) b366ef0544 [IMP]Allocating read access of product form to group purchase manager
bzr revid: dhr@tinyerp.com-20120621051616-bk606ej84oauqbzn
2012-06-21 10:46:16 +05:30
Mayur Maheshwari (OpenERP) 5b134f13b5 [IMP]purchase: added a groups on filed and set topbar of state and improve a menutip
bzr revid: mma@tinyerp.com-20120517054451-o3g0c8b62ug4k19m
2012-05-17 11:14:51 +05:30
Raphael Collet ba1454149c [IMP] groups: remove auto-inclusion of admin in groups, and make the inclusion explicit in groups
bzr revid: rco@openerp.com-20120404090830-nteimn2kvz8nkk7h
2012-04-04 11:08:30 +02:00
Raphael Collet 017c5f8290 [MERGE] from trunk
bzr revid: rco@openerp.com-20120403082756-egpot17iztniu8tr
2012-04-03 10:27:56 +02:00
Raphael Collet 135e671fa1 [IMP] sale, purchase: make specific analytic accounting groups imply general analytic accounting group
bzr revid: rco@openerp.com-20120402094204-09h0upptc7qric7a
2012-04-02 11:42:04 +02:00
Raphael Collet 082abfaa44 [IMP] sale, purchase: remove option 'taxes' from config wizards
bzr revid: rco@openerp.com-20120330120730-dilz5owc82s3yrl0
2012-03-30 14:07:30 +02:00
Quentin (OpenERP) ffd0c86ec2 [FIX] a lot of fixes in several modules, as the result of the code review of the merge of the objects res.partner and res.partner.address
bzr revid: qdp-launchpad@openerp.com-20120330090837-s87z2qzsvynhlbwr
2012-03-30 11:08:37 +02:00
Raphael Collet 04f33ca7ac [IMP] account.config.settings: move sale and purchase group fields in their respecive module
bzr revid: rco@openerp.com-20120329142121-lc5b6d3mcds68p34
2012-03-29 16:21:21 +02:00