Browse Source
Merge pull request #411 from gboros-rgbconsulting/8.0
[8.0][FIX] account_financial_report: Fix syntactical error
pull/415/head
Pedro M. Baeza
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
account_financial_report/__openerp__.py
-
account_financial_report/wizard/wizard.py
|
@ -25,7 +25,7 @@ |
|
|
############################################################################## |
|
|
############################################################################## |
|
|
{ |
|
|
{ |
|
|
"name": "Common financial reports", |
|
|
"name": "Common financial reports", |
|
|
"version": "2.0", |
|
|
|
|
|
|
|
|
"version": "8.0.2.0.1", |
|
|
"author": "Vauxoo,Odoo Community Association (OCA)", |
|
|
"author": "Vauxoo,Odoo Community Association (OCA)", |
|
|
"website": "http://www.vauxoo.com", |
|
|
"website": "http://www.vauxoo.com", |
|
|
"license": "GPL-3 or any later version", |
|
|
"license": "GPL-3 or any later version", |
|
|
|
@ -269,7 +269,7 @@ class WizardReport(models.TransientModel): |
|
|
|
|
|
|
|
|
if res: |
|
|
if res: |
|
|
if data['form']['date_to'] > res[0]['date_stop'] or\ |
|
|
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'), |
|
|
raise osv.except_osv(_('UserError'), |
|
|
'Las fechas deben estar entre %s y %s' |
|
|
'Las fechas deben estar entre %s y %s' |
|
|
% (res[0]['date_start'], |
|
|
% (res[0]['date_start'], |
|
|