summaryrefslogtreecommitdiff
path: root/fixco_custom/views/purchase_order.xml
diff options
context:
space:
mode:
Diffstat (limited to 'fixco_custom/views/purchase_order.xml')
-rw-r--r--fixco_custom/views/purchase_order.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/fixco_custom/views/purchase_order.xml b/fixco_custom/views/purchase_order.xml
index 6cf28ce..240d83b 100644
--- a/fixco_custom/views/purchase_order.xml
+++ b/fixco_custom/views/purchase_order.xml
@@ -74,9 +74,26 @@
<field name="arch" type="xml">
<field name="state" position="after">
<field name="bill_status"/>
+ <field name="soo_number" readonly="1"/>
</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>
+ <field name="inherit_id" ref="purchase.view_purchase_order_filter"/>
+ <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>
<field name="model_id" ref="purchase.model_purchase_order"/>