|
|
@ -1,14 +1,98 @@ |
|
|
|
<openerp> |
|
|
|
<data> |
|
|
|
|
|
|
|
<record model="ir.ui.view" id="beesdoo_simplified_product_view_form"> |
|
|
|
<record model="ir.ui.view" id="beesdoo_simplified_product_view_form_sale"> |
|
|
|
<field name="name">beesdoo_simplified_view list</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="replace"> |
|
|
|
<field name="invoice_policy" widget="radio" invisible="False"/> |
|
|
|
<field name="invoice_policy" widget="radio" invisible="True"/> |
|
|
|
</field> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
<record model="ir.ui.view" id="beesdoo_simplified_product_view_form_purchase"> |
|
|
|
<field name="name">beesdoo_simplified_view list</field> |
|
|
|
<field name="model">product.template</field> |
|
|
|
<field name="inherit_id" ref="purchase.view_product_supplier_inherit"/> |
|
|
|
<field name="arch" type="xml"> |
|
|
|
<field name="purchase_method" position="replace"> |
|
|
|
<field name="purchase_method" widget="radio" invisible="True"/> |
|
|
|
</field> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
<record model="ir.ui.view" id="beesdoo_simplified_product_view_form_stock"> |
|
|
|
<field name="name">beesdoo_simplified_view list</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="route_ids" position="replace"> |
|
|
|
<field name="route_ids" widget="radio" invisible="True"/> |
|
|
|
</field> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
<record model="ir.ui.view" id="beesdoo_simplified_product_view_form_stock_sale_condition"> |
|
|
|
<field name="name">beesdoo_simplified_view list</field> |
|
|
|
<field name="model">product.template</field> |
|
|
|
<field name="inherit_id" ref="product.product_template_only_form_view"/> |
|
|
|
<field name="arch" type="xml"> |
|
|
|
<group name="sale_condition" position="replace"> |
|
|
|
<group name="sale_condition" widget="radio" invisible="True"/> |
|
|
|
</group> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
<record model="ir.ui.view" id="beesdoo_simplified_product_view_form_stock_difference"> |
|
|
|
<field name="name">beesdoo_simplified_view list</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="property_account_creditor_price_difference" position="replace"> |
|
|
|
<field name="property_account_creditor_price_difference" widget="radio" invisible="True"/> |
|
|
|
</field> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
<record model="ir.ui.view" id="beesdoo_simplified_product_view_form_stock_expense"> |
|
|
|
<field name="name">beesdoo_simplified_view list</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="property_account_expense_id" position="replace"> |
|
|
|
<field name="property_account_expense_id" widget="radio" invisible="True"/> |
|
|
|
</field> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
<record model="ir.ui.view" id="beesdoo_simplified_product_view_form_stock_income"> |
|
|
|
<field name="name">beesdoo_simplified_view list</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="property_account_income_id" position="replace"> |
|
|
|
<field name="property_account_income_id" widget="radio" invisible="True"/> |
|
|
|
</field> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
<record model="ir.ui.view" id="beesdoo_simplified_product_view_form_stock_description"> |
|
|
|
<field name="name">beesdoo_simplified_view list</field> |
|
|
|
<field name="model">product.template</field> |
|
|
|
<field name="inherit_id" ref="product.product_template_only_form_view"/> |
|
|
|
<field name="arch" type="xml"> |
|
|
|
<group name="description" position="replace"> |
|
|
|
<group name="description" invisible="False"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<separator string="Description pour le ramassage" colspan="4"/> |
|
|
|
<field name="description_picking" |
|
|
|
placeholder="Description for Pickings (Rack, Row and Case Information)" nolabel="1" |
|
|
|
colspan="4" modifiers="{}"/> |
|
|
|
<field name="description_picking" |
|
|
|
placeholder="Description pour les devis" nolabel="1" |
|
|
|
colspan="4" modifiers="{}" invisible="True"/> |
|
|
|
<field name="description_picking" |
|
|
|
placeholder="Description for Vendors" nolabel="1" |
|
|
|
colspan="4" modifiers="{}" invisible="True"/> |
|
|
|
</group> |
|
|
|
</group> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
|
|
|
|