Browse Source

[IMP] account_financial_report_qweb: Don't require date range

If you fill it, good because date from and date to are auto-fill,
but if not, don't require it as the required data are the other
2 fields.
pull/346/head
Pedro M. Baeza 7 years ago
parent
commit
4c7f5cde58
  1. 2
      account_financial_report_qweb/__manifest__.py
  2. 1
      account_financial_report_qweb/wizard/general_ledger_wizard.py
  3. 1
      account_financial_report_qweb/wizard/trial_balance_wizard.py

2
account_financial_report_qweb/__manifest__.py

@ -5,7 +5,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
'name': 'QWeb Financial Reports',
'version': '10.0.1.0.1',
'version': '10.0.1.1.0',
'category': 'Reporting',
'summary': 'OCA Financial Reports',
'author': 'Camptocamp SA,'

1
account_financial_report_qweb/wizard/general_ledger_wizard.py

@ -20,7 +20,6 @@ class GeneralLedgerReportWizard(models.TransientModel):
)
date_range_id = fields.Many2one(
comodel_name='date.range',
required=True,
string='Date range'
)
date_from = fields.Date(required=True)

1
account_financial_report_qweb/wizard/trial_balance_wizard.py

@ -19,7 +19,6 @@ class TrialBalanceReportWizard(models.TransientModel):
)
date_range_id = fields.Many2one(
comodel_name='date.range',
required=True,
string='Date range'
)
date_from = fields.Date(required=True)

Loading…
Cancel
Save