summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fixco_custom/views/purchase_order.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/fixco_custom/views/purchase_order.xml b/fixco_custom/views/purchase_order.xml
index 240d83b..76df6e4 100644
--- a/fixco_custom/views/purchase_order.xml
+++ b/fixco_custom/views/purchase_order.xml
@@ -78,6 +78,7 @@
</field>
</field>
</record>
+
<record id="view_purchase_order_filter_inherit" model="ir.ui.view">
<field name="name">purchase.order.filter.inherit.custom</field>
<field name="model">purchase.order</field>
@@ -93,6 +94,20 @@
</field>
</record>
+ <record id="view_purchase_order_search_inherit" model="ir.ui.view">
+ <field name="name">purchase.order.search.inherit.custom</field>
+ <field name="model">purchase.order</field>
+ <field name="inherit_id" ref="purchase.purchase_order_view_search"/>
+ <field name="arch" type="xml">
+ <xpath expr="//search" position="inside">
+ <field name="soo_number"
+ string="SOO Number"
+ filter_domain="[
+ ('soo_number', 'ilike', self)
+ ]"/>
+ </xpath>
+ </field>
+ </record>
<record id="purchase_order_multi_create_bills_ir_actions_server" model="ir.actions.server">
<field name="name">Multi Bills</field>