Merge lp://qastaging/~openerp-dev/openobject-addons/7.0-opw-595832-pna into lp://qastaging/openobject-addons/7.0
Status: | Work in progress | ||||
---|---|---|---|---|---|
Proposed branch: | lp://qastaging/~openerp-dev/openobject-addons/7.0-opw-595832-pna | ||||
Merge into: | lp://qastaging/openobject-addons/7.0 | ||||
Diff against target: |
31 lines (+13/-4) 1 file modified
stock/stock.py (+13/-4) |
||||
To merge this branch: | bzr merge lp://qastaging/~openerp-dev/openobject-addons/7.0-opw-595832-pna | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Romain Deheele - Camptocamp (community) | Needs Fixing | ||
Pinakin Nayi (OpenERP) (community) | Needs Resubmitting | ||
Naresh(OpenERP) (community) | Needs Fixing | ||
Review via email: mp+178709@code.qastaging.launchpad.net |
Description of the change
Hello Sir,
I improved stock module When we configure chained locations, it generates a sequence gap on delivery orders :
OUT/00002 --> OUT/00004 --> OUT/00006, etc....
Steps to reproduce :
- Create a new db with demo data
- Install module:
- Sales management
- Warehouse
- Put admin user in extended view (Technical Features")
- In warehouse configuration select:
- Manage multiple locations and warehouses
- Go to Warehouse -> Configuration -> Location, select Output location
- Edit chained location customer: Set "Chaining type" to "Manual operation"
- Create 2 sale orders with field "Create Invoice" on Delivery Order.
- Confirm Sale Orders, it generates two delivery orders with a sequence gap (OUT/00002 and OUT/00004)
Bug : https:/
Thanks,
pna
Unmerged revisions
- 9350. By Pinakin Nayi (OpenERP)
-
[IMP]stock: nit code as there is no need to browse record
- 9349. By Pinakin Nayi (OpenERP)
-
[FIX]stock : improve sequence gap on delivery order
Hello Pinakin,
The merge proposed seems to fix the issue. just a nit that needs to be corrected.
@line:12 no need to browse the picking as the variable picking will have the browse_record instance so you can directly access the name.
Thanks,
Naresh Soni,
OpenERP Enterprise Services !