Commit Graph

514 Commits

Author SHA1 Message Date
Denis Roussel
1e923a2b56 [IMP] stock_available_mrp: readability + change compute bom_id + use recordset + Condition never statisfied 2021-05-27 12:42:07 +02:00
Cédric Pigeon
e23de10ffd [10.0][MIG] port stock_available_mrp to 10.0 2021-05-27 12:42:07 +02:00
OCA Transbot
e6ffa45529 OCA Transbot updated translations from Transifex 2021-05-27 12:42:07 +02:00
Cyril Gaudin
d1839d73da 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
2021-05-27 12:42:07 +02:00
Cyril Gaudin
ebb9c4d7ad [FIX+IMP] stock_available_mrp: fix recursive potential_qty in list view + small improvements 2021-05-27 12:42:07 +02:00
Laetitia Gangloff
c23889e8ba stock_available / stock_available_mrp : add possibility to choose which field use to compute potential 2021-05-27 12:42:07 +02:00
Cyril Gaudin
f31bdb5bb6 stock_available_mrp: fix BOM qty (multi-units, efficiency) 2021-05-27 12:42:07 +02:00
OCA Transbot
610a42cf13 OCA Transbot updated translations from Transifex 2021-05-27 12:42:07 +02:00
Lionel Sausin
5b14fdad6a [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.
2021-05-27 12:42:07 +02:00
Laurent Mignon (ACSONE)
ce28b0cb9b [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
2021-05-27 12:42:07 +02:00
Lionel Sausin
18a5ec23a9 [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
2021-05-27 12:42:07 +02:00
Stéphane Bidoul
de4a5dfa16 [MOV] move addons out of __unported__ (they remain not installable) 2021-05-27 12:42:07 +02:00
JrAdhoc
8bb6375f92 Translated using Weblate (Spanish)
Currently translated at 92.3% (157 of 170 strings)

Translation: stock-logistics-warehouse-14.0/stock-logistics-warehouse-14.0-stock_request
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_request/es/
2021-05-26 18:47:48 +00:00
oca-git-bot
bbd63f2737 [IMP] update dotfiles [ci skip] 2021-05-14 19:33:48 +02:00
Rémi
27d94353b4 Translated using Weblate (French)
Currently translated at 100.0% (16 of 16 strings)

Translation: stock-logistics-warehouse-14.0/stock-logistics-warehouse-14.0-scrap_reason_code
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-scrap_reason_code/fr/
2021-05-12 08:47:41 +00:00
Rémi
cb5416631c Added translation using Weblate (French) 2021-05-12 05:52:30 +00:00
OCA-git-bot
7b8de31364 [ADD] setup.py 2021-05-09 01:54:07 +00:00
OCA-git-bot
17a8e2cac2 [UPD] README.rst 2021-05-09 01:54:07 +00:00
OCA-git-bot
2892919de2 [UPD] addons table in README.md 2021-05-09 01:54:04 +00:00
oca-travis
8fa8795c5b [UPD] Update stock_location_position.pot 2021-05-08 23:29:06 +00:00
OCA-git-bot
9c0d6dc2a2 Merge PR #1076 into 14.0
Signed-off-by dreispt
2021-05-08 22:13:42 +00:00
OCA-git-bot
1ab9418db7 [UPD] addons table in README.md 2021-04-25 17:56:59 +00:00
OCA-git-bot
b4e8c29e5c stock_request 14.0.1.0.1 2021-04-25 17:56:53 +00:00
OCA-git-bot
61ba684578 Merge PR #1142 into 14.0
Signed-off-by ps-tubtim
2021-04-25 17:45:00 +00:00
Kitti U
05a8e6c550 [14.0][FIX] stock_request, window action access error 2021-04-25 18:13:10 +07:00
OCA-git-bot
37c30c3e96 [UPD] addons table in README.md 2021-04-23 10:03:47 +00:00
OCA-git-bot
395d483977 stock_available 14.0.1.0.2 2021-04-23 10:03:40 +00:00
OCA-git-bot
e6e94197e3 Merge PR #1140 into 14.0
Signed-off-by hparfr
2021-04-23 09:44:48 +00:00
Florian da Costa
44aea5f970 Add depends_context to quantity computed field 2021-04-22 19:47:13 +02:00
OCA-git-bot
339bec2ca0 [ADD] setup.py 2021-04-22 10:33:22 +00:00
OCA-git-bot
f250a6c4c7 [UPD] README.rst 2021-04-22 10:33:21 +00:00
OCA-git-bot
9137d713b5 [UPD] addons table in README.md 2021-04-22 10:33:19 +00:00
oca-travis
6e00084176 [UPD] Update stock_request.pot 2021-04-22 09:51:17 +00:00
OCA-git-bot
5ba879d037 Merge PR #1134 into 14.0
Signed-off-by ps-tubtim
2021-04-22 09:06:34 +00:00
Kitti U
493757825e [14.0][MIG] stock_request 2021-04-19 22:23:57 +07:00
OCA-git-bot
09a378ba98 [ADD] setup.py 2021-04-19 13:32:20 +00:00
OCA-git-bot
864bc13011 [UPD] README.rst 2021-04-19 13:32:20 +00:00
OCA-git-bot
4e48f9c6da [UPD] addons table in README.md 2021-04-19 13:32:17 +00:00
oca-travis
ba57eb0daa [UPD] Update stock_move_common_dest.pot 2021-04-19 13:03:33 +00:00
OCA-git-bot
5cf1db4c96 Merge PR #1048 into 14.0
Signed-off-by hparfr
2021-04-19 12:30:09 +00:00
Kitti U
9350f93e62 [IMP] : black, isort, prettier 2021-04-19 15:52:18 +07:00
Kitti U
9ad505d702 Fix test to work with mrp installed in this repo 2021-04-19 15:50:03 +07:00
Kitti U
055bbd24e5 Ensure to set done, when qty_cancelled > 0 2021-04-19 15:50:03 +07:00
Murtuza Saleh
73c67aa3a3 [12.0][IMP] Improved _compute_qty code 2021-04-19 15:50:03 +07:00
Jaime Arroyo
34af193790 [12.0][FIX] stock_request: fix archived search view 2021-04-19 15:50:03 +07:00
Enric Tobella
0ce85a94e9 [IMP] stock_request:
- fixes the computation of the allocated product quantity when a stock move has multiple requests.
2021-04-19 15:50:03 +07:00
Enric Tobella
7c57244e3f [IMP] stock_request: Improve cancellation detection 2021-04-19 15:50:03 +07:00
oca-travis
f8b93f0d07 [UPD] Update stock_request.pot 2021-04-19 15:50:03 +07:00
OCA-git-bot
835bfd237c stock_request 13.0.1.3.1 2021-04-19 15:50:03 +07:00
oca-travis
7ddb808a50 [UPD] Update stock_request.pot 2021-04-19 15:50:03 +07:00