From abe5dc36029db16612c1e81e50da8ee5f5293dbe Mon Sep 17 00:00:00 2001 From: Gelu Date: Fri, 13 Apr 2018 10:09:36 +0200 Subject: [PATCH] [FIX] Improve indentation and module version --- account_financial_report/__openerp__.py | 2 +- account_financial_report/wizard/wizard.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/account_financial_report/__openerp__.py b/account_financial_report/__openerp__.py index 6c8cb642..19c9bd69 100644 --- a/account_financial_report/__openerp__.py +++ b/account_financial_report/__openerp__.py @@ -25,7 +25,7 @@ ############################################################################## { "name": "Common financial reports", - "version": "2.0", + "version": "8.0.2.0.1", "author": "Vauxoo,Odoo Community Association (OCA)", "website": "http://www.vauxoo.com", "license": "GPL-3 or any later version", diff --git a/account_financial_report/wizard/wizard.py b/account_financial_report/wizard/wizard.py index 857cd148..b12cffc7 100644 --- a/account_financial_report/wizard/wizard.py +++ b/account_financial_report/wizard/wizard.py @@ -269,7 +269,7 @@ class WizardReport(models.TransientModel): if res: if data['form']['date_to'] > res[0]['date_stop'] or\ - data['form']['date_from'] < res[0]['date_start']: + data['form']['date_from'] < res[0]['date_start']: raise osv.except_osv(_('UserError'), 'Las fechas deben estar entre %s y %s' % (res[0]['date_start'],