Follow below steps for the preparation of applying bug fix/enhancement on physical inventories.
- Stop OpenERP.
- Replace
addons/stock/stock.py
with thestock.py
file 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 Inventory
OpenERP does following calculation to generate stock move records:- (
Quantity
inGeneral Information
tab) − (Quantity
as ofDate Done
)
- (
- At
Validate Inventory
theDate Done
value is used as the effective date for stock moves and associated journal entry.
-
When one presses
Fill Inventory
, OpenERP populatesGeneral Information
tab with products and quantities. The info is based on the current OpenERP inventory, not the inventory as ofCreation Date
orDate 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 Inventory
is used. -
Since we have modified the original
stock.py
file, if one updates OpenERP, depending on the latest source code changes to thestock.py
file, the changes will need to be merged.