new products imported during sale order does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magento OpenERP Connector |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Using current sources. If I download a Magento sale order where a product exists in both erp and magento, but an xml id does not exist it will return this error. To correct the error I had to manually create the xml id.
Im not sure if this would happen with a product that does not exist in erp. Also this may be linked with uploaded products to magento from erp, as in if I create a product in erp then upload to magento, when I download product to a different erp installation this may occur.
INE 1: select id from wkf_instance where res_id=false and res_type=...
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
, in query select id from wkf_instance where res_id=%s and res_type=%s and state=%s
[2011-03-09 11:31:04,198][dev2] ERROR:netsvc.
Traceback (most recent call last):
File "/opt/openerp/
f(cr, uid, *args)
File "/opt/openerp/
self.
File "/opt/openerp/
callback(cr, uid, ids, context=context)
File "/opt/openerp/
self.
File "/opt/openerp/
resp = self.pool.
File "/opt/openerp/
rec_result = self.ext_import(cr, uid, rec_data, external_
File "/opt/openerp/
crid = self.oe_create(cr, uid, vals, each_row, external_
File "/opt/openerp/
self.
File "/opt/openerp/
wf_
File "/opt/openerp/
cr.
File "/opt/openerp/
return f(self, *args, **kwargs)
File "/opt/openerp/
res = self._obj.
ProgrammingError: operator does not exist: integer = boolean
LINE 1: select id from wkf_instance where res_id=false and res_type=...
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
Changed in magentoerpconnect: | |
status: | New → Confirmed |
I confirm this also happens when importing orders where products do not exist in openerp. Before it would create the products, but now it doesnt. Some sort of regression perhaps.