Browse Source

[FIX] General ledger XLSX: solved mistake in the info

pull/724/head
Joan Sisquella 4 years ago
parent
commit
2b5e06be54
  1. 2
      account_financial_report/report/general_ledger_xlsx.py
  2. 1
      account_financial_report/wizard/general_ledger_wizard.py

2
account_financial_report/report/general_ledger_xlsx.py

@ -101,7 +101,7 @@ class GeneralLedgerXslx(models.AbstractModel):
[
_("Target moves filter"),
_("All posted entries")
if report.target_move == "all"
if report.target_move == "posted"
else _("All entries"),
],
[

1
account_financial_report/wizard/general_ledger_wizard.py

@ -94,7 +94,6 @@ class GeneralLedgerReportWizard(models.TransientModel):
help="This domain will be used to select specific domain for Journal " "Items",
)
@api.multi
def _get_account_move_lines_domain(self):
domain = literal_eval(self.domain) if self.domain else []
return domain

Loading…
Cancel
Save