diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-03-10 08:42:21 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-03-10 08:42:21 +0700 |
| commit | 5aeeba569652f15a2cc506a4820ec8dcbda74565 (patch) | |
| tree | f2e9a927bf40f3bcca7737ed3c1bb4b1639a488e /indoteknik_custom/views/vendor_sla.xml | |
| parent | ad19154ae49ec5bc1178006344baf104154167bf (diff) | |
| parent | 3b8b4ec20d523cedf00d0a343ffc244e0a43da58 (diff) | |
Merge branch 'odoo-backup' into dev/wms
# Conflicts:
# indoteknik_custom/models/stock_picking.py
# indoteknik_custom/security/ir.model.access.csv
Diffstat (limited to 'indoteknik_custom/views/vendor_sla.xml')
| -rw-r--r-- | indoteknik_custom/views/vendor_sla.xml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/indoteknik_custom/views/vendor_sla.xml b/indoteknik_custom/views/vendor_sla.xml new file mode 100644 index 00000000..cf4425eb --- /dev/null +++ b/indoteknik_custom/views/vendor_sla.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="utf-8" ?> +<odoo> + <record id="vendor_action" model="ir.actions.act_window"> + <field name="name">Vendor SLA</field> + <field name="res_model">vendor.sla</field> + <field name="view_mode">tree,form</field> + </record> + + <record id="vendor_tree" model="ir.ui.view"> + <field name="name">Vendor SLA</field> + <field name="model">vendor.sla</field> + <field name="arch" type="xml"> + <tree> + <field name="id_vendor" string="Vendor Name" /> + <field name="duration_unit" string="Duration" /> + </tree> + </field> + </record> + + <record id="vendor_sla_view" model="ir.ui.view"> + <field name="name">Vendor SLA</field> + <field name="model">vendor.sla</field> + <field name="arch" type="xml"> + <form> + <sheet> + <group> + <field name="id_vendor" string="Vendor Name" /> + <field name="duration" string="SLA Duration" /> + <field name="unit" string="SLA Time" /> + </group> + </sheet> + </form> + </field> + </record> + + <menuitem id="menu_vendor_sla" + name="Vendor SLA" + parent="menu_monitoring_in_purchase" + sequence="1" + action="vendor_action" + /> +</odoo>
\ No newline at end of file |
