|
@@ -0,0 +1,18 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<openerp>
|
|
|
+ <data>
|
|
|
+ <record id="view_product_curve_form" model="ir.ui.view">
|
|
|
+ <field name="name">product.curve.form</field>
|
|
|
+ <field name="model">product.template</field>
|
|
|
+ <field name="inherit_id" ref="product.product_template_only_form_view"/>
|
|
|
+ <field name="arch" type="xml">
|
|
|
+ <div name="options" position="inside">
|
|
|
+ <field name="product_website_sale_type" class="oe_inline"/><label for="product_website_sale_type" string="¿Este producto se vende por curva?"/>
|
|
|
+ </div>
|
|
|
+ <field name="active" position="after">
|
|
|
+ <field name="curva" string="Configurar curva" attrs="{'invisible': [('product_website_sale_type','=', False)],'required': [('product_website_sale_type','=', True)]}"/>
|
|
|
+ </field>
|
|
|
+ </field>
|
|
|
+ </record>
|
|
|
+ </data>
|
|
|
+</openerp>
|