summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/vendor_sla.xml
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2025-05-23 02:11:28 +0000
committerIT Fixcomart <it@fixcomart.co.id>2025-05-23 02:11:28 +0000
commit957004adc73e524667800457f3db9fb6793edeac (patch)
tree1824b9ee589f2b54657ab75f539b2f7d02224e7c /indoteknik_custom/views/vendor_sla.xml
parent92b6da28414fed56732f86e1f04ea2fac3464d7d (diff)
parent558130bbf48c33ddfa6080450c80bc8801a570f0 (diff)
Merged in CR/form-merchant (pull request #310)odoo-production
odoo quotation view & merchant view
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