Browse Source

[FIX] Revert of: "[IMP] Show inactive partners in wizard" commit

Revert of 6c7b3e8765
pull/566/head
mreficent 6 years ago
parent
commit
a465a9baf9
  1. 3
      account_financial_report/wizard/aged_partner_balance_wizard.py
  2. 3
      account_financial_report/wizard/general_ledger_wizard.py
  3. 3
      account_financial_report/wizard/open_items_wizard.py
  4. 3
      account_financial_report/wizard/trial_balance_wizard.py

3
account_financial_report/wizard/aged_partner_balance_wizard.py

@ -53,8 +53,7 @@ class AgedPartnerBalanceWizard(models.TransientModel):
self.account_ids = self.account_ids.filtered(
lambda a: a.company_id == self.company_id)
res = {'domain': {'account_ids': [],
'partner_ids': ['|', ('active', '=', False),
('active', '=', True)]}}
'partner_ids': []}}
if not self.company_id:
return res
else:

3
account_financial_report/wizard/general_ledger_wizard.py

@ -154,8 +154,7 @@ class GeneralLedgerReportWizard(models.TransientModel):
self.cost_center_ids = self.cost_center_ids.filtered(
lambda c: c.company_id == self.company_id)
res = {'domain': {'account_ids': [],
'partner_ids': ['|', ('active', '=', False),
('active', '=', True)],
'partner_ids': [],
'account_journal_ids': [],
'cost_center_ids': [],
'date_range_id': []

3
account_financial_report/wizard/open_items_wizard.py

@ -84,8 +84,7 @@ class OpenItemsReportWizard(models.TransientModel):
self.account_ids = self.account_ids.filtered(
lambda a: a.company_id == self.company_id)
res = {'domain': {'account_ids': [],
'partner_ids': ['|', ('active', '=', False),
('active', '=', True)]}}
'partner_ids': []}}
if not self.company_id:
return res
else:

3
account_financial_report/wizard/trial_balance_wizard.py

@ -127,8 +127,7 @@ class TrialBalanceReportWizard(models.TransientModel):
self.account_ids = self.account_ids.filtered(
lambda a: a.company_id == self.company_id)
res = {'domain': {'account_ids': [],
'partner_ids': ['|', ('active', '=', False),
('active', '=', True)],
'partner_ids': [],
'date_range_id': [],
'journal_ids': [],
}

Loading…
Cancel
Save