diff options
Diffstat (limited to 'indoteknik_custom/views/purchase_pricelist.xml')
| -rw-r--r-- | indoteknik_custom/views/purchase_pricelist.xml | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/indoteknik_custom/views/purchase_pricelist.xml b/indoteknik_custom/views/purchase_pricelist.xml new file mode 100644 index 00000000..d6abcec1 --- /dev/null +++ b/indoteknik_custom/views/purchase_pricelist.xml @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="utf-8" ?> +<odoo> + <record id="purchase_pricelist_tree" model="ir.ui.view"> + <field name="name">purchase.pricelist.tree</field> + <field name="model">purchase.pricelist</field> + <field name="arch" type="xml"> + <tree> + <field name="product_id"/> + <field name="vendor_id"/> + <field name="product_price"/> + </tree> + </field> + </record> + + <record id="purchase_pricelist_form" model="ir.ui.view"> + <field name="name">purchase.pricelist.form</field> + <field name="model">purchase.pricelist</field> + <field name="arch" type="xml"> + <form> + <sheet> + <group> + <group> + <field name="product_id"/> + <field name="vendor_id" context="{'res_partner_search_mode': 'supplier'}"/> + <field name="product_price"/> + </group> + <group></group> + </group> + </sheet> + </form> + </field> + </record> + + <record id="purchase_pricelist_action" model="ir.actions.act_window"> + <field name="name">Purchase Pricelist</field> + <field name="type">ir.actions.act_window</field> + <field name="res_model">purchase.pricelist</field> + <field name="view_mode">tree,form</field> + <field name="help" type="html"> + <p class="o_view_nocontent_smiling_face"> + Add Purchase Pricelist! + </p> + </field> + </record> + + <menuitem + id="menu_purchase_pricelist" + name="Purchase Pricelist" + parent="purchase.menu_purchase_products" + sequence="3" + action="purchase_pricelist_action" + /> +</odoo>
\ No newline at end of file |
