123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <record id="product_template_only_form_view" model="ir.ui.view">
- <field name="name">ProductTemplateOnlyFormView</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="description" position="before">
- <group>
- <group string="Precios de Venta">
- <field name="pricelists" nolabel="1" colspan="2" context="{'product_template_id': active_id}">
- <tree string="Sale Prices" editable="bottom" create="false" delete="false" colors="red:product_price_manual">
- <field name="name" readonly="1"/>
- <field name="product_price_manual" invisible="1"/>
- <field name="product_price" string="Precio"/>
- <button type="object" icon="STOCK_CLOSE"
- name="remove_price_manual"
- />
- </tree>
- </field>
- </group>
- <group string="Precios de Compra">
- <field name="purchase_pricelists" nolabel="1" colspan="2" context="{'product_template_id': active_id}">
- <tree string="Purchase Prices" editable="bottom" create="false" delete="false" colors="red:product_price_manual">
- <field name="name" readonly="1"/>
- <field name="product_price_manual" invisible="1"/>
- <field name="product_price" string="Precio"/>
- <button type="object" icon="STOCK_CLOSE"
- name="remove_price_manual"
- />
- </tree>
- </field>
- </group>
- </group>
- </field>
- </field>
- </record>
-
- </data>
- </openerp>
|