Convert

Convert#

The convert module provides a way to import records from XML files.

import_xml#

trytond.convert.import_xml(xml, module)#

Imports the records from xml into the database as if they were defined in module. Those records are not store in the Model Data table. xml can be a string, a bytes or a file object.