purchase_view.xml 655 B

123456789101112131415
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record id="view_purchase_order_filter_top25_product" model="ir.ui.view">
  5. <field name="name">purchase.order.filter</field>
  6. <field name="model">purchase.order</field>
  7. <field name="inherit_id" ref="purchase.view_purchase_order_filter"/>
  8. <field name="arch" type="xml">
  9. <xpath expr="//search" position="inside">
  10. <filter string="Top productos de mayor tendencia" domain="[('id','!=',False)]" context="{'top_25': True}"/>
  11. </xpath>
  12. </field>
  13. </record>
  14. </data>
  15. </openerp>