Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I am trying to create a product.template. The product name contains accent marks from the source database I am importing from. These appear to be causing an issue. Has anyone else ran into this and what is the solution? No matter what I do I can't seem to fix this issue. I even tried encoding it like row['product_nm'].encode('utf8').
Product Name Example:Super Café (Notice the accent e)
Traceback (most recent call last):
File "import_products.py", line 180, in <module>
template_id=sock.execute(dbname, uid,pwd, 'product.template','create',product_template)
File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request
xmlrpclib.ProtocolError: <ProtocolError for localhost:8069/xmlrpc/object: 500 INTERNAL SERVER ERROR>
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 5/8/15, 6:03 PM|
|Seen: 879 times|
|Last updated: 5/8/15, 10:57 PM|