Browse Source

Merge pull request #451 from ons-eco/10.0

[10.0][FIX] Assign journal_ids instead of partner_ids
pull/455/head
Pedro M. Baeza 6 years ago
committed by GitHub
parent
commit
31864c4121
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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