[MERGE] merge from dev3
bzr revid: ara@tinyerp.com-20101119125320-lrh3fyie3mjnsn0j
This commit is contained in:
commit
b273603450
|
@ -79,7 +79,7 @@ class add_product(osv.osv_memory):
|
|||
this = self.browse(cr, uid, ids[0], context)
|
||||
order_obj.add_product(cr, uid, record_id, this.product_id.id, this.quantity, context=context)
|
||||
|
||||
obj = order_obj.browse(cr, uid, record_id, context=context)
|
||||
# obj = order_obj.browse(cr, uid, record_id, context=context)
|
||||
order_obj.write(cr, uid, [record_id], {'state': 'done'}, context=context)
|
||||
return {
|
||||
'name': _('Make Payment'),
|
||||
|
|
Loading…
Reference in New Issue