[MERGE] lp:728378
bzr revid: qdp-launchpad@openerp.com-20110310133449-7plbyz4dipbdb033
This commit is contained in:
@@ -1352,6 +1352,8 @@ class account_invoice_line(osv.osv):
|
||||
currency = self.pool.get('res.currency').browse(cr, uid, currency_id, context=context)
|
||||
|
||||
if company.currency_id.id != currency.id:
|
||||
if type in ('in_invoice', 'in_refund'):
|
||||
res_final['value']['price_unit'] = res.standard_price
|
||||
new_price = res_final['value']['price_unit'] * currency.rate
|
||||
res_final['value']['price_unit'] = new_price
|
||||
|
||||
|
||||
Reference in New Issue
Block a user