[FIX] master data should return something
This commit is contained in:
parent
cb903af210
commit
a7866c12bb
|
@ -72,7 +72,7 @@ class stock_move(osv.osv):
|
|||
if move.purchase_line_id:
|
||||
purchase_order = move.purchase_line_id.order_id
|
||||
return purchase_order.partner_id, purchase_order.create_uid.id, purchase_order.pricelist_id.currency_id.id
|
||||
super(stock_move, self)._get_master_data(cr, uid, move, company, context=context)
|
||||
return super(stock_move, self)._get_master_data(cr, uid, move, company, context=context)
|
||||
|
||||
def _get_invoice_line_vals(self, cr, uid, move, partner, inv_type, context=None):
|
||||
res = super(stock_move, self)._get_invoice_line_vals(cr, uid, move, partner, inv_type, context=context)
|
||||
|
|
Loading…
Reference in New Issue