Return goods pick the wrong stock location when using automatic chaining moves
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Wishlist
|
OpenERP R&D Addons Team 2 |
Bug Description
V6.0.3
I have inwards goods location chained to stock location with automatic move.
I return stock to a supplier from the action button on the receive products view. The stock is automatically taken from the inwards goods location, so now I have a negative stock in inwards goods location and an overstated stock quantity in stock.
So how to resolve??
Do an internal transfer from stock to inwards goods - no, as this creates a stock move back to stock.
Do a stock adjustment/physical inventory - no, as any positive adjustment to inwards goods (ie to set to 0 means moving 20 from inventory loss to inwards goods) creates an automatic move to stock.
Solutions:
1. The return should look at the location set up and if an automatic move exists take from that location instead of inwards goods.
2. The stock adjustment/physical inventory processes should ignore chaining rules for any moves created.
Related branches
- Naresh(OpenERP) (community): Disapprove
- nel: Pending requested
- Hardik Ansodariya (OpenERP): Pending requested
- Rifakat Husen (OpenERP): Pending requested
- Vinay Rana (OpenERP): Pending requested
-
Diff: 73 lines (+14/-5)4 files modifiedaccount/report/account_tax_report.py (+1/-1)
account/wizard/account_vat.py (+3/-3)
stock/stock.py (+8/-0)
stock/wizard/stock_return_picking.py (+2/-1)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
Changed in openobject-addons: | |
status: | New → Fix Committed |
importance: | Undecided → Low |
Changed in openobject-addons: | |
status: | Fix Committed → In Progress |
summary: |
- Problem with side effect of automatic chaining moves + Return goods pick the wrong stock location when using automatic chaining + moves |
tags: | added: chained-location |
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2) |
This issue is also present in the trunk version.