summaryrefslogtreecommitdiff
path: root/fixco_custom
diff options
context:
space:
mode:
authorMqdd <ahmadmiqdad27@gmail.com>2026-02-12 17:27:41 +0700
committerMqdd <ahmadmiqdad27@gmail.com>2026-02-12 17:27:41 +0700
commitf83e31153f08ae97ceaf4b29b7b83ebac6b891c0 (patch)
tree95ce892b6aa8c3c19950a31de0dd2d257f0a0452 /fixco_custom
parent3165c0b329732663cec4a5e9e1951a572cab1a11 (diff)
<Miqdad> PO soo number
Diffstat (limited to 'fixco_custom')
-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"/>