Browse Source

[MIG] account_export_csv: frozendict issue

pull/38/head
Stéphane Bidoul 10 years ago
parent
commit
7b293ae769
  1. 3
      account_export_csv/wizard/account_export_csv.py

3
account_export_csv/wizard/account_export_csv.py

@ -105,7 +105,8 @@ class AccountCSVExport(orm.TransientModel):
def _get_fiscalyear_default(self, cr, uid, context=None):
fiscalyear_obj = self.pool['account.fiscalyear']
context['company_id'] = self._get_company_default(cr, uid, context)
context = dict(context,
company_id=self._get_company_default(cr, uid, context))
return fiscalyear_obj.find(cr, uid, dt=None, exception=True,
context=context)

Loading…
Cancel
Save