Commit Graph
115 Commits
Author SHA1 Message Date
Josse Colpaert 2ddc35a530 [REF][NEWPIE] mrp: new MRP
This commit contains the core of the new MRP. It contains a whole refactoring
of the MRP application, with improved and new features, written in new API.
Among other here are the main manufacturing workflow improvements :

 - Picking type not only for pickings but also for manufacturing orders
 - Properties replaced by picking type
 - BoM can only be produced with its routing (no other)
 - Either produce without routing with only production orders, or produce with
   routing
 - By default, there is an order in the work orders (serially), but you can
   override it to be able to work in parallel
 - Time clocking on work orders and block time on work centers with reporting
   on OEE, performance, losses, ...
 - Real-time adaptation of timings on operations
 - Lots/serial numbers can be inputted like in the pickings on manufacturing
   orders.  It is also possible to input them in the work orders.
 - Material availability independent of production order state (possibility to
   start production when only part of it is there)
 - Work sheets on work orders
 - Put messages on work orders to make your workers pay attention to something
 - Full traceability link to see for each produced piece of stock, the
   consumed pieces, ...
 - Separate scrap object (a scrap is not done based on an original move
   anymore)
 - Separate unbuild system (if you want to unbuild into its original
   components)

Thanks to all people that helped during this development, notably but not
limited to Chirag A Dodiya (cod@odoo.com), Gaurav Panchal (gan@odoo.com),
Jignesh Rathod (jir@odoo.com), Mansi Trivedi (mtr@odoo.com), Pariket Trivedi
(ptr@odoo.com).
2016-07-04 16:22:37 +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 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
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
qdp-odoo e4dc50bf58 [IMP] pricelists improvements. Was PR #8228 2015-08-31 16:57:32 +02:00
Nicolas Martinelli 3d9e2a6cb7 [IMP] mrp*: adaptation due to the new Sale module
Major changes:
- No use of UoS anymore

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
2015-08-27 18:10:19 +02:00
Yannick Tivisse b3b2b2110a [IMP] Remove dependencies to 'board' module in every modules 2015-08-21 10:42:18 +02:00
Yannick Tivisse 72796355a5 [IMP] mrp: Added access rights. A mrp manager can create a work center. 2015-08-21 10:04:57 +02:00
Fabien Pinckaers 3f108c4fdf [IMP] removing complex and unuseful concepts 2015-07-02 21:27:42 -07:00
rsi-odoo b09fddfa25 [FIX] mrp: allow MRP manager to create workcenters 2015-04-21 11:14:56 +02:00
Bhavik Bagdiya fede8a8cfb [IMP] mrp: usability onboarding
Various views and labelling changes
2015-03-09 21:14:28 +01:00
Richard Mathot 1ed7f42c36 [REM] mrp: removal of group_route_line_type
This group was used only to hide/display the type (normal or phantom) of BoM lines.
Adding a group to hide/display 1 field seems overkill.
2014-12-30 16:35:46 +01:00
Christophe Simonis 1d3f8eba87 [MERGE] forward port of branch 8.0 up to 591e329 2014-12-02 16:18:08 +01:00
Holger Brunn 7c070561b3 [FIX] mrp: duplicated xmlid for ir.model.access 2014-11-26 11:28:40 +01: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
Jamin Shah bc7aa43a26 [IMP] mrp: hide some fields on BOM, add groups to handle the displayed fields 2014-09-22 09:34:33 +02:00
cod-odoo a301b4c7fc [MOVE] account: moved account/project files to analytic or account, depending on which module the moved code belongs to. This allows to remove references to project in account module. Also added some improvements in project when deleting a project (delete account if void) or when deleting an account (delete project if void). 2014-08-04 13:23: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
Josse Colpaert 8b84615de1 [MERGE] Merge from trunk test
bzr revid: jco@openerp.com-20140502130352-c3h1fk332eqyd78b
2014-05-02 15:03:52 +02:00
Richard Mathot (OpenERP) 2c3ec2c7e4 [REM] mrp/stock: remmove ACLs related to removed dashboards
bzr revid: rim@openerp.com-20140429081808-hytvlkp461zm2l4o
2014-04-29 10:18:08 +02:00
Quentin (OpenERP) 398d96f273 [MERGE] merged trunk up to revision 9327
bzr revid: qdp-launchpad@openerp.com-20140414094743-hv0u7qhigv1to2uc
2014-04-14 11:47:43 +02:00
Christophe Simonis 4a701cb168 [MERGE] forward port of branch 7.0 up to revid 9956 odo@openerp.com-20140404135145-t8b0m2ijcq3y8sh6
bzr revid: chs@openerp.com-20140404161713-8w2c9y05l4dzzd9s
2014-04-04 18:17:13 +02:00
Foram Katharotiya (OpenERP) bae4c6ce40 [IMP] bring back the tests for MRP - backported from little after v7.0 in the trunk
lp bug: https://launchpad.net/bugs/1182515 fixed

bzr revid: ls@numerigraphe.com-20140404123003-cdt5zz1vmupbgd1j
2014-04-04 14:30:03 +02:00
Quentin (OpenERP) 753f7541db [MERGE] main trunk
bzr revid: qdp-launchpad@openerp.com-20140203173000-mk092iw2wz3y0e3e
2014-02-03 18:30:00 +01:00
Thibault Delavallée 5139c760d2 [FIX] mrp: added security rule to enable mrp users to compute production orders
bzr revid: tde@openerp.com-20140110142722-3x0zk98aajh0bgxy
2014-01-10 15:27:22 +01:00
Quentin (OpenERP) df2d5e148e [MERGE] trunk
bzr revid: qdp-launchpad@openerp.com-20131129165644-fx0m3ok07l41o507
2013-11-29 17:56:44 +01:00
Stephane Wirtel a7ff75f94a [FIX] Remove unused menu item in the mrp_securify file
bzr revid: stw@openerp.com-20131028140545-xr3mav7cb3gk45qn
2013-10-28 15:05:45 +01:00
Quentin (OpenERP) 65966940c8 [MERGE] merged with main trunk
bzr revid: qdp-launchpad@openerp.com-20131010133212-t058auv973pvvmjm
2013-10-10 15:32:12 +02:00
Josse Colpaert 670df13e80 [WIP] Put product view together in stock_view, make mrp independent of purchase and correct single quant move in stock_account when creating quants
bzr revid: jco@openerp.com-20130715093053-19gahkhq9gnqzlsy
2013-07-15 11:30:53 +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
Fabien Pinckaers 8f6c3e14b9 [IMP] Yet another 1000 lines removed
bzr revid: fp@tinyerp.com-20130630222646-wrpyd1o89md8gknx
2013-07-01 00:26:46 +02:00
Martin Trigaux c697009dea [IMP]mrp: avoid adding account rights to users and create lines with superuser_id
bzr revid: mat@openerp.com-20130514132629-91qrc32j04a1t5he
2013-05-14 15:26:29 +02:00
Foram Katharotiya (OpenERP) ab83bc5d85 [IMP] add yml of mrp_users and give access rights
bzr revid: fka@tinyerp.com-20130301092805-56z3lzm8obeon6re
2013-03-01 14:58:05 +05:30
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
Hardik f37e2b6b03 [IMP]Update access rights on MRP
bzr revid: hsa@tinyerp.com-20121121120103-tlbn5lxfdl9vvclj
2012-11-21 17:31:03 +05:30
Hardik 7b50b16c6d [IMP]Access rights on mrp user to confirm production
bzr revid: hsa@tinyerp.com-20121121084950-u9mcxfi8pr2rbzyq
2012-11-21 14:19:50 +05:30
Hardik 8bbc604a60 [IMP]Access Rights on MRP module
bzr revid: hsa@tinyerp.com-20121119120810-afr8rswrqtllz1kr
2012-11-19 17:38:10 +05:30
ajay javiya (OpenERP) 86bbcadff6 [IMP]:Inherit warehouse user inherit from group employee
bzr revid: aja@tinyerp.com-20121019071912-gt9k5v6vh64quz5t
2012-10-19 12:49:12 +05:30
Raphael Collet 9ca9d887b2 [FIX] mrp: revert changes of access rights of group mrp/user
bzr revid: rco@openerp.com-20120912115105-vqz8mpnfurq04sa3
2012-09-12 13:51:05 +02:00
Jigar Amin - OpenERP cf5005cecd [IMP] A manufaturing/user should not see purchase dashboard (menu) (only the purchase user can sse that menu)
A manufaturing/user should be able to create a consume move line and produce whole mo
Mmerge lp:~openerp-dev/openobject-addons/trunk-addons7-access-right-tch

bzr revid: jam@tinyerp.com-20120831111613-csmo1im7ck5p3e2e
2012-08-31 16:46:13 +05:30
Twinkle Christian (OpenERP) be60e6ae63 [IMP]MRP user can produce whole mo
bzr revid: tch@tinyerp.com-20120831101616-67vjdp0juzv1o8yt
2012-08-31 15:46:16 +05:30
ajay javiya (OpenERP) 4431d24355 [REM]Remove mrp_bom_revision
bzr revid: aja@tinyerp.com-20120831050028-aoprwoo3bq8x0f75
2012-08-31 10:30:28 +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) 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
Raphael Collet 416375ba2b [IMP] product,mrp: move group_mrp_properties into module product, to add use on sale order lines
bzr revid: rco@openerp.com-20120404134731-3syvingajqrxgysg
2012-04-04 15:47:31 +02:00
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 77117e046d [IMP] mrp: change xml id of usability groups
bzr revid: rco@openerp.com-20120322155244-4pbdhs0ltzf98ub1
2012-03-22 16:52:44 +01:00