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.
92 lines
3.3 KiB
92 lines
3.3 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="list_price" position="after">
|
|
<field name="suggested_price" widget='monetary'
|
|
options="{'currency_field': 'currency_id'}" />
|
|
</field>
|
|
<field name="invoice_policy" position="attributes">
|
|
<attribute name="invisible">1</attribute>
|
|
</field>
|
|
<field name="purchase_method" position="attributes">
|
|
<attribute name="invisible">1</attribute>
|
|
</field>
|
|
<field name="route_ids" position="attributes">
|
|
<attribute name="invisible">1</attribute>
|
|
</field>
|
|
<group name="sale_condition" position="attributes">
|
|
<attribute name="invisible">1</attribute>
|
|
</group>
|
|
<field name="property_account_creditor_price_difference"
|
|
position="attributes">
|
|
<attribute name="invisible">1</attribute>
|
|
</field>
|
|
<xpath expr="//group[@name='inventory']/.." position="after">
|
|
<page string="Label">
|
|
<group>
|
|
<group name="label">
|
|
<field name="total_with_vat"/>
|
|
<field name="display_weight"/>
|
|
<field name="display_unit" />
|
|
<field name="default_reference_unit"/>
|
|
<field name="total_with_vat_by_unit" />
|
|
<field name="total_deposit" />
|
|
</group>
|
|
<group>
|
|
<field name="main_seller_id" />
|
|
<field name="eco_label"/>
|
|
<field name="local_label"/>
|
|
<field name="fair_label"/>
|
|
<field name="origin_label"/>
|
|
<field name="label_to_be_printed"/>
|
|
<field name="label_last_printed"/>
|
|
</group>
|
|
</group>
|
|
|
|
|
|
</page>
|
|
</xpath>
|
|
</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="beesdoo_product_category_list">
|
|
<field name="name">beesdoo.product.category.list</field>
|
|
<field name="model">product.category</field>
|
|
<field name="inherit_id" ref="product.product_category_list_view" />
|
|
<field name="arch" type="xml">
|
|
<field name="complete_name" position="after">
|
|
<field name="profit_margin"></field>
|
|
</field>
|
|
</field>
|
|
</record>
|
|
|
|
<record model="ir.ui.view" id="beesdoo_product_category_form">
|
|
<field name="name">beesdoo.product.category.form</field>
|
|
<field name="model">product.category</field>
|
|
<field name="inherit_id" ref="product.product_category_form_view" />
|
|
<field name="arch" type="xml">
|
|
<field name="parent_id" position="after">
|
|
<field name="profit_margin"></field>
|
|
</field>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|