summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/purchasing_job.xml
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-07-22 10:54:44 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-07-22 10:54:44 +0700
commit87f38f9fcb68f04a2cc8157744622c2d0ebf1eab (patch)
treeb7718dd2159cea7e91f2181a5690296c178f7c02 /indoteknik_custom/views/purchasing_job.xml
parent946e4b76e8280daad6d4849e9ced33a54d770a84 (diff)
notif open purchasing job
Diffstat (limited to 'indoteknik_custom/views/purchasing_job.xml')
-rw-r--r--indoteknik_custom/views/purchasing_job.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/indoteknik_custom/views/purchasing_job.xml b/indoteknik_custom/views/purchasing_job.xml
index 976f1485..e3866d84 100644
--- a/indoteknik_custom/views/purchasing_job.xml
+++ b/indoteknik_custom/views/purchasing_job.xml
@@ -4,7 +4,7 @@
<field name="name">v.purchasing.job.tree</field>
<field name="model">v.purchasing.job</field>
<field name="arch" type="xml">
- <tree create="false" multi_edit="1">
+ <tree decoration-info="(check_pj == False)" create="false" multi_edit="1">
<field name="product_id"/>
<field name="vendor_id"/>
<field name="purchase_representative_id"/>
@@ -19,6 +19,14 @@
<field name="note"/>
<field name="date_po"/>
<field name="so_number"/>
+ <field name="check_pj" invisible="1"/>
+ <button name="action_open_job_detail"
+ string="📄"
+ type="object"
+ icon="fa-file"
+ attrs="{'invisible': [('check_pj','=',True)]}"
+ context="{}"/>
+
</tree>
</field>
</record>