Importing Guest-Orders is not possible (KeyError: 'shop_id' in create_onfly_partner on line 387)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magento OpenERP Connector |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi, I'm using oerp6.1-stable (rev 677)
In my magento-shop (1.6.0.0) we have a module (Camiloo) that imports orders from Amazon to Magento.
When I try to import these orders to openERP I get the following error.
Thanks for you help.
Client Traceback (most recent call last):
File "/usr/lib/
response[
File "/usr/lib/
action = self.call_
File "/usr/lib/
return self._call_kw(req, model, method, args, {})
File "/usr/lib/
return getattr(
File "/usr/lib/
args, kw)
File "/usr/lib/
result = self.connector.
File "/usr/lib/
raise xmlrpclib.
Server Traceback (most recent call last):
File "/usr/lib/
return openerp.
File "/usr/lib/
result = ExportService.
File "/usr/lib/
res = fn(db, uid, *params)
File "/usr/lib/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/usr/lib/
return f(self, dbname, *args, **kwargs)
File "/usr/lib/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/lib/
self.
File "/usr/lib/
res = self._record_
File "/usr/lib/
return func(self, cr, uid, argument, *args, **kwargs)
File "/usr/lib/
res = super(sale_order, self)._
File "/usr/lib/
return func(self, cr, uid, external_session, resource, *args, **kwargs)
File "/usr/lib/
order_
File "/usr/lib/
context=
File "/usr/lib/
return func(self, cr, uid, argument, *args, **kwargs)
File "/usr/lib/
defaults = self.create_
File "/usr/lib/
shop = self.pool.
KeyError: 'shop_id'
Related branches
- Guewen Baconnier @ Camptocamp: Approve
-
Diff: 29 lines (+3/-2)1 file modifiedbase_sale_multichannels/sale.py (+3/-2)
- Sébastien BEAU - http://www.akretion.com: Disapprove
- Guewen Baconnier @ Camptocamp: Needs Resubmitting
-
Diff: 35 lines (+8/-6)1 file modifiedmagentoerpconnect/sale.py (+8/-6)
- Alexandre Fayolle - camptocamp: Approve (code review, no test)
- Guewen Baconnier @ Camptocamp: Needs Fixing (no test, review)
-
Diff: 4911 lines (+1653/-1559)65 files modifiedmagento_product_auto_sku/__openerp__.py (+1/-1)
magento_product_auto_sku/data.xml (+3/-3)
magento_product_auto_sku/product.py (+9/-15)
magento_sku_is_code/__init__.py (+0/-22)
magento_sku_is_code/__openerp__.py (+0/-41)
magento_sku_is_code/product.py (+0/-66)
magento_sku_is_code/product_view.xml (+0/-24)
magentoerpconnect/__openerp__.py (+2/-2)
magentoerpconnect/delivery.py (+6/-4)
magentoerpconnect/delivery_view.xml (+2/-2)
magentoerpconnect/invoice.py (+76/-27)
magentoerpconnect/magerp_core.py (+26/-26)
magentoerpconnect/magerp_core_view.xml (+152/-156)
magentoerpconnect/magerp_data.xml (+10/-10)
magentoerpconnect/magerp_menu.xml (+1/-1)
magentoerpconnect/magerp_osv.py (+67/-64)
magentoerpconnect/partner.py (+49/-49)
magentoerpconnect/partner_view.xml (+2/-6)
magentoerpconnect/product.py (+151/-186)
magentoerpconnect/product_images.py (+25/-19)
magentoerpconnect/product_images_view.xml (+21/-21)
magentoerpconnect/product_links.py (+6/-10)
magentoerpconnect/product_view.xml (+310/-310)
magentoerpconnect/sale.py (+40/-37)
magentoerpconnect/sale_view.xml (+72/-42)
magentoerpconnect/server_tmp.patch (+0/-14)
magentoerpconnect/settings/1.3.2.4/external.mappinglines.template.csv (+53/-53)
magentoerpconnect/settings/1.5.0.0/product.category/external.mappinglines.template.csv (+8/-8)
magentoerpconnect/settings/1.5.0.0/product/external.mappinglines.template.csv (+1/-1)
magentoerpconnect/settings/1.5.0.0/res.partner.address/external.mappinglines.template.csv (+13/-2)
magentoerpconnect/settings/1.5.0.0/res.partner/external.mappinglines.template.csv (+2/-1)
magentoerpconnect/settings/1.5.0.0/sale.order.line/external.mappinglines.template.csv (+3/-2)
magentoerpconnect/settings/1.5.0.0/sale.order/external.mappinglines.template.csv (+14/-3)
magentoerpconnect/stock.py (+4/-7)
magentoerpconnect/wizard/open_product_by_attribut_set.py (+5/-7)
magentoerpconnect_bundle/__openerp__.py (+3/-3)
magentoerpconnect_bundle/product.py (+9/-16)
magentoerpconnect_bundle/product_view.xml (+31/-31)
magentoerpconnect_bundle/sale.py (+4/-6)
magentoerpconnect_bundle/sale_bundle_product.py (+6/-16)
magentoerpconnect_bundle/sale_bundle_product_view.xml (+14/-14)
magentoerpconnect_bundle_split/__openerp__.py (+1/-1)
magentoerpconnect_bundle_split/sale.py (+16/-21)
magentoerpconnect_bundle_split/stock.py (+8/-14)
magentoerpconnect_customer_fiscal_category/__openerp__.py (+2/-2)
magentoerpconnect_customer_fiscal_category/settings/1.5.0.0/external.mappinglines.template.csv (+2/-7)
magentoerpconnect_init_stock/__openerp__.py (+1/-1)
magentoerpconnect_init_stock/product.py (+2/-5)
magentoerpconnect_magento_invoice/__init__.py (+28/-0)
magentoerpconnect_magento_invoice/__openerp__.py (+44/-0)
magentoerpconnect_magento_invoice/account.py (+35/-0)
magentoerpconnect_openerp_invoice/__init__.py (+1/-5)
magentoerpconnect_openerp_invoice/__openerp__.py (+9/-5)
magentoerpconnect_openerp_invoice/external_referential.py (+33/-0)
magentoerpconnect_openerp_invoice/external_referential_view.xml (+22/-0)
magentoerpconnect_openerp_invoice/invoice.py (+57/-24)
magentoerpconnect_partner_surname/__init__.py (+21/-0)
magentoerpconnect_partner_surname/__openerp__.py (+43/-0)
magentoerpconnect_partner_surname/settings/1.5.0.0/res.partner.address/external.mappinglines.template.csv (+3/-0)
magentoerpconnect_payment/__openerp__.py (+1/-1)
magentoerpconnect_payment/payment_type.py (+6/-8)
magentoerpconnect_payment/sale.py (+18/-20)
magentoerpconnect_product_variant/__openerp__.py (+3/-3)
magentoerpconnect_product_variant/product.py (+20/-38)
magentoerpconnect_product_variant/product_view.xml (+76/-76)
Changed in magentoerpconnect: | |
status: | New → Confirmed |
summary: |
- cannot import orders made on amazon + Importing Guest-Orders is not possible |
summary: |
- Importing Guest-Orders is not possible + Importing Guest-Orders is not possible (KeyError: 'shop_id' in + create_onfly_partner on line 387) |
Hi all,
am seeing this exception when trying to import standard Magento guest orders. To me it seems to be a more generic problem, not related to orders being imported into Magento previously.