From cb139f74c688c4a5100c7596f256b23e53dca34d Mon Sep 17 00:00:00 2001 From: "ARA (OpenERP)" Date: Fri, 12 Nov 2010 14:15:51 +0530 Subject: [PATCH] [REF] l10n_*:Correct warning from buildbot bzr revid: ara@tinyerp.com-20101112084551-p31rh1c6g77c2lbk --- addons/l10n_cr/__openerp__.py | 14 +++++++------- addons/l10n_it/report/libroIVA_credito.py | 4 +--- addons/l10n_it/report/libroIVA_debito.py | 2 +- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/addons/l10n_cr/__openerp__.py b/addons/l10n_cr/__openerp__.py index e826de5ebd0..9e1468ea798 100644 --- a/addons/l10n_cr/__openerp__.py +++ b/addons/l10n_cr/__openerp__.py @@ -40,12 +40,12 @@ 'website': 'http://clearcorp.co.cr', 'category': 'Localisation/Account Charts', 'description': """Chart of accounts for Costa Rica - Includes: - * account.type - * account.account.template - * account.tax.template - * account.tax.code.template - * account.chart.template +Includes: +* account.type +* account.account.template +* account.tax.template +* account.tax.code.template +* account.chart.template Everything is in English with Spanish translation. Further translations are welcome, please go to http://translations.launchpad.net/openerp-costa-rica @@ -60,7 +60,7 @@ http://translations.launchpad.net/openerp-costa-rica 'data/account_tax_code_template.xml', 'data/account_chart_template.xml', 'data/account_tax_template.xml', - 'l10n_wizard.xml' + 'l10n_wizard.xml', ], 'license': 'Other OSI approved licence', 'installable': True, diff --git a/addons/l10n_it/report/libroIVA_credito.py b/addons/l10n_it/report/libroIVA_credito.py index 7697d4d9033..d44573f03c1 100755 --- a/addons/l10n_it/report/libroIVA_credito.py +++ b/addons/l10n_it/report/libroIVA_credito.py @@ -33,9 +33,7 @@ class l10n_chart_it_servabit_report_libroIVA_credito(report_sxw.rml_parse): # Selezione tutte le fatture emesse nel periodo self.cr.execute(""" SELECT id FROM account_invoice - WHERE (state='open' OR state='paid') AND - period_id="""+str(period.id)+""" - AND (type='out_invoice' OR type='out_refund') + WHERE (state='open' OR state='paid') AND period_id="""+str(period.id)+""" AND (type='out_invoice' OR type='out_refund') """) ids=self.cr.fetchall() #print 'IDS = ', diff --git a/addons/l10n_it/report/libroIVA_debito.py b/addons/l10n_it/report/libroIVA_debito.py index 1a022424144..071a909ebfe 100755 --- a/addons/l10n_it/report/libroIVA_debito.py +++ b/addons/l10n_it/report/libroIVA_debito.py @@ -32,7 +32,7 @@ class l10n_chart_it_servabit_report_libroIVA_debito(report_sxw.rml_parse): # Selezione tutte le fatture emesse nel periodo self.cr.execute(""" SELECT id FROM account_invoice - WHERE (state='open' OR state='paid') AND + WHERE (state='open' OR state='paid') AND period_id="""+str(period.id)+""" AND (type='in_invoice' OR type='in_refund') """)