Commit Graph

75 Commits

Author SHA1 Message Date
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
Denis Roussel
c1d773128a [REM] stock_package_type_button_box: Make it uninstallable as in core
Since de87a78e09,
this is not necesarry anymore
2022-10-26 14:56:33 +02:00
OCA-git-bot
88b3271e8e [ADD] setup.py 2022-10-20 11:30:29 +00:00
OCA-git-bot
9ddbb97031 [UPD] README.rst 2022-10-20 11:30:29 +00:00
OCA-git-bot
77c407f731 [UPD] addons table in README.md 2022-10-20 11:30:28 +00:00
oca-ci
2ab9adc3f8 [UPD] Update stock_package_type_button_box.pot 2022-10-20 11:27:55 +00:00
OCA-git-bot
1f4ed384fb Merge PR #1509 into 16.0
Signed-off-by dreispt
2022-10-20 11:26:04 +00:00
Denis Roussel
79647476a1 [16.0][ADD] stock_package_type_button_box 2022-10-18 16:12:28 +02:00
Weblate
c90b8aa282 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-16.0/stock-logistics-warehouse-16.0-stock_mts_mto_rule
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-stock_mts_mto_rule/
2022-10-17 15:37:44 +00:00
OCA-git-bot
90332df588 [ADD] setup.py 2022-10-16 17:38:07 +00:00
OCA-git-bot
fe1c68f0ca [UPD] README.rst 2022-10-16 17:38:07 +00:00
OCA-git-bot
a29dcaaf42 [UPD] addons table in README.md 2022-10-16 17:38:06 +00:00
oca-ci
1a986d6f44 [UPD] Update stock_mts_mto_rule.pot 2022-10-16 17:35:20 +00:00
OCA-git-bot
5c667f01ad Merge PR #1503 into 16.0
Signed-off-by etobella
2022-10-16 17:32:51 +00:00
Maik Steinfeld
3d4ec139ff [MIG] stock_mts_mto_rule: Migration to 16.0 2022-10-11 12:11:58 +02:00
OCA-git-bot
b1447baae5 stock_mts_mto_rule 15.0.1.0.1 2022-10-10 15:00:29 +02:00
OCA-git-bot
44db664144 [UPD] README.rst 2022-10-10 15:00:29 +02:00
oca-ci
11403d131f [UPD] Update stock_mts_mto_rule.pot 2022-10-10 15:00:29 +02:00
Jesús Alan Ramos Rodríguez
7c80c88e72 [MIG] stock_mts_mto_rule: Migration to 15.0 2022-10-10 15:00:29 +02:00
oca-travis
d2a807f2ce [UPD] Update stock_mts_mto_rule.pot 2022-10-10 15:00:29 +02:00
Pierrick Brun
35e21b09e9 [MIG] stock_mts_mto_rule: Migration to 14.0 2022-10-10 15:00:29 +02:00
OCA Transbot
9a51fcc7f9 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_mts_mto_rule
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_mts_mto_rule/
2022-10-10 15:00:29 +02:00
oca-travis
eee389bcfc [UPD] Update stock_mts_mto_rule.pot 2022-10-10 15:00:29 +02:00
Deivis Laya
a43c32f2d9 [MIG] stock_mts_mto_rule: Migration to 13.0 2022-10-10 15:00:29 +02:00
Deivis Laya
90bf850951 [IMP] stock_mts_mto_rule: black, isort, prettier 2022-10-10 15:00:29 +02:00
Matjaz Mozetic
70b414f6e6 Translated using Weblate (Slovenian)
Currently translated at 55.6% (10 of 18 strings)

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_mts_mto_rule
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_mts_mto_rule/sl/
2022-10-10 15:00:29 +02:00
Pedro M. Baeza
a0cf207f49 [IMP] stock_mts_mto_rule: Make tests resilient
Using an already created product can lead to incorrect tests on integrated
environments where other modules modify this product. We create a new one for
avoiding this side effect.
2022-10-10 15:00:29 +02:00
OCA-git-bot
d9ab40dc0a stock_mts_mto_rule 12.0.1.0.1 2022-10-10 15:00:29 +02:00
Andrii Skrypka
114b6b7d98 [FIX] stock_mts_mto_rule: add mts_rule_id and mto_rule_id on stock rule form view 2022-10-10 15:00:29 +02:00
黎伟杰
550d8f8f5b Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (18 of 18 strings)

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_mts_mto_rule
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_mts_mto_rule/zh_CN/
2022-10-10 15:00:29 +02:00
Julien Thomazeau
48b4022747 Translated using Weblate (French)
Currently translated at 11.8% (2 of 17 strings)

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_mts_mto_rule
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_mts_mto_rule/fr_FR/
2022-10-10 15:00:29 +02:00
Jared Kipe
a9341e8f57 [MIG] Migrate stock_mts_mto_rule to 12.0
Major changes to the way Warehouses update their routes/rules and self heal.
Improved rule code to use `float_compare` and `float_is_zero`.
2022-10-10 15:00:29 +02:00
OCA-git-bot
e55ae4461f [ADD] icon.png 2022-10-10 15:00:29 +02:00
Florian da Costa
237ca70d7f Migrate stock_mts_mto_rule to version 11 2022-10-10 15:00:29 +02:00
OCA Transbot
ec1a27c9b5 OCA Transbot updated translations from Transifex
OCA Transbot updated translations from Transifex
2022-10-10 15:00:29 +02:00