<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (C) 2017 - Today: GRAP (http://www.grap.coop) @author Sylvain LE GAL (https://twitter.com/legalsylvain) License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). --> <odoo> <record id="product_price_to_weight_barcode" model="product.product"> <field name="name">Apples (with Price To Weight Barcode)</field> <field name="barcode">0212345000007</field> <field name="list_price">1.50</field> <field name="uom_id" ref="product.product_uom_kgm"/> <field name="uom_po_id" ref="product.product_uom_kgm"/> </record> </odoo>