Follow below steps for the preparation of applying bug fix/enhancement on physical inventories.
- Stop OpenERP.
- Replace
addons/stock/stock.pywith thestock.pyfile from the GitHub repository. - Restart OpenERP.
- Install
stock_physical_inventory_adjust.
Creation Date
- This date will have no substantial impact for stock move an journal entry records. Please use this date just for reference.
Date Done
- At
Confirm InventoryOpenERP does following calculation to generate stock move records:- (
QuantityinGeneral Informationtab) − (Quantityas ofDate Done)
- (
- At
Validate InventorytheDate Donevalue is used as the effective date for stock moves and associated journal entry.
-
When one presses
Fill Inventory, OpenERP populatesGeneral Informationtab with products and quantities. The info is based on the current OpenERP inventory, not the inventory as ofCreation DateorDate Done. This is the default behavior of OpenERP. -
When one presses
Validate Inventory, OpenERP generates a journal entry while changing the status of stock moves toDone. However, when one pressesCancel Inventory, OpenERP does not cancel the corresponding journal entry. This is a bug, but is on the roadmap to be fixed. Please, remember to delete the journal entry ifCancel Inventoryis used. -
Since we have modified the original
stock.pyfile, if one updates OpenERP, depending on the latest source code changes to thestock.pyfile, the changes will need to be merged.