Browse Source

[MIG] account_export_csv: frozendict issue

pull/597/head
Stéphane Bidoul 10 years ago
committed by David Beal
parent
commit
23597dcc88
  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): def _get_fiscalyear_default(self, cr, uid, context=None):
fiscalyear_obj = self.pool['account.fiscalyear'] 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, return fiscalyear_obj.find(cr, uid, dt=None, exception=True,
context=context) context=context)

Loading…
Cancel
Save