thaond / magento-openerp-smile-synchro

Automatically exported from code.google.com/p/magento-openerp-smile-synchro
0 stars 0 forks source link

error trying to import an invoice order #47

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Import Sales Orders from Open ERP

What is the expected output? What do you see instead?
Traceback (most recent call last):
  File "/opt/openerp/openerp-server-5.0.1-0/bin/netsvc.py", line 235, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/opt/openerp/openerp-server-5.0.1-0/bin/netsvc.py", line 74, in __call__
    return getattr(self, method)(*params)
  File "/opt/openerp/openerp-server-5.0.1-0/bin/service/web_services.py", line 582, in execute
    return self._execute(db, uid, wiz_id, datas, action, context)
  File "/opt/openerp/openerp-server-5.0.1-0/bin/service/web_services.py", line 562, in 
_execute
    return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
  File "/opt/openerp/openerp-server-5.0.1-0/bin/wizard/__init__.py", line 178, in execute
    res = self.execute_cr(cr, uid, data, state, context)
  File "/opt/openerp/openerp-server-5.0.1-0/bin/wizard/__init__.py", line 74, in execute_cr
    action_res = action(self, cr, uid, data, context)
  File "/root/openerp/openerp-server-5.0.0-
3/bin/addons/magento_openerp_synchro/wizard/magento_so_import.py", line 187, in 
_do_import
KeyError: 'purchaseorder'

What version of the product are you using? On what operating system?
latest Magento-openerp build. Ubuntu 8.04

Please provide any additional information below.
The order in Magento is an invoice order. I tried to enter a credit card order 
but it's still saying 
the same thing. The synchro module has been modified somewhat by my developer 
but 
unfortunately I don't know what they've done and they've gone MIA on me so I'm 
trying to figure 
this out myself. 

thanks! 
Chris

Original issue reported on code.google.com by chris.jo...@ankhhealth.com on 30 Jul 2009 at 3:16