Commit Graph

22 Commits

Author SHA1 Message Date
oca-travis
e7a46f06dc [UPD] Update stock_available_immediately.pot 2020-03-25 18:45:20 +00:00
Pedro M. Baeza
33fc90a0a5 [MIG] stock_available_immediately: Migration to 12.0
* New README by fragments
* Bump manifest version
* Adapted tests
2020-03-19 18:05:17 +01:00
Pedro M. Baeza
0bf3212ece [FIX] stock_available_immediately: Restore current code
Due to merge mess, we need to restore current code this way
2020-03-19 18:05:17 +01:00
Sergio Díaz
4e595c9f5c [MIG] stock_available_immediately: Migration to 11.0 2020-03-19 18:05:17 +01:00
OCA Transbot
54505b2819 OCA Transbot updated translations from Transifex 2020-03-19 18:05:17 +01:00
Cédric Pigeon
76c2b9f4cd [10.0][CHG]stock_available...: improve stock methods computation
optimize stock computation by avoiding to call useless compute
2020-03-19 18:05:17 +01:00
SodexisTeam
f94ee2cdd3 [10.0][MIG] stock_available & stock_available_immediately (#219) 2020-03-19 18:03:53 +01:00
OCA Transbot
321cc07d23 OCA Transbot updated translations from Transifex 2020-03-19 18:03:36 +01:00
Lionel Sausin
c4f92f2cc6 [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
2020-03-19 18:02:07 +01:00
Alexandre Fayolle
50be291e08 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)
2020-03-19 18:02:07 +01:00
OCA Transbot
52b9240701 OCA Transbot updated translations from Transifex 2020-03-19 18:02:07 +01:00
Atchuthan, Sodexis
42422a055a [9.0][PORT] Stock available immediately 2020-03-19 18:02:07 +01:00
OCA Transbot
4b4a84c833 OCA Transbot updated translations from Transifex 2020-03-19 18:01:59 +01:00
Lionel Sausin
e221e4e141 Fix the beta lint checks of Travis 2020-03-19 18:01:59 +01:00
gfcapalbo
16ad80df3b [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__
2020-03-19 17:57:27 +01:00
Lionel Sausin (Numérigraphe)
af02603188 [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

[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
2020-03-19 17:57:27 +01:00
gfcapalbo
2e9fd8e358 [UPD] move out from unported to 8 for update
[UPG] Upgraded to version 8, fixed references to new 8.0  views and  moved fields that were in  product.product to product.template

[fix] remove duplicate view and correct view name

[UPG][FIX] added outgoing field XML, that was in the base stock field in 7.0.

[UPG] stock available immediately, corrected the calculation method of
immediately_usable_qty to take in accountthe sign change in outgoing_qty
(from negative to positive) in version 8.

[FLAKE8]

[FIX] renaming of a class, comment removing, useless code.

[UPD] move out from unported to 8 for update

[fix] remove duplicate view and correct view name

[UPG][FIX] added outgoing field XML, that was in the base stock field in 7.0.

[FIX] renaming of a class, comment removing, useless code.

[fix] remove duplicate view and correct view name

[UPG][FIX] added outgoing field XML, that was in the base stock field in 7.0.

[UPD] move out from unported to 8 for update

[fix] remove duplicate view and correct view name

[UPG][FIX] added outgoing field XML, that was in the base stock field in 7.0.

[FIX] renaming of a class, comment removing, useless code.

[UPD] move out from unported to 8 for update

[fix] remove duplicate view and correct view name

[UPG][FIX] added outgoing field XML, that was in the base stock field in 7.0.

[FIX] renaming of a class, comment removing, useless code.

[UPD] move out from unported to 8 for update

[fix] remove duplicate view and correct view name

[UPG][FIX] added outgoing field XML, that was in the base stock field in 7.0.

[FIX] renaming of a class, comment removing, useless code.

[fix] remove duplicate view and correct view name

[UPG][FIX] added outgoing field XML, that was in the base stock field in 7.0.

[UPD] move out from unported to 8 for update

[fix] remove duplicate view and correct view name

[UPG][FIX] added outgoing field XML, that was in the base stock field in 7.0.

[FIX] renaming of a class, comment removing, useless code.
2020-03-19 17:57:27 +01:00
Laurent Mignon (Acsone)
5a601c3921 Migrate stock_available_immediately to 7.0 2020-03-19 17:52:34 +01:00
Joel Grand-Guillaume
e1907d2e92 [MIGR] Make all module uninstallable until we start migrating them. 2020-03-19 17:30:01 +01:00
@
c12ae63365 [IMP] stock_available_immediately: licensed under AGPL-3 instead of GPL-3 with author agreement, improved help messages and pep8
(lp:c2c-addons/6.1  rev 45.1.8)
2020-03-19 17:30:01 +01:00
@
98a7615f18 [MRG] stock_available_immediately from c2c-ecom-addons
(lp:c2c-addons/6.1  rev 45.1.7)
2020-03-19 17:30:01 +01:00
unknown
4eefe7aaf9 [ADD] moved modules
(lp:c2c-addons/6.1  rev 28.1.10)
2020-03-19 17:30:01 +01:00