summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorMqdd <ahmadmiqdad27@gmail.com>2025-12-23 10:59:19 +0700
committerMqdd <ahmadmiqdad27@gmail.com>2025-12-23 10:59:19 +0700
commit739efe5bbcce20b3fdb524d9045a310ffa84c0f1 (patch)
tree32fa45c5fac49a558a15ab0e4b2254bc559c6a22 /indoteknik_custom/views
parent56a252e8accd9c330826ea2e8e596792b5925af9 (diff)
<Miqdad> action seen purchasing job
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/purchasing_job.xml11
1 files changed, 10 insertions, 1 deletions
diff --git a/indoteknik_custom/views/purchasing_job.xml b/indoteknik_custom/views/purchasing_job.xml
index 2466e7be..6b8baa53 100644
--- a/indoteknik_custom/views/purchasing_job.xml
+++ b/indoteknik_custom/views/purchasing_job.xml
@@ -98,6 +98,15 @@
<field name="code">action = records.open_form_multi_generate_request_po()</field>
</record>
+ <record id="purchasing_job_action_seen_ir_actions_server" model="ir.actions.server">
+ <field name="name">Seen Selected Job</field>
+ <field name="model_id" ref="model_v_purchasing_job"/>
+ <field name="binding_model_id" ref="model_v_purchasing_job"/>
+ <field name="binding_view_types">form,list</field>
+ <field name="state">code</field>
+ <field name="code">action = records._set_as_seen()</field>
+ </record>
+
<menuitem
id="menu_purchasing_job"
name="Purchasing Job"
@@ -106,4 +115,4 @@
action="v_purchasing_job_action"
/>
-</odoo> \ No newline at end of file
+</odoo>