Browse Source

Merge PR #748 into 13.0

Signed-off-by pedrobaeza
pull/760/head
OCA-git-bot 4 years ago
parent
commit
9e071ac3ed
  1. 8
      account_financial_report/wizard/journal_ledger_wizard.py

8
account_financial_report/wizard/journal_ledger_wizard.py

@ -9,14 +9,8 @@ class JournalLedgerReportWizard(models.TransientModel):
_name = "journal.ledger.report.wizard" _name = "journal.ledger.report.wizard"
_description = "Journal Ledger Report Wizard" _description = "Journal Ledger Report Wizard"
_inherit = "account_financial_report_abstract_wizard"
company_id = fields.Many2one(
comodel_name="res.company",
default=lambda self: self.env.company.id,
string="Company",
required=False,
ondelete="cascade",
)
date_range_id = fields.Many2one(comodel_name="date.range", string="Date range") date_range_id = fields.Many2one(comodel_name="date.range", string="Date range")
date_from = fields.Date(string="Start date", required=True) date_from = fields.Date(string="Start date", required=True)
date_to = fields.Date(string="End date", required=True) date_to = fields.Date(string="End date", required=True)

Loading…
Cancel
Save