c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #02759
[Bug 646773] Re: Import Orders after upgrade to Magento 1.4.1.1
This bug seems to be duplicated:
https://bugs.launchpad.net/magentoerpconnect/+bug/620483
--
Import Orders after upgrade to Magento 1.4.1.1
https://bugs.launchpad.net/bugs/646773
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in Magento Open ERP Connector: New
Bug description:
Hi All,
after upgrade to Magento 1.4.1.1 I am not able to import orders. Product synchro is working ok.
I am using magentoerpconnect_generic and after Import orders click I get a error:
Environment Information :
System : Windows-XP-5.1.2600-SP3
OS Name : nt
Operating System Release : XP
Operating System Version : 5.1.2600
Operating System Architecture : 32bit
Operating System Locale : pl_PL.cp1250
Python Version : 2.5.2
OpenERP-Client Version : 5.0.10
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/openerp-server/netsvc.py", line 245, in dispatch
result = LocalService(service_name)(method, *params)
File "/usr/lib/python2.6/site-packages/openerp-server/netsvc.py", line 74, in __call__
return getattr(self, method)(*params)
File "/usr/lib/python2.6/site-packages/openerp-server/service/web_services.py", line 576, in execute
res = service.execute(db, uid, object, method, *args)
File "/usr/lib/python2.6/site-packages/openerp-server/osv/osv.py", line 58, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/openerp-server/osv/osv.py", line 119, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/python2.6/site-packages/openerp-server/osv/osv.py", line 111, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/lib/python2.6/site-packages/openerp-server/addons/base_sale_multichannels/sale.py", line 216, in import_orders
self.import_shop_orders(cr, uid, shop, defaults, ctx)
File "/usr/lib/python2.6/site-packages/openerp-server/addons/magentoerpconnect_generic/sale.py", line 114, in import_shop_orders
'ids_or_filter':ids_or_filter
File "/usr/lib/python2.6/site-packages/openerp-server/addons/magentoerpconnect_generic/magerp_osv.py", line 255, in mage_import_base
rec_result = self.ext_import(cr, uid, rec_data, external_referential_id, defaults, context)
File "/usr/lib/python2.6/site-packages/openerp-server/addons/base_external_referentials/external_osv.py", line 167, in ext_import
vals = self.oevals_from_extdata(cr, uid, external_referential_id, each_row, for_key_field, mapping_lines, defaults, context)
File "/usr/lib/python2.6/site-packages/openerp-server/addons/magentoerpconnect_generic/sale.py", line 346, in oevals_from_extdata
res = self.get_order_addresses(cr, uid, res, external_referential_id, data_record, key_field, mapping_lines, defaults, context)
File "/usr/lib/python2.6/site-packages/openerp-server/addons/magentoerpconnect_generic/sale.py", line 286, in get_order_addresses
vat = data_record['customer_taxvat'].translate(allchars, delchars).upper()
AttributeError: 'NoneType' object has no attribute 'translate'
Can you please help in this case ?