Commit Graph

1913 Commits

Author SHA1 Message Date
OCA-git-bot
a508329280 [ADD] setup.py 2022-11-04 16:07:06 +00:00
OCA-git-bot
f62e9f7ae3 [UPD] README.rst 2022-11-04 16:07:06 +00:00
OCA-git-bot
b3ac802737 [UPD] addons table in README.md 2022-11-04 16:07:05 +00:00
oca-ci
380eb3b5cd [UPD] Update stock_location_product_restriction.pot 2022-11-04 16:04:10 +00:00
OCA-git-bot
f650fc0196 Merge PR #1510 into 16.0
Signed-off-by sebalix
2022-11-04 16:01:56 +00:00
OCA-git-bot
f16befea9d [ADD] setup.py 2022-11-04 15:59:43 +00:00
OCA-git-bot
70c5c21e72 [UPD] README.rst 2022-11-04 15:59:43 +00:00
OCA-git-bot
97c82650ea [UPD] addons table in README.md 2022-11-04 15:59:42 +00:00
oca-ci
c299143ff2 [UPD] Update stock_move_auto_assign.pot 2022-11-04 15:57:30 +00:00
OCA-git-bot
fe92d05043 Merge PR #1531 into 16.0
Signed-off-by sebalix
2022-11-04 15:55:28 +00:00
OCA-git-bot
79ee8bd0b0 [ADD] setup.py 2022-11-04 14:13:06 +00:00
OCA-git-bot
12b4db15f9 [UPD] addons table in README.md 2022-11-04 14:13:05 +00:00
OCA-git-bot
f92de13270 Merge PR #1519 into 16.0
Signed-off-by sebalix
2022-11-04 14:10:20 +00:00
Maria Sparenberg
6a4d2af8aa Added translation using Weblate (German) 2022-11-04 12:45:15 +00:00
Laurent Mignon (ACSONE)
eb3066af90 [MIG] stock_move_auto_assign: Migration to 16.0 2022-11-03 15:16:30 +01:00
OCA-git-bot
14b9a3c0de [UPD] README.rst 2022-11-03 15:07:32 +01:00
oca-travis
de024a5b84 [UPD] Update stock_move_auto_assign.pot 2022-11-03 15:07:32 +01:00
Tran Thanh Phuc
feb70a55e4 [MIG] stock_move_auto_assign: Migration to 14.0 2022-11-03 15:07:32 +01:00
Guewen Baconnier
9dea80caba Remove @job decorator
Following changes in https://github.com/OCA/queue/pull/274
2022-11-03 15:07:32 +01:00
Guewen Baconnier
e32fefa078 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.
2022-11-03 15:07:32 +01:00
Guewen Baconnier
be3b4b2857 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).
2022-11-03 15:07:32 +01:00
OCA-git-bot
82e3c47723 stock_quant_manual_assign 15.0.1.2.0 2022-10-29 20:36:25 +02:00
Yoshi Tashiro
80b596a237 [IMP] stock_quant_manual_assign: make quant search flexible
This is to make it easier to manipulate with the domain conditions
and search results for available quants.
2022-10-29 20:36:25 +02:00
OCA-git-bot
6b81ad9496 stock_quant_manual_assign 15.0.1.1.1 2022-10-29 20:36:25 +02:00
Lois Rilo
cd2942bca6 [FIX] stock_quant_manual_assign: fix access error issues
When not all features are activated in inventory (locations, lots,
packages and owners) selecting a quant would raise an access error.

It is not possible to directly read the related fields, e.g
`self.lot_id`, because they are stored fields and have a group
restriction, so an access error would raise. To work around it,
we should access these fields from the quant:
`self.quant_id.lot_id`.
2022-10-29 20:36:25 +02:00
OCA-git-bot
7f47c3c17a stock_quant_manual_assign 15.0.1.1.0 2022-10-29 20:36:25 +02:00
Miquel Raïch
502a049862 [IMP] stock_quant_manual_assign: make several columns sortable in wizard 2022-10-29 20:36:25 +02:00
OCA-git-bot
a242462f8f [UPD] README.rst 2022-10-29 20:36:25 +02:00
oca-ci
d525ef3486 [UPD] Update stock_quant_manual_assign.pot 2022-10-29 20:36:25 +02:00
Jasmin Solanki
99598c0974 [MIG] stock_quant_manual_assign: Migration to 15.0 2022-10-29 20:36:25 +02:00
Rémi
f676a5ba5f Translated using Weblate (French)
Currently translated at 100.0% (31 of 31 strings)

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/fr/
2022-10-29 20:36:25 +02:00
OCA Transbot
822ab58686 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/
2022-10-29 20:36:25 +02:00
OCA-git-bot
4eebf48ea4 stock_quant_manual_assign 14.0.1.1.0 2022-10-29 20:36:25 +02:00
oca-travis
378aee6269 [UPD] Update stock_quant_manual_assign.pot 2022-10-29 20:36:25 +02:00
Lois Rilo
f564392ddb [IMP] stock_quant_manual_assign: add prepare lines method 2022-10-29 20:36:25 +02:00
Yoshi Tashiro
ae5744c083 [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.
2022-10-29 20:36:25 +02:00
OCA-git-bot
4207ed7f71 [UPD] README.rst 2022-10-29 20:36:25 +02:00
oca-travis
568d9c9b3d [UPD] Update stock_quant_manual_assign.pot 2022-10-29 20:36:25 +02:00
Fanha Giang
e62d14706a [MIG] stock_quant_manual_assign: Migration to 14.0 2022-10-29 20:36:25 +02:00
OCA Transbot
81e6d0d17c 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_quant_manual_assign
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_quant_manual_assign/
2022-10-29 20:36:25 +02:00
OCA-git-bot
25c0218430 [UPD] README.rst 2022-10-29 20:36:25 +02:00
mreficent
c6ef04e0bd [UPD] Eficent -> ForgeFlow 2022-10-29 20:36:25 +02:00
OCA Transbot
3775323bd2 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_quant_manual_assign
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_quant_manual_assign/
2022-10-29 20:36:25 +02:00
OCA-git-bot
880d5a4212 [UPD] README.rst 2022-10-29 20:36:25 +02:00
oca-travis
d11e9b24a7 [UPD] Update stock_quant_manual_assign.pot 2022-10-29 20:36:25 +02:00
Tony Gu
0d22dd8283 [MIG] stock_quant_manual_assign: Migration to 13.0 2022-10-29 20:36:25 +02:00
Tony Gu
383c8a41a2 [IMP] stock_quant_manual_assign: black, isort, prettier 2022-10-29 20:36:25 +02:00
Lois Rilo
6d6f0ac99b [12.0][MIG] stock_quant_manual_assign 2022-10-29 20:36:25 +02:00
oca-travis
0080957d4e [UPD] Update stock_quant_manual_assign.pot 2022-10-29 20:36:25 +02:00
Pedro M. Baeza
7f2a663214 [IMP] stock_quant_manual_assign: Add owner to criteria + reorder fields + add security groups + hook 2022-10-29 20:36:25 +02:00