account_sale_term.xml 1.1 KB

1234567891011121314151617181920212223242526272829
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <record id="account_sale_term_sale" model="ir.ui.view">
  5. <field name="name">account_sale_term.sale</field>
  6. <field name="model">sale.order</field>
  7. <field name="inherit_id" ref="sale.view_order_form"/>
  8. <field name="arch" type="xml">
  9. <notebook>
  10. <page string="Negociacion de venta">
  11. <group col="1">
  12. <field name="sale_term" nolabel='1'>
  13. <tree colors="red:state=='draft';black:state=='posted'" create='false'>
  14. <field name="sale_amount" string="Valor de Venta"/>
  15. <field name="sale_payments_init" string='Valor de Entrega'/>
  16. <field name="sale_residual" string='Saldo'/>
  17. <field name="interest_qty" string='Interes %' />
  18. <field name="interest_amount" string='Valor del Interes'/>
  19. <field name="amount_total" string='Residual + Interes'/>
  20. <field name="state" string='Estado'/>
  21. </tree>
  22. </field>
  23. </group>
  24. </page>
  25. </notebook>
  26. </field>
  27. </record>
  28. </data>
  29. </openerp>