c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #24845
[Bug 785931] Re: export_shipping return none
Hum interesting...
Sorry we didn't test that recently. It's because now there is a new
control about the return value because None is not allowed by the
XML/RPC specification.
There could be something more interesting to return, but would such a
patch fix your problem:
=== modified file 'base_sale_multichannels/sale.py'
--- base_sale_multichannels/sale.py 2011-05-16 14:37:31 +0000
+++ base_sale_multichannels/sale.py 2011-05-20 19:45:21 +0000
@@ -268,6 +268,7 @@
}
self.pool.get('ir.model.data').create(cr, uid, ir_model_data_vals)
logger.notifyChannel('ext synchro', netsvc.LOG_INFO, "Successfully creating shipping with OpenERP id %s and ext id %s in external sale system" % (result[0], ext_shipping_id))
+ return True
sale_shop()
Feedback?
** Changed in: magentoerpconnect
Status: New => Confirmed
** Changed in: magentoerpconnect
Importance: Undecided => High
--
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/785931
Title:
export_shipping return none
Status in Magento Open ERP Connector:
Confirmed
Bug description:
Hello,
i get this error when i try to export shipping :
[2011-05-20 21:20:54,810][TNGCONCEPTS_PROD] INFO:ext synchro:Successfully creating shipping with OpenERP id 8 and ext id 100000017 in external sale system
[2011-05-20 21:20:55,633][TNGCONCEPTS_PROD] ERROR:Magento Call:The picking from the order 100000051 can't be created on Magento, please attach it manually, <Fault 102: u"Impossible de faire l'exp\xe9dition de la commande.">
[2011-05-20 21:20:55,659][TNGCONCEPTS_PROD] WARNING:web-services:The method export_shipping of the object sale.shop can not return `None` !
Openerp 6.0.2
Magento 1.5.1
Thanks for help.
Thierry
References