Commit Graph

468 Commits

Author SHA1 Message Date
lreficent
219852cd0c [9.0][IMP] stock_cycle_count: update existing cycle counts instead of cancel them. 2019-07-08 08:49:40 +02:00
lreficent
4e969ae0b2 [9.0][IMP] stock_cycle_count: The configuration of an inventory adjustment related to a cycle count cannot be modified. 2019-07-08 08:49:40 +02:00
lreficent
805c6be423 [9.0][IMP] stock_cycle_count: Enhance tree view with filter and colors. 2019-07-08 08:49:40 +02:00
lreficent
32c5f4d8f6 [9.0][FIX] stock_cycle_count: fields only editable in draft and add tracking to some of them. 2019-07-08 08:49:40 +02:00
lreficent
23b42168e1 [9.0][FIX] stock_cycle_count: Fix a bug when combining automatic and manual creation of cycle counts. 2019-07-08 08:49:40 +02:00
lreficent
40bb029d79 [9.0][FIX] stock_cycle_count: Do not propose cycle counts in the past. 2019-07-08 08:49:40 +02:00
lreficent
9e595a6af4 [9.0][IMP] stock_cycle_count: add the possibility to define rules for specific zones. 2019-07-08 08:49:40 +02:00
OCA Transbot
00d8c41841 OCA Transbot updated translations from Transifex 2019-07-08 08:49:40 +02:00
lreficent
85853841d2 [9.0][FIX] Solves issue when doing picking with several moves. 2019-07-08 08:49:40 +02:00
lreficent
9a8e53821b [IMP] tests. 2019-07-08 08:49:40 +02:00
lreficent
6fd947b6eb [IMP] stock_cycle_count:
* Update README.
 * Fixes: DEFAULT_SERVER_DATETIME_FORMAT, PERCENT variables and sale price calculation.
2019-07-08 08:49:40 +02:00
mreficent
6a10a24332 [ADD] Adding tests 2019-07-08 08:49:40 +02:00
lreficent
2290db09cd [ADD] stock_cycle_count 2019-07-08 08:49:40 +02:00
OCA-git-bot
b16eee6fc0 Merge PR #632 into 12.0
Signed-off-by pedrobaeza
2019-07-05 12:11:53 +00:00
OCA-git-bot
b1e99ab01d [ADD] setup.py 2019-07-05 12:11:53 +00:00
OCA-git-bot
2c2de107c3 [UPD] README.rst 2019-07-05 12:11:52 +00:00
oca-travis
022fb2429a [UPD] Update stock_available.pot 2019-07-05 11:07:30 +00:00
Sergio Teruel
d893726123 [MIG] stock_available: Migration to v12.0 2019-07-05 12:31:47 +02:00
Valentino
5e487b5086 [ADD] Use same decorator on product.product as on product.template tree view. 2019-07-05 12:31:29 +02:00
Cédric Pigeon
9afb7105c2 [10.0][CHG]stock_available...: improve stock methods computation 2019-07-05 12:31:29 +02:00
Osoul
28038b47b2 Added translation using Weblate (Arabic)
Currently translated at 61.9% (13 of 21 strings)

Translation: stock-logistics-warehouse-11.0/stock-logistics-warehouse-11.0-stock_available
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-11-0/stock-logistics-warehouse-11-0-stock_available/ar/
2019-07-05 12:31:29 +02:00
Alexandre Saunier
e53c07decf [FIX] Improve migration to 11.0 2019-07-05 12:31:29 +02:00
Kiko Peiro
a2ba407e07 [MIG] stock_available: Migration to 11.0 2019-07-05 12:31:10 +02:00
François Honoré
2d73596ab9 [ADD] Add search function for immediately_usable_qty computed field + related unit test
Increase version number of the module
2019-07-05 12:31:10 +02:00
Denis Roussel
cc9df312ae [FIX] stock_available: Some affectations 2019-07-05 12:31:10 +02:00
David Vidal
73e91abf5a [MIG] stock_available_sale: Migration to 10.0 2019-07-05 12:31:10 +02:00
Cédric Pigeon
04479483de [10.0]stock_available: improve computation performance
[CHG] improve code regarding code review

[ADD] add test

[CHG] optimize stock computation by avoiding to call useless compute
2019-07-05 12:31:10 +02:00
SodexisTeam
6f82b8f548 [10.0][MIG] stock_available & stock_available_immediately (#219) 2019-07-05 12:31:10 +02:00
Cyril Gaudin
fa04fb532f bom stock: small improvements and add test for field choice 2019-07-05 12:30:59 +02:00
Laetitia Gangloff
1b494822e2 stock_available / stock_available_mrp : add possibility to choose which field use to compute potential 2019-07-05 12:30:59 +02:00
Lionel Sausin
9020363693 [IMP] Decouple the quantity for templates and variants
There are cases where we dot NOT want to simply sum the quantities of all the
variants. For example when dealing with manufacturing capacities, we may have
to chose between variants because we can't make ALL of them with the same
components.

So instead of a simple non-modular implementation, we'll let each module define
his own implementation of how to compute the product template's quantity
available for sale.

Conflicts:
	stock_available/__openerp__.py
	stock_available_immediately/__openerp__.py
2019-07-05 12:30:59 +02:00
Alexandre Fayolle
9f31835728 product_available improvements
* fix the dependencies for the computed field

* use api.multi instead of api.one to avoid calling
  super()._immediately_usable_qty in a loop (this improves perfs on a tree view
  display)
2019-07-05 12:30:59 +02:00
Atchuthan, Sodexis
46adfc06a8 [9.0][PORT] Stock available 2019-07-05 12:30:59 +02:00
OCA Transbot
d09ae66d5a OCA Transbot updated translations from Transifex 2019-07-05 12:30:59 +02:00
Lionel Sausin
36d6557e24 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
2019-07-05 12:30:51 +02:00
Laetitia Gangloff
fabfa01c3e [FIX] stock_available : update sublocations computation 2019-07-05 12:28:57 +02:00
Giovanni francesco Capalbo
94075e6030 [FIX] searching on products, leaving full calculations
not using internal qty_available that seems not to
take in consideration reserved quants.

[ADD] Tests
2019-07-05 12:28:57 +02:00
gfcapalbo
c0c9862ae9 [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
2019-07-05 12:28:57 +02:00
Lionel Sausin (Numérigraphe)
4faefa0f17 [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.
2019-07-05 12:28:57 +02:00
OCA-git-bot
91030bb3ed Merge PR #630 into 12.0
Signed-off-by lreficent
2019-07-04 14:36:53 +00:00
OCA-git-bot
3b47826852 [ADD] setup.py 2019-07-04 14:36:53 +00:00
OCA-git-bot
21b0110255 [UPD] README.rst 2019-07-04 14:36:53 +00:00
oca-travis
e6c1c84127 [UPD] Update stock_inventory_verification_request.pot 2019-07-04 13:54:07 +00:00
Michael Allen
e13c6d3616 [12.0][MIG]stock_inventory_verification_request migration to 12.0 2019-07-04 17:22:16 +05:30
OCA Transbot
e240cd8b5d Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2019-07-04 17:22:16 +05:30
oca-travis
e1715b4685 [UPD] Update stock_inventory_verification_request.pot 2019-07-04 17:22:15 +05:30
OCA-git-bot
f715ea5528 [UPD] README.rst 2019-07-04 17:22:15 +05:30
Lois Rilo
51e3e3c0dc [11.0][MIG] stock_inventory_verification_request 2019-07-04 17:22:15 +05:30
Alexandre Fayolle
bb0eda2bab [FIX] bad inheritance declaration 2019-07-04 17:22:15 +05:30
Alexandre Fayolle
97e6d91966 fix pylint warning and errors 2019-07-04 17:22:15 +05:30