I use kettle with webservices to update shipping + invoice number
(extend magento API)
> ------------------------------------------------------------------------
>
> Sébastien BEAU - http://www.akretion.com
> <mailto:<email address hidden>>
> 15 octobre 2011 14:46
>
>
> Do you still have the bug withjh the last stable version?
> thanks
>
> ** Changed in: magentoerpconnect
> Status: New => Incomplete
>
> ------------------------------------------------------------------------
>
> Thierry <mailto:<email address hidden>>
> 15 juillet 2011 11:21
>
>
> Public bug reported:
>
> Hello,
>
> I get an error when i update shipping on magento.
> Important note : for updating shipping correctly, i modify delivery.py
> and stock.py to split carrier['magento_code'] because carrier code is
> not send. Only shipping method are send like "carrier_shippingmetho".
> Without this split, the connector complain that the carrier is missing
> in a predefined list.
>
> Now information are update into magento correctly, but i get this :
>
> [2011-07-15 11:04:05,928][tngconcepts_test15] ERROR:Magento Call:The
> picking from the order 100000129 can't be created on Magento, please
> attach it manually, <Fault 102: u"Impossible de faire l'exp\xe9dition
> de la commande.">
> [2011-07-15 11:04:08,198][tngconcepts_test15] ERROR:Magento Call:The
> picking from the order 100000131 can't be created on Magento, please
> attach it manually, <Fault 102: u"Impossible de faire l'exp\xe9dition
> de la commande.">
> [2011-07-15 11:04:09,323][tngconcepts_test15]
> ERROR:web-services:Uncaught exception
> Traceback (most recent call last):
> File "/opt/openerp/server/bin/osv/osv.py", line 122, in wrapper
> return f(self, dbname, *args, **kwargs)
> File "/opt/openerp/server/bin/osv/osv.py", line 176, in execute
> res = self.execute_cr(cr, uid, obj, method, *args, **kw)
> File "/opt/openerp/server/bin/osv/osv.py", line 167, in execute_cr
> return getattr(object, method)(cr, uid, *args, **kw)
> File "/opt/openerp/addons-extra/base_sale_multichannels/sale.py", line
> 267, in export_shipping
> ext_shipping_id =
> self.pool.get('stock.picking').create_ext_shipping(cr, uid, result[0],
> picking_type, shop.referential_id.id, context)
> File "/opt/openerp/addons/magentoerpconnect/stock.py", line 82, in
> create_ext_shipping
> self.pool.get('delivery.carrier').check_ext_carrier_reference(cr, uid,
> carrier_id, magento_incrementid, context)
> File "/opt/openerp/addons/magentoerpconnect/delivery.py", line 35, in
> check_ext_carrier_reference
> mag_carrier = conn.call('sales_order_shipment.getCarriers',
> [magento_incrementid])
> File "/opt/openerp/addons/magentoerpconnect/magerp_osv.py", line 53,
> in call
> res = self.ser.call(self.session, method, arguments)
> File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
> return self.__send(self.__name, args)
> File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
> verbose=self.__verbose
> File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
> return self._parse_response(h.getfile(), sock)
> File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
> return u.close()
> File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
> raise Fault(**self._stack[0])
> Fault: <Fault 103: 'Requested order not exists.'>
> ^CKilled by signal 2.
> technobook:~ tboulogne$ ssh tboulogne@192.168.54.207 tail -f
> /var/log/openerp/openerp-server.log
> return self.__send(self.__name, args)
> File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
> verbose=self.__verbose
> File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
> return self._parse_response(h.getfile(), sock)
> File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
> return u.close()
> File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
> raise Fault(**self._stack[0])
> Fault: <Fault 103: 'Requested order not exists.'>
>
>
> Thanks for help.
>
> Regards,
>
> ** Affects: magentoerpconnect
> Importance: Undecided
> Status: New
>
I did not give it a try.
I use kettle with webservices to update shipping + invoice number
(extend magento API)
> ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -- www.akretion. com ------- ------- ------- ------- ------- ------- ------- ------- ------- -- 'magento_ code'] because carrier code is shippingmetho" . 928][tngconcept s_test15] ERROR:Magento Call:The 198][tngconcept s_test15] ERROR:Magento Call:The 323][tngconcept s_test15] services: Uncaught exception server/ bin/osv/ osv.py" , line 122, in wrapper server/ bin/osv/ osv.py" , line 176, in execute server/ bin/osv/ osv.py" , line 167, in execute_cr addons- extra/base_ sale_multichann els/sale. py", line get('stock. picking' ).create_ ext_shipping( cr, uid, result[0], l_id.id, context) addons/ magentoerpconne ct/stock. py", line 82, in get('delivery. carrier' ).check_ ext_carrier_ reference( cr, uid, incrementid, context) addons/ magentoerpconne ct/delivery. py", line 35, in carrier_ reference 'sales_ order_shipment. getCarriers' , incrementid] ) addons/ magentoerpconne ct/magerp_ osv.py" , line 53, call(self. session, method, arguments) python2. 6/xmlrpclib. py", line 1199, in __call__ send(self. __name, args) python2. 6/xmlrpclib. py", line 1489, in __request self.__ verbose python2. 6/xmlrpclib. py", line 1253, in request response( h.getfile( ), sock) python2. 6/xmlrpclib. py", line 1392, in _parse_response python2. 6/xmlrpclib. py", line 838, in close *self._ stack[0] ) 192.168. 54.207 tail -f openerp/ openerp- server. log send(self. __name, args) python2. 6/xmlrpclib. py", line 1489, in __request self.__ verbose python2. 6/xmlrpclib. py", line 1253, in request response( h.getfile( ), sock) python2. 6/xmlrpclib. py", line 1392, in _parse_response python2. 6/xmlrpclib. py", line 838, in close *self._ stack[0] )
>
> Sébastien BEAU - http://
> <mailto:<email address hidden>>
> 15 octobre 2011 14:46
>
>
> Do you still have the bug withjh the last stable version?
> thanks
>
> ** Changed in: magentoerpconnect
> Status: New => Incomplete
>
> -------
>
> Thierry <mailto:<email address hidden>>
> 15 juillet 2011 11:21
>
>
> Public bug reported:
>
> Hello,
>
> I get an error when i update shipping on magento.
> Important note : for updating shipping correctly, i modify delivery.py
> and stock.py to split carrier[
> not send. Only shipping method are send like "carrier_
> Without this split, the connector complain that the carrier is missing
> in a predefined list.
>
> Now information are update into magento correctly, but i get this :
>
> [2011-07-15 11:04:05,
> picking from the order 100000129 can't be created on Magento, please
> attach it manually, <Fault 102: u"Impossible de faire l'exp\xe9dition
> de la commande.">
> [2011-07-15 11:04:08,
> picking from the order 100000131 can't be created on Magento, please
> attach it manually, <Fault 102: u"Impossible de faire l'exp\xe9dition
> de la commande.">
> [2011-07-15 11:04:09,
> ERROR:web-
> Traceback (most recent call last):
> File "/opt/openerp/
> return f(self, dbname, *args, **kwargs)
> File "/opt/openerp/
> res = self.execute_cr(cr, uid, obj, method, *args, **kw)
> File "/opt/openerp/
> return getattr(object, method)(cr, uid, *args, **kw)
> File "/opt/openerp/
> 267, in export_shipping
> ext_shipping_id =
> self.pool.
> picking_type, shop.referentia
> File "/opt/openerp/
> create_ext_shipping
> self.pool.
> carrier_id, magento_
> File "/opt/openerp/
> check_ext_
> mag_carrier = conn.call(
> [magento_
> File "/opt/openerp/
> in call
> res = self.ser.
> File "/usr/lib/
> return self.__
> File "/usr/lib/
> verbose=
> File "/usr/lib/
> return self._parse_
> File "/usr/lib/
> return u.close()
> File "/usr/lib/
> raise Fault(*
> Fault: <Fault 103: 'Requested order not exists.'>
> ^CKilled by signal 2.
> technobook:~ tboulogne$ ssh tboulogne@
> /var/log/
> return self.__
> File "/usr/lib/
> verbose=
> File "/usr/lib/
> return self._parse_
> File "/usr/lib/
> return u.close()
> File "/usr/lib/
> raise Fault(*
> Fault: <Fault 103: 'Requested order not exists.'>
>
>
> Thanks for help.
>
> Regards,
>
> ** Affects: magentoerpconnect
> Importance: Undecided
> Status: New
>