summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/purchase_outstanding.xml
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-01-04 14:52:28 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-01-04 14:52:28 +0700
commit7cc4bec031757d23c7f7f9e754fc2997d2dfd921 (patch)
tree2ace5dc432e04a4d8f91be276b3c8b83adda3935 /indoteknik_custom/views/purchase_outstanding.xml
parent3a5407d507ff985e10b4675727643bf5af107d11 (diff)
parentb0f4f1875216bbb0347c082f38b91b59e5bbf50c (diff)
Merge branch 'release' into staging
Diffstat (limited to 'indoteknik_custom/views/purchase_outstanding.xml')
-rw-r--r--indoteknik_custom/views/purchase_outstanding.xml74
1 files changed, 74 insertions, 0 deletions
diff --git a/indoteknik_custom/views/purchase_outstanding.xml b/indoteknik_custom/views/purchase_outstanding.xml
new file mode 100644
index 00000000..dc203744
--- /dev/null
+++ b/indoteknik_custom/views/purchase_outstanding.xml
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<odoo>
+ <record id="purchase_outstanding_tree" model="ir.ui.view">
+ <field name="name">purchase.outstanding.tree</field>
+ <field name="model">purchase.outstanding</field>
+ <field name="arch" type="xml">
+ <tree create="false">
+ <field name="order_id"/>
+ <field name="partner_id"/>
+ <field name="user_id"/>
+ <field name="date_order"/>
+ <field name="po_state"/>
+ <field name="po_status"/>
+ <field name="product_id"/>
+ <field name="product_uom_qty"/>
+ <field name="qty_received"/>
+ </tree>
+ </field>
+ </record>
+
+ <record id="purchase_outstanding_form" model="ir.ui.view">
+ <field name="name">purchase.outstanding.form</field>
+ <field name="model">purchase.outstanding</field>
+ <field name="arch" type="xml">
+ <form create="false" edit="false">
+ <sheet>
+ <group>
+ <group>
+ <field name="order_id"/>
+ <field name="partner_id"/>
+ <field name="user_id"/>
+ <field name="date_order"/>
+ <field name="po_state"/>
+ <field name="po_status"/>
+ <field name="product_id"/>
+ </group>
+ <group>
+ <field name="product_uom_qty"/>
+ <field name="qty_received"/>
+ </group>
+ </group>
+ </sheet>
+ </form>
+ </field>
+ </record>
+
+ <record id="view_purchase_outstanding_filter" model="ir.ui.view">
+ <field name="name">purchase.outstanding.list.select</field>
+ <field name="model">purchase.outstanding</field>
+ <field name="priority" eval="15"/>
+ <field name="arch" type="xml">
+ <search string="Search Purchase Outstanding">
+ <field name="order_id"/>
+ <field name="product_id"/>
+ </search>
+ </field>
+ </record>
+
+ <record id="purchase_outstanding_action" model="ir.actions.act_window">
+ <field name="name">Purchase Outstanding</field>
+ <field name="type">ir.actions.act_window</field>
+ <field name="res_model">purchase.outstanding</field>
+ <field name="search_view_id" ref="view_purchase_outstanding_filter"/>
+ <field name="view_mode">tree,form</field>
+ </record>
+
+ <menuitem
+ id="menu_purchase_outstanding"
+ name="Purchase Outstanding"
+ parent="purchase.menu_purchase_products"
+ sequence="4"
+ action="purchase_outstanding_action"
+ />
+</odoo> \ No newline at end of file