I have a data/product_data.xml and when updating the module raises an error that can not figure out.yet.
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<record model="product.template" id="product_template_com001" forcecreate="True" >
<field name="name">COMBUSTIBLE_95</field>
<field name="default_code">COM0010</field>
<field name="categ_id" ref="product.product_category_all"/>
<field name="type">consu</field>
</record>
</data>
</odoo>
The error is.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/http.py", line 638, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 314, in _handle_exception
raise exception.with_traceback(None) from new_cause
odoo.tools.convert.ParseError: while parsing /mnt/extra-addons/grupobahia/gb_eglobalt_pos/data/product_data.xml:4, near
<record model="product.template" id="product_template_com001" forcecreate="True">
<field name="name">COMBUSTIBLE_95</field>
<field name="default_code">COM0010</field>
<field name="categ_id" ref="product.product_category_all"/>
<field name="type">consu</field>
</record>
I have the same problem.
How did you solve?
Not solved yet. May updating the current docker version or sources contains the fix.