Commit Graph

671 Commits

Author SHA1 Message Date
Guewen Baconnier
c837adc236 Optimize SQL queries when searching a rule
Searching all rules then filtering in python the parent path is
more efficient than finding all the parent locations and finding
the matching rules.
2021-08-11 11:55:48 +02:00
Guewen Baconnier
4ae12c21ce Fix application of removal rules too broad
Example of configuration:

Rule location: Stock
Removal rule 1: Stock/Zone1
Removal rule 2: Stock/Zone2

Reservation of a stock move with Stock/Zone2 as source location.

Previously, it would reserve in Stock/Zone1.
Now, it will never be allowed to reserve in Stock/Zone1.

A warning message was added previously to warn the user about potential
issues, which is now obsolete so I removed it.
2021-08-11 11:55:48 +02:00
Guewen Baconnier
3d14192088 Fix bug in fallback when no quantity could be reserved
Before the change, the implementation of the fallback goes like this:

If I reserve a move of 3000 and it finds 600 units, it splits the move
to create a new move of 2400 and pretend to the caller that 3000 was
reserved so the initial move is changed to 'assigned'.

Now, if we have a move of 2400 and finds zero, it still splits the move,
and pretend to the caller that 2400 was reserved → the initial move has
no move line but is assigned. In this case, we should not split the move
but only update the source location of the move.
2021-08-11 11:55:48 +02:00
sebalix
42d9c733f0 [IMP] stock_reserve_rule: add constraints on fallback locations 2021-08-11 11:55:48 +02:00
Guewen Baconnier
8069f8b9e5 Run pre-commit with xml prettier 2021-08-11 11:55:48 +02:00
Guewen Baconnier
dfc97bb24d Migrate stock_reserve_rule to 13.0 2021-08-11 11:55:48 +02:00
Guewen Baconnier
fdab54b432 Add stock_reserve_rule 2021-08-11 11:55:48 +02:00
Stéphane Bidoul
878eb3d889 Merge pull request #1201 from lefilament/14.0-fix-stock_demand_estimate_matrix
[FIX] add OCA repos for dependencies
2021-08-02 18:08:57 +02:00
OCA Transbot
adf8135dcb Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-14.0/stock-logistics-warehouse-14.0-stock_quant_manual_assign
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_quant_manual_assign/
2021-07-30 08:16:52 +00:00
OCA-git-bot
188f5951f4 [ADD] setup.py 2021-07-30 08:16:35 +00:00
OCA-git-bot
8c29158e0b [UPD] README.rst 2021-07-30 08:16:35 +00:00
OCA-git-bot
804c06ea93 [UPD] addons table in README.md 2021-07-30 08:16:32 +00:00
oca-travis
1d786a8bd6 [UPD] Update stock_generate_putaway_from_inventory.pot 2021-07-30 08:02:11 +00:00
OCA-git-bot
467622e43e Merge PR #1047 into 14.0
Signed-off-by hparfr
2021-07-30 07:57:39 +00:00
OCA-git-bot
c07bc6dba7 [UPD] addons table in README.md 2021-07-27 17:07:45 +00:00
OCA-git-bot
8afef3f742 stock_quant_manual_assign 14.0.1.1.0 2021-07-27 17:07:38 +00:00
oca-travis
1e49100e56 [UPD] Update stock_quant_manual_assign.pot 2021-07-27 16:27:45 +00:00
OCA-git-bot
ab27198329 Merge PR #1205 into 14.0
Signed-off-by LoisRForgeFlow
2021-07-27 15:55:41 +00:00
Lois Rilo
762edd317e [IMP] stock_quant_manual_assign: add prepare lines method 2021-07-27 10:45:30 +02:00
Yoshi Tashiro
fe8b08556d [IMP] stock_quant_manual_assign: make qty_done fill optional
There are cases where auto-filling of qty_done of stock move line is not desirable.
e.g. you assign quants manually for some of the moves in a picking and not the others,
in such case you need to go over all the moves in the picking to either remove qty_done
or fill it in to proceed with the validation of the entire moves. Auto-fill behavior is
also troublesome when this function is used in a manufacturing order. i.e. having
qty_done of the component move live messes up the outcome of the production.
2021-07-27 10:41:35 +02:00
OCA-git-bot
549bec11fc [ADD] setup.py 2021-07-21 11:09:29 +00:00
OCA-git-bot
3cddaae5b1 [UPD] README.rst 2021-07-21 11:09:28 +00:00
OCA-git-bot
94272dc4c7 [UPD] addons table in README.md 2021-07-21 11:09:25 +00:00
oca-travis
c4fd9ed779 [UPD] Update stock_orderpoint_move_link.pot 2021-07-21 10:55:26 +00:00
OCA-git-bot
f251760cf6 Merge PR #1164 into 14.0
Signed-off-by LoisRForgeFlow
2021-07-21 10:50:16 +00:00
remi-filament
7ed1676fdf [FIX] add OCA repos for dependencies 2021-07-20 15:28:02 +02:00
OCA-git-bot
89c50447b4 [ADD] setup.py 2021-07-03 20:24:10 +00:00
OCA-git-bot
e1c64d6930 [ADD] icon.png 2021-07-03 20:24:09 +00:00
OCA-git-bot
416bb01ade [UPD] README.rst 2021-07-03 20:24:09 +00:00
OCA-git-bot
b313f3116c [UPD] addons table in README.md 2021-07-03 20:24:06 +00:00
oca-travis
b3508df648 [UPD] Update stock_search_supplierinfo_code.pot 2021-07-03 18:18:36 +00:00
OCA-git-bot
21eeee4ad6 Merge PR #1151 into 14.0
Signed-off-by dreispt
2021-07-03 14:54:55 +00:00
OCA-git-bot
776d0cc5ac [ADD] setup.py 2021-07-01 15:48:32 +00:00
OCA-git-bot
e001d77dc7 [UPD] README.rst 2021-07-01 15:48:31 +00:00
OCA-git-bot
0af3997d09 [UPD] addons table in README.md 2021-07-01 15:48:28 +00:00
oca-travis
7bd3261b0a [UPD] Update stock_request_picking_type.pot 2021-07-01 15:25:47 +00:00
OCA-git-bot
17ee2f2066 Merge PR #1158 into 14.0
Signed-off-by max3903
2021-07-01 15:15:37 +00:00
Reed Hayashikawa
cfad42c054 [MIG] stock_request_picking_type: Migration to 14.0 2021-06-21 14:23:56 -07:00
OCA Transbot
b6a13ac29c Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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/
2021-06-16 07:05:59 +00:00
OCA-git-bot
28133b2a3c [UPD] addons table in README.md 2021-06-16 07:05:03 +00:00
OCA-git-bot
9743e1fdb9 stock_picking_cancel_confirm 14.0.1.0.1 2021-06-16 07:04:56 +00:00
OCA-git-bot
0d61c48262 [ADD] setup.py 2021-06-16 07:04:56 +00:00
OCA-git-bot
5cc83c3f18 [UPD] README.rst 2021-06-16 07:04:56 +00:00
OCA-git-bot
6856cf66b3 [UPD] addons table in README.md 2021-06-16 07:04:52 +00:00
oca-travis
cd4b081712 [UPD] Update stock_request.pot 2021-06-16 06:49:24 +00:00
oca-travis
bb89ebb24e [UPD] Update stock_picking_cancel_confirm.pot 2021-06-16 06:49:20 +00:00
OCA-git-bot
72e08c7063 Merge PR #1137 into 14.0
Signed-off-by rousseldenis
2021-06-16 06:42:45 +00:00
Kitti U
e57f459816 [14.0][ADD] stock_picking_cancel_confirm 2021-06-16 01:10:24 +07:00
Reed Hayashikawa
32225b13c2 [IMP] stock_request_picking_type: black, isort, prettier 2021-06-14 07:58:42 -07:00
ps-tubtim
d36edb7824 [MIG] stock_request_picking_type: Migration to 13.0
[UPD] Update stock_request_picking_type.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-13.0/stock-logistics-warehouse-13.0-stock_request_picking_type
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_request_picking_type/
2021-06-14 07:58:42 -07:00