[IMP] report_carbone : bump to version 18.0.1.1.4
This commit is contained in:
@@ -15,7 +15,7 @@ class Base(models.AbstractModel):
|
||||
def _compute_carbone_default_currency_id(self):
|
||||
for rec in self:
|
||||
currency = self.env.user.company_id.currency_id
|
||||
if "currency_id" in rec._fields.keys():
|
||||
if "currency_id" in rec._fields:
|
||||
currency = rec.currency_id
|
||||
rec.carbone_default_currency_id = currency
|
||||
|
||||
|
||||
Reference in New Issue
Block a user