Commit Graph

374 Commits

Author SHA1 Message Date
Ondřej Kuzník
92857fc9ad [ADD] New module stock_partner_lot 2016-08-23 17:06:44 +01:00
OCA Transbot
a022408510 OCA Transbot updated translations from Transifex 2016-07-10 17:08:32 -04:00
OCA Transbot
7b566a3add OCA Transbot updated translations from Transifex 2016-07-03 16:44:30 -04:00
OCA Transbot
1b2acfcb1c OCA Transbot updated translations from Transifex 2016-06-12 15:53:35 -04:00
OCA Transbot
2edb1ba577 OCA Transbot updated translations from Transifex 2016-05-01 11:33:40 -04:00
OCA Git Bot
8d0d82f99b [ADD] setup.py 2016-04-30 04:39:47 +02:00
OCA Git Bot
6d78789db6 [UPD] addons table in README.md 2016-04-28 02:40:55 +02:00
Alexandre Fayolle
a48a25f5a5 Merge pull request #148 from cyrilgdn/9.0-stock_available_mrp
[9.0] stock_available_mrp migration
2016-04-27 12:54:38 +02:00
Alexandre Fayolle
7f03393a40 Merge pull request #147 from cyrilgdn/9.0-stock_available
[9.0] merge v8 stock_available
2016-04-27 12:54:17 +02:00
OCA Transbot
76150ad619 OCA Transbot updated translations from Transifex 2016-04-24 11:00:19 -04:00
OCA Git Bot
797bd2eb6d [ADD] setup.py 2016-04-14 04:46:46 +02:00
Cyril Gaudin
8993eb9618 V9 migration modifications.
* mrp_bom.name has been deleted.
    * mrp_bom_line.type moved to mrp_bom.type.
    * Fix missing group_mrp_user issue.
    * Change versions
2016-03-30 10:41:28 +02:00
OCA Transbot
371ae6b9fe OCA Transbot updated translations from Transifex 2016-03-27 06:59:39 -04:00
OCA Git Bot
eca8157a4b [UPD] addons table in README.md 2016-03-23 02:33:56 +01:00
Cyril Gaudin
cb496f9088 bom stock: small improvements and add test for field choice 2016-03-22 12:03:55 +01:00
Laetitia Gangloff
8fbf97a674 stock_available / stock_available_mrp : add possibility to choose which field use to compute potential 2016-03-22 12:03:52 +01:00
Pedro M. Baeza
137f973ff6 Merge pull request #142 from gurneyalex/9.0-update-stock_available_immediately
[9.0] update stock_available / stock_available_immediately
2016-03-22 10:53:54 +01:00
OCA Git Bot
d25af44322 [UPD] addons table in README.md 2016-03-22 08:10:42 +01:00
Cyril Gaudin
489ea73b01 stock_available_mrp: fix recursive potential_qty in list view 2016-03-21 16:04:40 +01:00
Cyril Gaudin
6cd5533485 bom stock: small improvements and add test for field choice 2016-03-21 16:04:40 +01:00
Laetitia Gangloff
dcaf2f82f3 stock_available / stock_available_mrp : add possibility to choose which field use to compute potential 2016-03-21 16:04:40 +01:00
Cyril Gaudin
4107c1d52b stock_available_mrp: fix BOM qty (multi-units, efficiency) 2016-03-21 16:04:40 +01:00
OCA Transbot
21cbee1ff1 OCA Transbot updated translations from Transifex 2016-03-21 16:04:40 +01:00
Lionel Sausin
05b4f47895 Code formatting nitpicking 2016-03-21 16:04:40 +01:00
Lionel Sausin
707363fc62 [FIX] fix multi-company test
Record rules used to not be checked on stock quants, but now they are since Odoo's commit 2fd14db57433d08ab368a7e18d18ae8d49dafab1 (https://github.com/odoo/odoo/commit/2fd14db).
In our test we changed the company of the products and BoMs but we neglected that the stock was not attached to the right company, and that made the test fail.
To fix that, make the test inventory for the right company.
Since there is a little inconsistency in the demo data with a negative quantity of an unrelated product, use the `partial` filter for the inventories instead of the `none` filter, so that no wrong inventory lines are added automatically.
2016-03-21 16:04:40 +01:00
Laurent Mignon (ACSONE)
fe21ce9d91 [FIX] Browse mrp.bom as current user
sudo is not required since mrp.bom are readable to groups with access to the qty_x fields on a product. Moreover using sudo to retrive the bom will ignore the company_id defined on the bom
2016-03-21 16:04:40 +01:00
Lionel Sausin
8e9c8e68bf [MIGR] stock_available_mrp: migrate to v8
Compute potential quantities for both product templates and variants. To keep the code simple, only the biggest potential of any single variant is accounted for in the template's potential.
Take all levels of phantom BoM into account, respects validity dates etc. thanks to the use of the standard method _bom_explode, as suggested by @gdgellatly in https://github.com/OCA/stock-logistics-warehouse/pull/5#issuecomment-66902191
Improve tests, rewritten in python.
Adhere to new file/manifest/README conventions.
Simplify copyright headers
2016-03-21 16:04:40 +01:00
Cyril Gaudin
879338724b bom stock: small improvements and add test for field choice 2016-03-21 15:29:05 +01:00
Laetitia Gangloff
8bb53f48aa stock_available / stock_available_mrp : add possibility to choose which field use to compute potential 2016-03-21 15:28:20 +01:00
Alexandre Fayolle
92418aec60 Merge pull request #146 from cyrilgdn/9.0-obsolete_modules
[9.0] remove V8 deleted modules.
2016-03-21 14:42:47 +01:00
Alexandre Fayolle
743b0c7335 Merge pull request #145 from cyrilgdn/9.0-partner_location_auto_create
[9.0] new unported v8 module: partner_location_auto_create
2016-03-21 14:42:33 +01:00
Alexandre Fayolle
39c1694cdf Merge pull request #144 from cyrilgdn/9.0-stock_quant_merge
[9.0] new v8 unported module: stock_quant_merge
2016-03-21 14:42:15 +01:00
Alexandre Fayolle
23a4e60ff9 Merge pull request #143 from cyrilgdn/9.0-stock_quant_manual_assign
[9.0] move new V8 module: stock_quant_manual_assign
2016-03-21 14:41:49 +01:00
Lionel Sausin
749f69e669 [IMP] Decouple the quantity for templates and variants
There are cases where we dot NOT want to simply sum the quantities of all the
variants. For example when dealing with manufacturing capacities, we may have
to chose between variants because we can't make ALL of them with the same
components.

So instead of a simple non-modular implementation, we'll let each module define
his own implementation of how to compute the product template's quantity
available for sale.

Conflicts:
	stock_available/__openerp__.py
	stock_available_immediately/__openerp__.py
2016-03-21 14:36:11 +01:00
Lionel Sausin
27e80a62fe [DEL] stock_inventory_with_location, stock_inventory_extended, stock_inventory_existing_lines
These modules are not needed anymore in v8 thanks to improvements in the standard WMS
2016-03-21 14:33:38 +01:00
Cyril Gaudin
745d54502d [MOV] stock_quant_merge: make module uninstallable 2016-03-21 14:16:25 +01:00
Cyril Gaudin
4a620e52db [MOV] stock_quant_manual_assign: make module uninstallable 2016-03-21 14:15:03 +01:00
Cyril Gaudin
9da0bf7b78 [MOV] partner_location_auto_create: make module uninstallable 2016-03-21 14:13:38 +01:00
OCA Transbot
006fefd685 OCA Transbot updated translations from Transifex 2016-03-21 14:08:50 +01:00
dufresnedavid
fb70e9fad3 [ADD] Partner Location Auto Create 2016-03-21 14:08:50 +01:00
OCA Transbot
6c9056e9b6 OCA Transbot updated translations from Transifex 2016-03-21 13:47:48 +01:00
OCA Transbot
9e7ad31146 OCA Transbot updated translations from Transifex 2016-03-21 13:47:48 +01:00
oihane
d1d8dea30b [IMP] stock_quant_merge: modify context to force unlink
change made into core in 4bd64dc91b
in OCB 4bd64dc91b
2016-03-21 13:47:48 +01:00
Pedro M. Baeza
4a32d721ea [FIX] stock_quant_merge: Fixes #109 2016-03-21 13:47:48 +01:00
OCA Transbot
d41cd6037f OCA Transbot updated translations from Transifex 2016-03-21 13:47:48 +01:00
Lionel Sausin
2105eacc3e Explain intent of pending_quants and simplify loop condition
As suggested by @oihane
2016-03-21 13:47:48 +01:00
Lionel Sausin
7dac9d65c2 [IMP] make the merge domain modular
As explained by Raphaël Valyi in https://github.com/OCA/stock-logistics-warehouse/pull/94#discussion_r45978223 :
Some may need to override this domain. Example: in Brazil we will probably separate quants of the same product depending on if it comes from national origin or if it's imported. It's the same product in the MRP for instance. But for fiscal reports we cannot mix quants and we don't want to freak with lots for product origin. In this case we would need to override this domain, but may be there are other use cases.
2016-03-21 13:47:48 +01:00
Lionel Sausin
330fcf41cc Add an automatic test 2016-03-21 13:47:48 +01:00
Lionel Sausin
abec66ed95 Adopt OCA conventions
Use OCA's the README template
Adapt manifest, add OCA as author
Update copyright notices
2016-03-21 13:47:48 +01:00
Lionel Sausin
81e697035d Add 'stock_quant_merge/' from commit '990e069455614dcd0781086e6af1f68ab2d021a0'
git-subtree-dir: stock_quant_merge
git-subtree-mainline: 3a0b6cfd13
git-subtree-split: 990e069455
2016-03-21 13:47:48 +01:00