Created by Lionel Sausin - Numérigraphe on 2014-05-19 and last modified on 2014-06-20

Add a generic module to compute the stock quantity available to promise using several implementations and make stock_available_immediately the first configurable implementation.

stock_available_immediately is rewritten to compute virtual - incoming instead of real - outgoing, which should be mostly the same except for rounding .
The field name "immediately_usable_qty" is unchanged for compatibility, but the field is now called "Available to promise" in the views and help texts (this wording seems more widespread).

By default function fields are not very modular (you need to redefine the whole field to override the method). stock_available takes care of this by making the function fields call the pool instead, so that stock_available_immediately and other future implementations need only override the function _product_available.

Get this branch:
bzr branch lp:~numerigraphe-team/stock-logistic-warehouse/7.0-add-stock-available
Members of Numérigraphe can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Stock And Logistic Warehouse

Recent revisions

37. By Numérigraphe on 2014-06-20

[MERGE] merge an unrelated fix regarding the UoM precision, to avoid conflicts

36. By Numérigraphe on 2014-05-26

[IMP] Change category to 'warehouse'

35. By Numérigraphe on 2014-05-22

[ADD] stock_available: generic module to compute the stock quantity available to promise using several implementations. Make stock_available_immediatly the first configurable implementation

34. By Laurent Mignon (Acsone) on 2014-02-19

[MRG] port stock_available_immediately to 7.0

33. By Joël Grand-Guillaume @ camptocamp on 2014-02-06

[MRG] [ADD] stock_location_ownership

useful for companies (seems to happen more often in NGO) that have one or
several locations in a warehouse where the goods are not theirs, but are the
goods of a supplier. Hence the ownership on the location.

Then, the workflow may vary but an example is that a sales order with a
location having a different ownership could generate a dropship purchase order
to the owner or generate an invoice.

32. By Lorenzo Battistini on 2013-11-01

[MRG][ADD] stock_lot_valuation : Stock valuation (standard or average price, ...) based on lots.
This module extends standard stock valuation (based on products). Valuing lots allows to have different costs for different lots of the same product.

31. By Guewen Baconnier @ Camptocamp on 2013-11-01

[MRG][ADD] stock_reserve, stock_reserve_sale: create stock reservation manually or from quotations

30. By Lorenzo Battistini on 2013-10-17

[MRG] Add stock_optional_valuation

29. By Joël Grand-Guillaume @ camptocamp on 2013-02-22

[MRG] Add module stock_reord_rule to improve the orderpoint rules. It works forecasting the stock needed per product for n days of sales, with the next formula: (( Qty sold in days_stats * (1+forecast_gap)) / days_stats * days_warehouse)

28. By Joël Grand-Guillaume @ camptocamp on 2013-02-13

[MIGR] Make all module uninstallable until we start migrating them.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.