You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
3.0 KiB
74 lines
3.0 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<record model="ir.ui.view" id="beesdoo_product_form">
|
|
<field name="name">bees.product.template.form</field>
|
|
<field name="model">product.template</field>
|
|
<field name="inherit_id" ref="product.product_template_only_form_view" />
|
|
<field name="arch" type="xml">
|
|
<field name="barcode" position="after">
|
|
<field name="eco_label" />
|
|
<field name="local_label" />
|
|
<field name="fair_label" />
|
|
<field name="origin_label" />
|
|
</field>
|
|
</field>
|
|
</record>
|
|
<record model="ir.ui.view" id="beesdoo_product_form2">
|
|
<field name="name">bees.product.template.form2</field>
|
|
<field name="model">product.template</field>
|
|
<field name="inherit_id" ref="product.product_template_form_view" />
|
|
<field name="arch" type="xml">
|
|
<div name="weight" position="after">
|
|
<field name="main_seller_id" string="Fournisseur Principal" />
|
|
</div>
|
|
</field>
|
|
</record>
|
|
<record model="ir.ui.view" id="beesdoo_product_label_form">
|
|
<field name="name">bees.product.label.form</field>
|
|
<field name="model">beesdoo.product.label</field>
|
|
<field name="arch" type="xml">
|
|
<form>
|
|
<group>
|
|
<field name="name" />
|
|
<field name="type" />
|
|
<field name="color_code" />
|
|
</group>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
<record model="ir.ui.view" id="product_template_form_view">
|
|
<field name="name">bees.product</field>
|
|
<field name="model">product.template</field>
|
|
<field name="inherit_id" ref="product.product_template_form_view"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//group[@name='inventory']/.." position="after">
|
|
<page string="Price tag">
|
|
<group>
|
|
<field name="label_to_be_printed"/>
|
|
<field name="label_last_printed"/>
|
|
</group>
|
|
<group name="label" col="4">
|
|
<group col="2">
|
|
<separator string="Amount" colspan="4"/>
|
|
<field name="display_weight"/>
|
|
<field name="display_unit"/>
|
|
<field name="default_reference_unit"/>
|
|
<separator string="Price" colspan="4"/>
|
|
<field name="total_with_vat"/>
|
|
<field name="total_with_vat_by_unit"/>
|
|
</group>
|
|
<group col="2">
|
|
<separator string="Bobo-level" colspan="4"/>
|
|
<field name="eco_label"/>
|
|
<field name="local_label"/>
|
|
<field name="fair_label"/>
|
|
<field name="origin_label"/>
|
|
<separator string="Origin" colspan="4"/>
|
|
<field name="main_seller_id"/>
|
|
</group>
|
|
</group>
|
|
</page>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|