12345678910111213141516171819202122232425262728293031323334353637 |
- <?xml version="1.0" encoding="utf-8"?>
- <odoo>
- <record id="view_purchase_bill_union_filter" model="ir.ui.view">
- <field name="name">purchase.bill.union.select</field>
- <field name="model">purchase.bill.union</field>
- <field name="arch" type="xml">
- <search string="Search Reference Document">
- <field name="name" string="Reference" filter_domain="['|', ('name','ilike',self), ('reference','=like',self+'%')]"/>
- <field name="amount"/>
- <separator/>
- <field name="partner_id" operator="child_of"/>
- <separator/>
- <filter name="purchase_orders" string="Purchase Orders" domain="[('purchase_order_id', '!=', False)]"/>
- <filter name="vendor_bills" string="Vendor Bills" domain="[('vendor_bill_id', '!=', False)]"/>
- </search>
- </field>
- </record>
- <record id="view_purchase_bill_union_tree" model="ir.ui.view">
- <field name="name">purchase.bill.union.tree</field>
- <field name="model">purchase.bill.union</field>
- <field name="arch" type="xml">
- <tree string="Reference Document">
- <field name="name"/>
- <field name="reference"/>
- <field name="partner_id"/>
- <field name="date"/>
- <field name="amount"/>
- <field name="currency_id" invisible="1"/>
- <field name="company_id" groups="base.group_multi_company" options="{'no_create': True}"/>
- </tree>
- </field>
- </record>
- </odoo>
|