Commit Graph

294 Commits

Author SHA1 Message Date
Atchuthan, Sodexis
b0fc3eafef [9.0][PORT] Stock available 2022-01-21 16:58:10 +05:30
OCA Transbot
a9ca276d1f OCA Transbot updated translations from Transifex 2022-01-21 16:58:10 +05:30
Lionel Sausin
61f064db9b Revert changes to computation of _immediately_usable_qty
Commit 6c16913 changed the way we compute the immediately_usable_qty: instead of using the virtual stock, we used the sum of quants without reservations. But a quant may actually be reserved and still be available (for example it may be reserved for an internal move).
Fixes https://github.com/OCA/stock-logistics-warehouse/issues/79

Remove loop and use correct decorator

Restore the features of stock_available_immediately

The previous fix restored stock_available but then there was no way to exclude the incomming moves from the count. This belongs in stock_available_immediately, restoring it cleanly.
This commit also takes care to respect the distinction between templates and variants, so it should fix https://github.com/OCA/stock-logistics-warehouse/issues/73 too.

Restore the qty avail. to promise on variant treeview

PEP8
2022-01-21 16:58:10 +05:30
Laetitia Gangloff
589c5e7569 [FIX] stock_available : update sublocations computation 2022-01-21 16:58:10 +05:30
Giovanni francesco Capalbo
d25b3043c5 [FIX] searching on products, leaving full calculations
not using internal qty_available that seems not to
take in consideration reserved quants.

[ADD] Tests
2022-01-21 16:58:10 +05:30
gfcapalbo
346a60c882 [FIX] corrected calculation of immediately_usable_qty on product.product and
product.template, now takes in account variants and correctly displays value.
[FLAKE8]

Removing duplicate modules and moving README.rst into __unported__

[ADD} location calculations

[FIX] typo
2022-01-21 16:58:10 +05:30
Lionel Sausin (Numérigraphe)
7dd93a33e3 [ADD] stock_available
Generic module to compute the stock quantity available to promise using several implementations.
stock_available_immediatly is changed to become the first optional implementation.
Cherry pick of commit 0b060f619f from the v7 branch

[IMP] stock_available* uses new API

[ADD] stock_available_mrp

Module to take immediate manufaturing capability into account in the stock quantity available to promise.

Conflicts:
	stock_available/res_config.py

[DEL] move stock_available_mrp to __unported__

[ADD] stock_available_sale

Take sale quotations into account in the stock quantity available to promise
Cherry-picked from 497068f5f5

Conflicts:
	stock_available/res_config.py

[DEL] move stock_available_sale to __unported__

[IMP] READMEs and TODOs

Cherry-picked from v7 at 8add4bea7e

Conflicts:
	__unported__/stock_available_mrp/__openerp__.py
	stock_available/__openerp__.py
	stock_available_immediately/__openerp__.py

[IMP] respect product decimal precision

https://github.com/odoo/odoo/issues/5512 and b3e5a940e3 makes it clear the standard intends to support decimal precision on the product form.
2022-01-21 16:58:10 +05:30
OCA-git-bot
92e9753317 [ADD] setup.py 2022-01-19 11:28:05 +00:00
OCA-git-bot
d72952ac69 [UPD] README.rst 2022-01-19 11:28:04 +00:00
OCA-git-bot
1175655892 [UPD] addons table in README.md 2022-01-19 11:28:03 +00:00
oca-ci
0a291ad70b [UPD] Update stock_quant_manual_assign.pot 2022-01-19 11:25:19 +00:00
OCA-git-bot
2d22f11ca2 Merge PR #1353 into 15.0
Signed-off-by LoisRForgeFlow
2022-01-19 11:22:41 +00:00
Jasmin Solanki
e665aa697d [MIG] stock_quant_manual_assign: Migration to 15.0 2022-01-19 16:40:23 +05:30
Jasmin Solanki
db46efa3b0 [IMP] stock_quant_manual_assign: black, isort, prettier 2022-01-19 11:13:28 +05:30
Rémi
5fa35b241b 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-01-19 11:13:17 +05:30
OCA Transbot
4f79683bb7 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-01-19 11:13:17 +05:30
OCA-git-bot
8e352e9894 stock_quant_manual_assign 14.0.1.1.0 2022-01-19 11:13:17 +05:30
oca-travis
d72187f3ef [UPD] Update stock_quant_manual_assign.pot 2022-01-19 11:13:17 +05:30
Lois Rilo
3c601355b6 [IMP] stock_quant_manual_assign: add prepare lines method 2022-01-19 11:13:17 +05:30
Yoshi Tashiro
fa80576aee [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-01-19 11:13:17 +05:30
OCA-git-bot
72143ae2cb [UPD] README.rst 2022-01-19 11:13:17 +05:30
oca-travis
9f53f5260f [UPD] Update stock_quant_manual_assign.pot 2022-01-19 11:13:17 +05:30
Fanha Giang
f31ebe1c93 [MIG] stock_quant_manual_assign: Migration to 14.0 2022-01-19 11:13:17 +05:30
OCA Transbot
760c2b3cf3 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-01-19 11:13:17 +05:30
OCA-git-bot
365c590c8e [UPD] README.rst 2022-01-19 11:13:17 +05:30
mreficent
9bd168f148 [UPD] Eficent -> ForgeFlow 2022-01-19 11:13:17 +05:30
OCA Transbot
23d6cceae3 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-01-19 11:13:17 +05:30
OCA-git-bot
177ff4f891 [UPD] README.rst 2022-01-19 11:13:17 +05:30
oca-travis
3eb5d29e0c [UPD] Update stock_quant_manual_assign.pot 2022-01-19 11:13:17 +05:30
Tony Gu
c652011b69 [MIG] stock_quant_manual_assign: Migration to 13.0 2022-01-19 11:13:17 +05:30
Tony Gu
d890bdeefe [IMP] stock_quant_manual_assign: black, isort, prettier 2022-01-19 11:13:17 +05:30
Lois Rilo
12ded3b3bc [12.0][MIG] stock_quant_manual_assign 2022-01-19 11:13:17 +05:30
oca-travis
11b2a1f39d [UPD] Update stock_quant_manual_assign.pot 2022-01-19 11:13:17 +05:30
Pedro M. Baeza
149fe1f492 [IMP] stock_quant_manual_assign: Add owner to criteria + reorder fields + add security groups + hook 2022-01-19 11:13:17 +05:30
Pedro M. Baeza
4321e0ee0e [FIX] stock_quant_manual_assign: Related fields are not filled if not default them 2022-01-19 11:13:17 +05:30
Pedro M. Baeza
b0dd669de8 [IMP] stock_quant_manual_assign:
* Better layout
* Remove active_id dependency in some computed fields
* Clean code
* Refine constraint
* Take into account if the current line is previously reserved before clicking on the button.
2022-01-19 11:13:17 +05:30
cubells
710d8877ee [MIG] stock_quant_manual_assign: Migration to 11.0 2022-01-19 11:13:17 +05:30
Fanha Giang
fea7ce8524 11.0-mig-stock_quant_manual_assign 2022-01-19 11:13:17 +05:30
Fanha Giang
5f0771c372 [MIG] stock_quant_manual_assign: Migration to 10.0 2022-01-19 11:13:17 +05:30
OCA-git-bot
f90bea7cc6 [ADD] setup.py 2022-01-13 08:41:46 +00:00
OCA-git-bot
21b4f2c68a [UPD] README.rst 2022-01-13 08:41:45 +00:00
OCA-git-bot
985573b755 [UPD] addons table in README.md 2022-01-13 08:41:44 +00:00
oca-ci
e39181d612 [UPD] Update stock_orderpoint_move_link.pot 2022-01-13 08:39:03 +00:00
OCA-git-bot
4f5455feb5 Merge PR #1336 into 15.0
Signed-off-by LoisRForgeFlow
2022-01-13 08:36:27 +00:00
OCA-git-bot
2dd2d43124 [ADD] setup.py 2022-01-07 13:22:35 +00:00
OCA-git-bot
b90d8c2467 [UPD] README.rst 2022-01-07 13:22:34 +00:00
OCA-git-bot
a6ad676d81 [UPD] addons table in README.md 2022-01-07 13:22:33 +00:00
oca-ci
811f0cfcb1 [UPD] Update stock_move_location.pot 2022-01-07 13:19:28 +00:00
OCA-git-bot
2d3cab37a6 Merge PR #1339 into 15.0
Signed-off-by LoisRForgeFlow
2022-01-07 13:17:09 +00:00
Iryna Vushnevska
49bd297095 [IMP] add posibility to move only not reserved quantity 2021-12-29 09:50:08 +01:00