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

pull/724/head
Joan Sisquella 2020-09-04 09:54:26 +02:00
parent 7706e153c6
commit 2b5e06be54
2 changed files with 1 additions and 2 deletions

View File

@ -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"),
],
[

View File

@ -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