partner_view_sale.xml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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/Oportunidades ">
  14. <group col="1">
  15. <field name="all_opportunity_ids" readonly="1" nolabel='1' delete='false' create='false' editable='bottom'>
  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' editable='bottom'>
  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' editable='bottom'>
  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. <!-- pos.order -->
  64. <page string="Pos">
  65. <group col="1">
  66. <field name="id_pos_order" readonly="1" nolabel='1' editable='bottom'>
  67. <tree delete='false' create='false'>
  68. <field name='name'/>
  69. <field name='pos_reference'/>
  70. <field name='date_order'/>
  71. <field name='user_id'/>
  72. <field name='amount_total' sum='total'/>
  73. <field name='state'/>
  74. <field name='session_id'/>
  75. </tree>
  76. </field>
  77. </group>
  78. </page>
  79. <!-- pos.order.line -->
  80. <page string="Productos">
  81. <group col="1">
  82. <field name="product_stock_line" readonly="1" nolabel='1' >
  83. <tree editable='bottom' delete='false' create='false'>
  84. <field name='product_id' string="Productos"/>
  85. <field name='product_qty' string="Cantidad" sum='qty'/>
  86. </tree>
  87. </field>
  88. </group>
  89. </page>
  90. </notebook>
  91. </page>
  92. </notebook>
  93. </field>
  94. </record>
  95. </data>
  96. </openerp>