Hello,
it has been fixed in commit #372, thanks for reporting and sorry bout
this issue.
** Changed in: magentoerpconnect
Status: New => Fix Released
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/683669
Title:
openerp6: SALE_ORDER_MAPPING is not defined
Status in Magento Open ERP Connector:
Fix Released
Bug description:
==ERRROR==
File "/home/resteve/openerp-server6/bin/addons/magentoerpconnect/sale.py",
line 130, in import_shop_orders
if SALE_ORDER_MAPPING.get(magento_storeview_id, False):
NameError: global name 'SALE_ORDER_MAPPING' is not defined
==Documentation==
sale.py are comment this line (line 35)
#SALE_ORDER_MAPPING = {1: 100000001, 3: 300000001, 2: 200000001} #Usefull for
first import if there is a lot of sale orders! IMPORTANT : Note that this is
template, we just let it here for example, working with magento's example data.
At line 130 get this variable
if SALE_ORDER_MAPPING.get(magento_storeview_id, False):
ids_or_filter[0]['increment_id'] = {'lt':
SALE_ORDER_MAPPING[magento_storeview_id] + SALE_ORDER_IMPORT_STEP}
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp