summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/stock_vendor.xml
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-07-22 09:55:08 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-07-22 09:55:08 +0700
commite2d42ebca210467698f163558e6e4390dcecaae9 (patch)
treeb86fc1a2d5b30d04dfef6b7deef9424d06738503 /indoteknik_custom/views/stock_vendor.xml
parent5d27587d8c84d74e4fa26f8aaf34843d0261b985 (diff)
add compute web price and stock vendor
Diffstat (limited to 'indoteknik_custom/views/stock_vendor.xml')
-rw-r--r--indoteknik_custom/views/stock_vendor.xml49
1 files changed, 49 insertions, 0 deletions
diff --git a/indoteknik_custom/views/stock_vendor.xml b/indoteknik_custom/views/stock_vendor.xml
new file mode 100644
index 00000000..70970fb6
--- /dev/null
+++ b/indoteknik_custom/views/stock_vendor.xml
@@ -0,0 +1,49 @@
+<odoo>
+ <data>
+ <record id="stock_vendor_action" model="ir.actions.act_window">
+ <field name="name">Stock vendor</field>
+ <field name="res_model">stock.vendor</field>
+ <field name="view_mode">tree,form</field>
+ <field name="help" type="html">
+ <p class="o_view_nocontent_smiling_face">
+ Stock vendor
+ </p>
+ </field>
+ </record>
+
+ <record id="stock_vendor_tree" model="ir.ui.view">
+ <field name="name">Stock vendor</field>
+ <field name="model">stock.vendor</field>
+ <field name="arch" type="xml">
+ <tree>
+ <field name="product_variant_id"/>
+ <field name="quantity"/>
+ </tree>
+ </field>
+ </record>
+
+ <record id="stock_vendor_form" model="ir.ui.view">
+ <field name="name">Stock vendor</field>
+ <field name="model">stock.vendor</field>
+ <field name="arch" type="xml">
+ <form>
+ <sheet>
+ <group>
+ <group>
+ <field name="product_variant_id"/>
+ <field name="quantity"/>
+ </group>
+ <group></group>
+ </group>
+ </sheet>
+ </form>
+ </field>
+ </record>
+
+ <menuitem id="stock_vendor"
+ name="Stock vendor"
+ parent="sale.product_menu_catalog"
+ sequence="3"
+ action="stock_vendor_action"/>
+ </data>
+</odoo> \ No newline at end of file