Merge pull request #415 from gurneyalex/7.0-fix_lp1192115-595240-opw-skh
[FIX] delivery: do not remove the delivery method on the sale.order when adding it as an order line (useful information)
This commit is contained in:
@@ -72,8 +72,7 @@ class sale_order(osv.osv):
|
||||
'tax_id': [(6,0,taxes_ids)],
|
||||
'type': 'make_to_stock'
|
||||
})
|
||||
#remove the value of the carrier_id field on the sale order
|
||||
return self.write(cr, uid, ids, {'carrier_id': False}, context=context)
|
||||
return True
|
||||
#return {'type': 'ir.actions.act_window_close'} action reload?
|
||||
|
||||
sale_order()
|
||||
|
||||
Reference in New Issue
Block a user