Browse Source

[FIX] pylint

pull/463/head
Hendrix Costa 8 years ago
parent
commit
0dcd239eba
  1. 24
      import_odbc/README.rst
  2. 2
      import_odbc/__openerp__.py

24
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

2
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',

Loading…
Cancel
Save