Commit Graph

2422 Commits

Author SHA1 Message Date
OCA-git-bot
0395ae08d7 [UPD] README.rst 2021-10-08 09:06:00 +00:00
OCA-git-bot
1afbe99ef7 [UPD] addons table in README.md 2021-10-08 09:05:54 +00:00
oca-travis
fce3044b3b [UPD] Update stock_move_auto_assign.pot 2021-10-08 08:18:10 +00:00
OCA-git-bot
2b7d95a521 Merge PR #1082 into 14.0
Signed-off-by sebalix
2021-10-08 07:56:12 +00:00
OCA-git-bot
f4f6571a1d [ADD] setup.py 2021-10-08 07:41:03 +00:00
OCA-git-bot
fce14cd1e0 [UPD] README.rst 2021-10-08 07:41:03 +00:00
OCA-git-bot
ae99c05778 [UPD] addons table in README.md 2021-10-08 07:40:57 +00:00
oca-travis
96c92b30e9 [UPD] Update stock_vertical_lift_qty_by_packaging.pot 2021-10-08 06:58:50 +00:00
OCA-git-bot
98f85c41b9 Merge PR #1259 into 14.0
Signed-off-by simahawk
2021-10-08 06:35:51 +00:00
Tran Thanh Phuc
c0f9845a67 [MIG] stock_move_auto_assign: Migration to 14.0 2021-10-08 07:13:01 +07:00
Tran Thanh Phuc
ffe57de8bc [IMP] stock_move_auto_assign: black, isort, prettier 2021-10-08 07:13:01 +07:00
Guewen Baconnier
aec61b5aed Remove @job decorator
Following changes in https://github.com/OCA/queue/pull/274
2021-10-08 07:13:01 +07:00
Guewen Baconnier
11deadb394 Fix concurrency race condition on picking state
When the 2 last moves of a stock.picking are assigned at the same
time by 2 jobs (different products both available), none of the
transaction will see that it is the last move to be assigned. As a
result, the picking will stay in state "confirmed" even if all its
moves are assigned.

Lock the stock.picking records when we call auto_assign.
If we have many pickings touched for the same product, the lock
can be quite large, so we may have to find a better option.

I could not write a test to exercise this, because we can't have 2
transactions being aware of it, even if we create the picking in demo
data as tests can be run during install.
2021-10-08 07:13:01 +07:00
Guewen Baconnier
d617c4ea4d Add stock_move_auto_assign
Automatically check availability of stock moves when a move is set to "done".

It uses queue jobs to verify the availability in order to have a minimal impact
on the user operations.

The conditions to trigger the check are:

* A move is marked as done
* The destination locations of the move lines are internal
* The move doesn't have successors in a chain of moves

At this point, jobs are generated:

* One job per product
* Any move waiting for stock in a parent (or same) location of the internal
  destination locations from the done move has its availability checked

Only one job is generated for an identical set of (product, locations).
2021-10-08 07:13:01 +07:00
OCA-git-bot
9ae15b66ce [UPD] addons table in README.md 2021-10-07 16:19:32 +00:00
OCA-git-bot
c9e83a6c7d stock_inventory_exclude_sublocation 14.0.1.0.1 2021-10-07 16:19:27 +00:00
OCA-git-bot
28615f4e55 Merge PR #1274 into 14.0
Signed-off-by sebalix
2021-10-07 16:03:51 +00:00
Sébastien Alix
b99f105af5 [FIX] s_inventory_exclude_sublocation: fix tracking on field 2021-10-07 17:26:57 +02:00
OCA-git-bot
d57fed7d04 [ADD] setup.py 2021-10-07 14:04:16 +00:00
OCA-git-bot
d5b696f63a [UPD] README.rst 2021-10-07 14:04:16 +00:00
OCA-git-bot
e676fbf7f9 [UPD] addons table in README.md 2021-10-07 14:04:10 +00:00
oca-travis
35d6717d1b [UPD] Update stock_vertical_lift_empty_tray_check.pot 2021-10-07 13:38:10 +00:00
OCA-git-bot
2c282ec974 Merge PR #1263 into 14.0
Signed-off-by sebalix
2021-10-07 13:18:11 +00:00
Francesco Foresti
2077e02943 Translated using Weblate (Italian)
Currently translated at 16.6% (1 of 6 strings)

Translation: stock-logistics-warehouse-14.0/stock-logistics-warehouse-14.0-stock_warehouse_calendar
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_warehouse_calendar/it/
2021-10-05 17:34:32 +00:00
Francesco Foresti
ae84f3e274 Added translation using Weblate (Italian) 2021-10-05 15:22:21 +00:00
Jacques-Etienne Baudoux
b3069d9dc4 procurement_auto_create_group: Set partner on created procurement group 2021-10-05 13:45:28 +02:00
OCA-git-bot
709ed09527 [ADD] setup.py 2021-10-04 08:36:26 +00:00
OCA-git-bot
0429d64ca3 [UPD] addons table in README.md 2021-10-04 08:36:20 +00:00
oca-travis
7f48eaa663 [UPD] Update stock_orderpoint_manual_procurement.pot 2021-10-04 08:13:39 +00:00
OCA-git-bot
efff964681 Merge PR #1054 into 14.0
Signed-off-by LoisRForgeFlow
2021-10-04 08:06:22 +00:00
Cédric Pigeon
a4c6c5b8bf [14.0] stock_available: improve search performance 2021-10-01 21:56:52 +02:00
Cédric Pigeon
08a708a649 [14.0] stock_available_mrp: improve performance by using standard field 2021-10-01 17:25:23 +02:00
Guewen Baconnier
5dc3fc08a1 Improve performance of stock available of BoMs
Use an optimized method to explode the BoM. The explode methods
include data and a cycle check that we don't need here. Besides,
it calls '_bom_find' on every bom line of the graph, which generates
thousands of SELECT queries on large BoMs.
2021-10-01 17:24:02 +02:00
Cédric Pigeon
a8c547d22c [FIX] adapt back to V14 2021-10-01 17:24:02 +02:00
Guewen Baconnier
c7db787061 Use Savepoint in stock_available_mrp tests 2021-10-01 16:32:28 +02:00
Carlos Lopez
58f3e5f3c1 FIX: correct field name, location_ids instead of location_id 2021-10-01 15:19:08 +02:00
Mateu Griful
08563e1c05 [14.0][MIG] stock_cycle_count: Migration to 14.0 2021-10-01 15:11:47 +02:00
Mateu Griful
fb03c2dd3a [14.0][MIG] stock_cycle_count: black, isort, prettier 2021-10-01 15:11:47 +02:00
oca-travis
e6b09ba1dc [UPD] Update stock_cycle_count.pot 2021-10-01 15:11:47 +02:00
OCA-git-bot
9288810613 stock_cycle_count 13.0.1.1.0 2021-10-01 15:11:47 +02:00
oca-travis
31f6f2a143 [UPD] Update stock_cycle_count.pot 2021-10-01 15:11:47 +02:00
Lois Rilo
10fbca3ba1 [IMP] stock_cycle_count: auto link inventories to planned cycle counts 2021-10-01 15:11:47 +02:00
OCA-git-bot
f2c580edc3 [UPD] README.rst 2021-10-01 15:11:47 +02:00
mreficent
79146e1fb8 [UPD] Eficent -> ForgeFlow 2021-10-01 15:11:47 +02:00
OCA Transbot
300f10d59f 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_cycle_count
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_cycle_count/
2021-10-01 15:11:47 +02:00
OCA Transbot
d4d7e893bd 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_cycle_count
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_cycle_count/
2021-10-01 15:11:47 +02:00
OCA-git-bot
c6f6a8a690 stock_cycle_count 13.0.1.0.1 2021-10-01 15:11:47 +02:00
OCA-git-bot
3a9dacda82 [UPD] README.rst 2021-10-01 15:11:47 +02:00
oca-travis
eed417985e [UPD] Update stock_cycle_count.pot 2021-10-01 15:11:47 +02:00
jim.hoefnagels
288147dbfa [MIG] stock_cycle_count: Migration to 13.0 2021-10-01 15:11:47 +02:00