c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #16752
[Bug 715582] Re: no partial deliveries possible (crash)
Hello Conrad Skowronnek,
I have Checked your scenario with latest stable-6 in window at my end.
In Bug specification you specified two problem:
1)This related to "After editing the quantity" and clicking Deliver Button then found Traceback
But I am not able to get any type of Traceback and it's working expected.
I have attached a video for your reference so please check it.
And notify me where you faced the problem.
2)This is related to progress bar.
The same problem Confirm at :
https://bugs.launchpad.net/openobject-addons/+bug/721216
Thanks.
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/715582
Title:
no partial deliveries possible (crash)
Status in OpenERP Modules (addons):
Incomplete
Bug description:
I can't do partial deliveries
1. I create a sales order with 30 pieces
2. I want to deliver 10 pieces from this order now, so I go to "Warehouse -> Product Moves -> Deliver Products" and hit "partial"
3. I edit the quantity to 10 and hit "Deliver"
4. I get an application error as following
Traceback (most recent call last):
File "/home/odoo/openerp/server/bin/netsvc.py", line 490, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/odoo/openerp/server/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/home/odoo/openerp/server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/odoo/openerp/server/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/odoo/openerp/server/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/odoo/openerp/server/bin/addons/stock/wizard/stock_partial_move.py", line 219, in do_partial
move_obj.do_partial(cr, uid, moves_ids_final, partial_datas, context=context)
File "/home/odoo/openerp/server/bin/addons/stock/stock.py", line 2473, in do_partial
'product_uos_qty':move.product_qty - product_qty,
File "/home/odoo/openerp/server/bin/addons/stock/stock.py", line 1616, in write
for move in self.browse(cr, uid, ids, context=context):
File "/home/odoo/openerp/server/bin/osv/orm.py", line 189, in __getitem__
name, self))
KeyError: "Field '0' does not exist in object 'browse_record(stock.move, 124)'"
The result is, that a delivery order with 10 pieces is done, but the original delivery order still has 30 pieces instead of 20.
Also the progress bar in the sales order list is wrong (100% delivered, instead of 33 %)
I think this is a serious bug.
I had this one on a 6.0.1 Windows Installation and it also appears in
the online demo (as shown above)
References