Hello Team im trying to create a product but by xml file, i know its possible but its giving me the next error :
odoo.tools.convert.ParseError: "null value in column "purchase_line_warn" violates not-null constraint
DETAIL: Failing row contains (88, Valencia Product, 1, null, null, null, service, f, 1, 1.00, null, null, t, t, 1, 1, 1, t, null, null, null, null, 1, 2019-01-17 10:52:47.369262, 1, 2019-01-17 10:52:47.369262, manual, no-message, null, no, order, 1, 0, none, null, null, null, null, null, null, null, null, null).
<?xml version="1.0" encoding="utf-8"?>Why is telling me that is null when i have value 1 set on it?
<odoo>
<data>
<record model="product.product" id="hotels_be_bago.product1">
<field name="name">Valencia Product</field>
<field name="type">service</field>
<field name="purchase_line_warn">1</field>
<field name="sale_line_warn">no-message</field>
</record>
</data>
</odoo>
Thanks for the help