Browse Source

[FIX] Assign partner_ids instead of journal_ids

pull/451/head
Eloi Cousinet 6 years ago
parent
commit
a32b75fe97
  1. 2
      account_financial_report_qweb/wizard/general_ledger_wizard.py
  2. 2
      account_financial_report_qweb/wizard/trial_balance_wizard.py

2
account_financial_report_qweb/wizard/general_ledger_wizard.py

@ -158,7 +158,7 @@ class GeneralLedgerReportWizard(models.TransientModel):
'company_id': self.company_id.id, 'company_id': self.company_id.id,
'filter_account_ids': [(6, 0, self.account_ids.ids)], 'filter_account_ids': [(6, 0, self.account_ids.ids)],
'filter_partner_ids': [(6, 0, self.partner_ids.ids)], 'filter_partner_ids': [(6, 0, self.partner_ids.ids)],
'filter_journal_ids': [(6, 0, self.partner_ids.ids)],
'filter_journal_ids': [(6, 0, self.journal_ids.ids)],
'filter_cost_center_ids': [(6, 0, self.cost_center_ids.ids)], 'filter_cost_center_ids': [(6, 0, self.cost_center_ids.ids)],
'centralize': self.centralize, 'centralize': self.centralize,
'fy_start_date': self.fy_start_date, 'fy_start_date': self.fy_start_date,

2
account_financial_report_qweb/wizard/trial_balance_wizard.py

@ -154,7 +154,7 @@ class TrialBalanceReportWizard(models.TransientModel):
'company_id': self.company_id.id, 'company_id': self.company_id.id,
'filter_account_ids': [(6, 0, self.account_ids.ids)], 'filter_account_ids': [(6, 0, self.account_ids.ids)],
'filter_partner_ids': [(6, 0, self.partner_ids.ids)], 'filter_partner_ids': [(6, 0, self.partner_ids.ids)],
'filter_journal_ids': [(6, 0, self.partner_ids.ids)],
'filter_journal_ids': [(6, 0, self.journal_ids.ids)],
'fy_start_date': self.fy_start_date, 'fy_start_date': self.fy_start_date,
'show_partner_details': self.show_partner_details, 'show_partner_details': self.show_partner_details,
} }

Loading…
Cancel
Save