product.xml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record model="ir.ui.view" id="inmobiliaria_product_template">
  5. <field name="name">inmobiliaria_product_template</field>
  6. <field name="model">product.template</field>
  7. <field name="inherit_id" ref="product.product_template_form_view"/>
  8. <field name="arch" type="xml">
  9. <xpath expr="//page[@string='Sales']" position="inside">
  10. <group name="comisiones" string="Comisiones">
  11. <field name="comision_inmobiliaria"/>
  12. <field name="comision_vendedor"/>
  13. <field name="comision_propietario"/>
  14. <field name="comision_total"/>
  15. </group>
  16. </xpath>
  17. <xpath expr="//page[@string='Sales']" position="after">
  18. <page string="Datos del Terreno">
  19. <group name="terreno" string="Datos del Terreno">
  20. <field name="t_propietario" domain="[('supplier','=',True)]"/>
  21. <field name="t_nro"/>
  22. <field name="t_manzana"/>
  23. <field name="t_lote"/>
  24. <field name="t_tamanho"/>
  25. <field name="t_direccion"/>
  26. <field name="t_estado"/>
  27. <field name="t_descripcion"/>
  28. </group>
  29. </page>
  30. </xpath>
  31. </field>
  32. </record>
  33. </data>
  34. </openerp>