From 0dcd239eba8058f766fcddbac5f44b5eeed788d5 Mon Sep 17 00:00:00 2001 From: Hendrix Costa Date: Fri, 3 Mar 2017 17:11:33 -0300 Subject: [PATCH] [FIX] pylint --- import_odbc/README.rst | 24 ++++++++++++++---------- import_odbc/__openerp__.py | 2 +- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/import_odbc/README.rst b/import_odbc/README.rst index 5579bac6c..c0373815c 100644 --- a/import_odbc/README.rst +++ b/import_odbc/README.rst @@ -33,20 +33,24 @@ Features: Examples: * Importing suppliers to res.partner: - SELECT distinct - [SUPPLIER_CODE] as "ref" - , [SUPPLIER_NAME] as "name" - , 1 as "is_supplier" - , [INFO] as "comment" + :: + + SELECT distinct[SUPPLIER_CODE] as "ref", + [SUPPLIER_NAME] as "name", + 1 as "is_supplier", + [INFO] as "comment" FROM T_SUPPLIERS - WHERE INACTIVE_DATE IS NULL and DATE_CHANGED >= %(sync)s + WHERE INACTIVE_DATE IS NULL and DATE_CHANGED >= %(sync)s' * Importing products to product.product: - SELECT PRODUCT_CODE as "ref" - , PRODUCT_NAME as "name" - , 'res_partner_id_'+SUPPLIER_ID as "partner_id/id" + :: + + SELECT + PRODUCT_CODE as "ref", + PRODUCT_NAME as "name", + 'res_partner_id_' + SUPPLIER_ID as "partner_id/id" FROM T_PRODUCTS - WHERE DATE_CHANGED >= %(sync)s + WHERE DATE_CHANGED >= %(sync)s' Known issues / Roadmap diff --git a/import_odbc/__openerp__.py b/import_odbc/__openerp__.py index a2883446c..4004aac3c 100644 --- a/import_odbc/__openerp__.py +++ b/import_odbc/__openerp__.py @@ -4,7 +4,7 @@ { 'name': 'Import data from SQL and ODBC data sources.', - 'version': '1.3', + 'version': '8.0.0.1.3', 'category': 'Tools', 'author': "Daniel Reis,Odoo Community Association (OCA)", 'website': 'http://launchpad.net/addons-tko',