diff options
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/purchasing_job.xml | 11 |
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> |
