Comment 3 for bug 1111298

Revision history for this message
Nicolas Bessi - Camptocamp (nbessi-c2c-deactivatedaccount) wrote : Re: [7.0] can not validate invoice in multi-company

A workaround for the bug. It does not fix root cause but while waiting will allows people to work:

- company_currency = inv.company_id.currency_id.id
+ # workaround of bug no 1111298
+ company_currency = self.pool['res.company'].browse(cr, uid, inv.company_id.id).currency_id.id
+ # company_currency = inv.company_id.currency_id.id

Regards

Nicolas