informe_posgral_view.xml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record id="report_posgral_tree_view" model="ir.ui.view">
  5. <field name="name">report.posgral.tree.view</field>
  6. <field name="model">pos.reportgral</field>
  7. <field name="priority" eval="20"/>
  8. <field name="arch" type="xml">
  9. <tree string="Listado General de Punto de Ventas" create="false">
  10. <field name="id" invisible="1"/>
  11. <field name="date"/>
  12. <field name="user_id" invisible="1"/>
  13. <field name="company_id" invisible="1" group="base.group_multi_company"/>
  14. <field name="partner_id" invisible="1"/>
  15. <field name="product_id" string="Producto"/>
  16. <field name="product_categ_id" invisible="1"/>
  17. <field name="nbr" sum="# of Lines"/>
  18. <field name="product_qty" sum="# of Qty" string="Cantidad"/>
  19. <field name="price_total" sum="Total" string="Total"/>
  20. <field name="state" invisible="1"/>
  21. </tree>
  22. </field>
  23. </record>
  24. <record id="action_report_posgral_tree_view" model="ir.actions.act_window">
  25. <field name="name">Listado General de Punto de Ventas</field>
  26. <field name="res_model">pos.reportgral</field>
  27. <field name="view_type">form</field>
  28. <field name="view_mode">tree</field>
  29. </record>
  30. <menuitem action="action_report_posgral_tree_view" id="menu_point_of_sale2" parent="point_of_sale.menu_point_rep" sequence="6" />
  31. </data>
  32. </openerp>