Inversed invoice_control value on pickings with a chained location setup
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Medium
|
OpenERP Publisher's Warranty Team | |||
OpenERP Community Backports (Addons) | Status tracked in 7.0 | |||||
7.0 |
Fix Released
|
Medium
|
Romain Deheele - Camptocamp |
Bug Description
Hello,
This problem has been already pointed here : https:/
The bug report has pointed two different problems but the next answers and the fix are only concentrated on the first, it seems to me clearer to create this new bug report to fix the second problem.
Remember..when we configure a chained location :
- OUT picking "Invoice control" is set to "Not Applicable"
- INT picking "Invoice control" is set to "To be invoiced"
It seems more logical that should be the opposite.
Tested on trunk - addons rev 9346
Steps to reproduce the bug:
-------
- Create a new db with demo data
- Install module:
- sale
- stock
- Go to Warehouse -> Configuration -> Location, select Output location
- Edit chained location customer: Set "Chaining type" to "Manual operation"
- Confirm a sale order with Create Invoice on delivery order.
Two pickings are created:
- OUT picking "Invoice control" is set to "Not Applicable"
- INT picking "Invoice control" is set to "To be invoiced"
Romain
Related branches
- Naresh(OpenERP) (community): Approve
- Rifakat Husen (OpenERP) (community): Needs Resubmitting
-
Diff: 29 lines (+8/-1)2 files modifiedsale_stock/stock.py (+3/-0)
stock_location/stock_location.py (+5/-1)
- Holger Brunn (Therp): Approve (code review)
- Stefan Rijnhart (Opener): Approve
- Christophe CHAUVET: Approve (code review, not test)
-
Diff: 29 lines (+8/-1)2 files modifiedsale_stock/stock.py (+3/-0)
stock_location/stock_location.py (+5/-1)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2) |
importance: | Undecided → Medium |
status: | New → Confirmed |
tags: | added: warehouse |
Changed in openobject-addons: | |
assignee: | OpenERP R&D Addons Team 2 (openerp-dev-addons2) → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in ocb-addons: | |
status: | New → In Progress |
importance: | Undecided → Medium |
Hi Romin,
I have just committed fix in my branch on revision 9350,
lp:~openerp-dev/openobject-addons/7.0-opw-596283-rha
Revision ID: <email address hidden>
Could you please test the fix and confirm?
Thanks for reporting,
Rifakat