How do I import data from a xml file and link it to the fields in my module? The xml file is currently in the same directory as my module and have the following code
<?xml version="1.0" encoding="UTF-8"?>
<tryton>
<data noupdate="1" skiptest="1">
<record model="module.directory" id="code_123">
<field name="code_name">123</field>
<field name="code_description">Description</field>
<field name="code_table">Table number</field>
</record>
.
.
.
.
</data>
</tryton>
The fields are ‘code_name’, ‘code_description’ and ‘code_table’.