summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/x_partner_purchase_order.xml
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 17:21:18 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 17:21:18 +0700
commit803e4f8b3cf9c1d6a43a354023edc1e065f4121e (patch)
treeb462ac26fd679c449f848dc8a2de7fc1b8fe3c5c /indoteknik_custom/views/x_partner_purchase_order.xml
parent37c91dd605b4ff1acc9941eed549164eb7de2089 (diff)
initial commit 2
Diffstat (limited to 'indoteknik_custom/views/x_partner_purchase_order.xml')
-rw-r--r--indoteknik_custom/views/x_partner_purchase_order.xml56
1 files changed, 56 insertions, 0 deletions
diff --git a/indoteknik_custom/views/x_partner_purchase_order.xml b/indoteknik_custom/views/x_partner_purchase_order.xml
new file mode 100644
index 00000000..4b858726
--- /dev/null
+++ b/indoteknik_custom/views/x_partner_purchase_order.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<odoo>
+ <record id="x_partner_purchase_order_tree" model="ir.ui.view">
+ <field name="name">x.partner.purchase.order.tree</field>
+ <field name="model">x_partner.purchase.order</field>
+ <field name="arch" type="xml">
+ <tree>
+ <field name="id"/>
+ <field name="x_studio_field_yDfr5"/>
+ <field name="x_name"/>
+ <field name="x_studio_field_56vPy"/>
+ <field name="create_date"/>
+ </tree>
+ </field>
+ </record>
+
+ <record id="x_partner_purchase_order_form" model="ir.ui.view">
+ <field name="name">x.partner.purchase.order.form</field>
+ <field name="model">x_partner.purchase.order</field>
+ <field name="arch" type="xml">
+ <form>
+ <sheet>
+ <group>
+ <group>
+ <field name="x_studio_field_yDfr5"/>
+ <field name="x_name"/>
+ <field name="x_studio_field_eFt2C"/>
+ <field name="x_studio_field_56vPy"/>
+ <field name="x_studio_field_EcZlH"/>
+ </group>
+ </group>
+ </sheet>
+ </form>
+ </field>
+ </record>
+
+ <record id="x_partner_purchase_order_action" model="ir.actions.act_window">
+ <field name="name">Customer PO</field>
+ <field name="type">ir.actions.act_window</field>
+ <field name="res_model">x_partner.purchase.order</field>
+ <field name="view_mode">tree,form</field>
+ <field name="help" type="html">
+ <p class="o_view_nocontent_smiling_face">
+ Add Customer PO!
+ </p>
+ </field>
+ </record>
+
+ <menuitem
+ id="menu_x_partner_purchase_order"
+ name="Customer PO"
+ parent="sale.product_menu_catalog"
+ sequence="5"
+ action="x_partner_purchase_order_action"
+ />
+</odoo> \ No newline at end of file