[7.0] export product error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Prestashop OpenERP Connector |
New
|
Undecided
|
Unassigned |
Bug Description
When i try to export to prestashop a new product i got this error:
openerp.
File "/home/
job.
File "/home/
self.result = self.func(session, *self.args, **self.kwargs)
File "/home/
return exporter.
File "/home/
result = self._run(*args, **kwargs)
File "/home/
self.
File "/home/
return self.backend_
File "/home/
self.
File "/usr/local/
return self.add_
File "/usr/local/
xml_content = dict2xml.
File "/usr/local/
root, _ = _process_
File "/usr/local/
nodes = _process(doc, tag, value)
File "/usr/local/
nodelist, attrs = _process_
File "/usr/local/
nodes = _process(doc, tag, value)
File "/usr/local/
node.
File "/usr/lib/
if node.nodeType == self.DOCUMENT_
AttributeError: 'NoneType' object has no attribute 'nodeType'
and no export is done.
thank you
Omar
summary: |
- [7.0] export produxt error + [7.0] export product error |
tags: | added: 7.0 export |
Omar, I had the same problem with the older version of Prestapyt library.
There was no support for float field type(cost and selling price of product) in the Prestapyt library .
The github version of Prestapyt for dict2xml.py contains tag_value, int) or isinstance( tag_value, (str, unicode)): simple( doc, tag, tag_value)
# Create a new node for simple values
if isinstance(
return _process_
and in Launchpad (https:/ /code.launchpad .net/~akretion- team/prestashop erpconnect/ akretion- prestapyt) tag_value, (int, float)) or isinstance( tag_value, (str, unicode)): simple( doc, tag, tag_value)
# Create a new node for simple values
if isinstance(
return _process_