partner_view_sale.xml 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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="Historial">
  11. <notebook>
  12. <!-- Iniciativas y Oportunidades -->
  13. <page string=" Iniciativas y Oportunidades ">
  14. <group col="1">
  15. <field name="all_opportunity_ids" readonly="1" nolabel='1' delete='false' create='false'>
  16. </field>
  17. </group>
  18. </page>
  19. <!-- Llamadas telefónicas -->
  20. <page string=" Llamadas telefónicas ">
  21. <group col="1">
  22. <field name="phonecall_ids" readonly="1" nolabel='1' delete='false' create='false'>
  23. </field>
  24. </group>
  25. </page>
  26. <!-- Reuniones -->
  27. <page string=" Reuniones ">
  28. <group col="1">
  29. <field name="meeting_ids" readonly="1" nolabel='1' delete='false' create='false'>
  30. </field>
  31. </group>
  32. </page>
  33. <!--ventas-->
  34. <page string="Ventas">
  35. <group col="1">
  36. <field name="sale_order_ids" readonly="1" nolabel='1'>
  37. <tree delete='false' create='false'>
  38. <field name="name"/>
  39. <field name="date_order"/>
  40. <field name="user_id"/>
  41. <field name="amount_total" sum="Total"/>
  42. <field name="state"/>
  43. </tree>
  44. </field>
  45. </group>
  46. </page>
  47. <!-- Facturacion -->
  48. <page string="Facturaciones">
  49. <group col="1">
  50. <field name="invoice_ids" readonly="1" nolabel='1'>
  51. <tree delete='false' create='false'>
  52. <field name="number"/>
  53. <field name="date_invoice"/>
  54. <field name="user_id"/>
  55. <field name="origin"/>
  56. <field name="residual" sum="Saldo Pendiente"/>
  57. <field name="amount_total" sum="Total"/>
  58. <field name="state"/>
  59. </tree>
  60. </field>
  61. </group>
  62. </page>
  63. <!-- picking -->
  64. <page string="Productos">
  65. <group col="1">
  66. <field name="product_order_line" readonly="1" nolabel='1' >
  67. <tree editable='bottom' delete='false' create='false'>
  68. <field name='product_id' string="Productos"/>
  69. <field name='product_qty' string="Cantidad" sum='qty'/>
  70. </tree>
  71. </field>
  72. </group>
  73. </page>
  74. </notebook>
  75. </page>
  76. </notebook>
  77. </field>
  78. </record>
  79. </data>
  80. </openerp>