|
|
@ -11,18 +11,12 @@ |
|
|
|
<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> |
|
|
@ -72,6 +66,17 @@ |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
|
|
|
|
<record model="ir.ui.view" id="beesdoo_product_sales_form"> |
|
|
|
<field name="name">bees.product.sales.form</field> |
|
|
|
<field name="model">product.template</field> |
|
|
|
<field name="inherit_id" ref="sale.product_template_form_view_invoice_policy" /> |
|
|
|
<field name="arch" type="xml"> |
|
|
|
<field name="invoice_policy" position="attributes"> |
|
|
|
<attribute name="invisible">1</attribute> |
|
|
|
</field> |
|
|
|
</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> |
|
|
@ -91,7 +96,7 @@ |
|
|
|
<field name="name">bees.product.label.tree</field> |
|
|
|
<field name="model">beesdoo.product.label</field> |
|
|
|
<field name="arch" type="xml"> |
|
|
|
<tree editable="Top"> |
|
|
|
<tree editable="top"> |
|
|
|
<field name="name" /> |
|
|
|
<field name="type" /> |
|
|
|
<field name="color_code" /> |
|
|
@ -105,7 +110,7 @@ |
|
|
|
<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="display_name" position="after"> |
|
|
|
<field name="profit_margin"></field> |
|
|
|
</field> |
|
|
|
</field> |
|
|
@ -139,13 +144,13 @@ |
|
|
|
<field name="view_mode">tree,form</field> |
|
|
|
</record> |
|
|
|
|
|
|
|
<menuitem id="label_configuration_menu" name="Labels" parent="product.prod_config_main" |
|
|
|
<menuitem id="label_configuration_menu" name="Labels" parent="sale.prod_config_main" |
|
|
|
action="action_labels" sequence="20"/> |
|
|
|
|
|
|
|
<record id="beesdoo_product_uom_categ_form" model="ir.ui.view"> |
|
|
|
<field name="name">product.uom.categ.form</field> |
|
|
|
<field name="model">product.uom.categ</field> |
|
|
|
<field name="inherit_id" ref="product.product_uom_categ_form_view" /> |
|
|
|
<field name="name">uom.category.form</field> |
|
|
|
<field name="model">uom.category</field> |
|
|
|
<field name="inherit_id" ref="uom.product_uom_categ_form_view" /> |
|
|
|
<field name="arch" type="xml"> |
|
|
|
<field name="name" position="after"> |
|
|
|
<field name="type"/> |
|
|
@ -183,6 +188,6 @@ |
|
|
|
<field name="view_mode">tree,form</field> |
|
|
|
</record> |
|
|
|
|
|
|
|
<menuitem id="scale_categories_configuration_menu" name="Scale categories" parent="product.prod_config_main" |
|
|
|
<menuitem id="scale_categories_configuration_menu" name="Scale categories" parent="sale.prod_config_main" |
|
|
|
action="action_scale_categories" sequence="15"/> |
|
|
|
</odoo> |