partner_view_sale.xml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record id="view_sale_partner_form" model="ir.ui.view">
  5. <field name="name">view.sale.partner.form</field>
  6. <field name="model">res.partner</field>
  7. <field name="inherit_id" ref="base.view_partner_form"/>
  8. <field name="arch" type="xml">
  9. <notebook>
  10. <page string="Ventas &amp; Facturaciones">
  11. <notebook>
  12. <page string="Ventas">
  13. <group col="1">
  14. <field name="sale_order_ids" readonly="1" nolabel='1'>
  15. <tree>
  16. <field name="name"/>
  17. <field name="date_order"/>
  18. <field name="user_id"/>
  19. <field name="amount_total" sum="Total"/>
  20. <field name="state"/>
  21. </tree>
  22. </field>
  23. </group>
  24. </page>
  25. <page string="Facturaciones">
  26. <group col="1">
  27. <field name="invoice_ids" readonly="1" nolabel='1'>
  28. <tree>
  29. <field name="number"/>
  30. <field name="date_invoice"/>
  31. <field name="user_id"/>
  32. <field name="origin"/>
  33. <field name="residual" sum="Saldo Pendiente"/>
  34. <field name="amount_total" sum="Total"/>
  35. <field name="state"/>
  36. </tree>
  37. </field>
  38. </group>
  39. </page>
  40. </notebook>
  41. </page>
  42. </notebook>
  43. </field>
  44. </record>
  45. </data>
  46. </openerp>