summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/vendor_sla.xml
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-03-10 09:53:52 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-03-10 09:53:52 +0700
commit07de307dde57f475c59e8bb01ee065f6f9ba48df (patch)
tree8e6be546a1efaea314457172f2511e4506c2487a /indoteknik_custom/views/vendor_sla.xml
parent92b1ec69af1fb5b062307c7c7a00c3e0fb0e9e01 (diff)
parentefdf162216dceff9b456b967d6ccd38da56fd1d5 (diff)
Merge branch 'odoo-backup' into CR/renca-tempo
Diffstat (limited to 'indoteknik_custom/views/vendor_sla.xml')
-rw-r--r--indoteknik_custom/views/vendor_sla.xml42
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