[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/367/head
Pedro M. Baeza 2017-09-16 16:41:50 +02:00 committed by Jordi Ballester
parent 82244ec68c
commit c108a32e55
3 changed files with 1 additions and 3 deletions

View File

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

View File

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

View File

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