Partially transfer product in Internal Move - no number assigned in Back Order
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Medium
|
OpenERP R&D Addons Team 2 |
Bug Description
(Build 15558)
server (5027)
addons (9295)
web (3995)
Internal Move do not behave in the same way as Delivery Order / Incoming Shipment,
Steps:
1. Create new Internal Move, with product move 100 units.
2. Transfer 40, new Internal Move created as back order correctly but no number assigned.
The problem is that, the sequence number for stock.picking.
Solution at stock/stock.py
1) stock_picking.
def copy(self, cr, uid, id, default=None, context=None):
if default is None:
default = {}
default = default.copy()
picking_obj = self.browse(cr, uid, id, context=context)
if ('name' not in default) or (picking_
# kittiu: if type = internal, number was not created.
# --
2) stock_picking.
for move in too_few:
Many thanks,
Kitti U.
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 21 lines (+2/-2)1 file modifiedstock/stock.py (+2/-2)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Hello,
It has been Fixed in https:/ /code.launchpad .net/~openerp- dev/openobject- addons/ trunk-bug- 1200619- jpr
revision-id: <email address hidden>
revno: 9025
It will be available in trunk soon.
Thanks