summaryrefslogtreecommitdiff
path: root/fixco_custom/views
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-12-01 10:03:29 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-12-01 10:03:29 +0700
commit15377b23022440d88c40c656a513b3397ba43e9a (patch)
treeb6ae76c8eb15e54a5c3a1eb1ca4106044f9dc11e /fixco_custom/views
parent9c3a7bba06bba9db22d84286f96739ef37e49ace (diff)
push revisi hari sabtu tanggal 29/11/25
Diffstat (limited to 'fixco_custom/views')
-rw-r--r--fixco_custom/views/manage_stock.xml2
-rwxr-xr-xfixco_custom/views/product_product.xml7
-rw-r--r--fixco_custom/views/wizard_purchase_pricelist.xml29
3 files changed, 37 insertions, 1 deletions
diff --git a/fixco_custom/views/manage_stock.xml b/fixco_custom/views/manage_stock.xml
index c617e11..60b80a1 100644
--- a/fixco_custom/views/manage_stock.xml
+++ b/fixco_custom/views/manage_stock.xml
@@ -10,6 +10,7 @@
<field name="buffer_stock"/>
<field name="qty_available"/>
<field name="qty_onhand"/>
+ <field name="qty_incoming"/>
<field name="vendor_id"/>
</tree>
</field>
@@ -28,6 +29,7 @@
<field name="buffer_stock"/>
<field name="qty_available"/>
<field name="qty_onhand"/>
+ <field name="qty_incoming"/>
<field name="vendor_id"/>
</group>
</group>
diff --git a/fixco_custom/views/product_product.xml b/fixco_custom/views/product_product.xml
index 08952b6..a622d36 100755
--- a/fixco_custom/views/product_product.xml
+++ b/fixco_custom/views/product_product.xml
@@ -6,9 +6,14 @@
<field name="model">product.product</field>
<field name="inherit_id" ref="product.product_normal_form_view"/>
<field name="arch" type="xml">
+ <xpath expr="//header" position="inside">
+ <button name="action_open_pricelist_wizard"
+ type="object"
+ string="Create/Update Purchase Pricelist"
+ class="oe_highlight"/>
+ </xpath>
<field name="categ_id" position="after">
<field name="brand_id" />
- <field name="qty_multiple" />
<field name="barcode_box" />
<field name="qty_pcs_box" />
<field name="qr_code_variant" widget="image" readonly="True"/>
diff --git a/fixco_custom/views/wizard_purchase_pricelist.xml b/fixco_custom/views/wizard_purchase_pricelist.xml
new file mode 100644
index 0000000..85ec528
--- /dev/null
+++ b/fixco_custom/views/wizard_purchase_pricelist.xml
@@ -0,0 +1,29 @@
+<!-- file: views/purchase_pricelist_wizard_view.xml -->
+<odoo>
+ <record id="purchase_pricelist_wizard_form" model="ir.ui.view">
+ <field name="name">purchase.pricelist.wizard.form</field>
+ <field name="model">purchase.pricelist.wizard</field>
+ <field name="arch" type="xml">
+
+ <form string="Create Purchase Pricelist">
+ <group>
+ <field name="product_id" readonly="1"/>
+ <field name="vendor_id"/>
+ <field name="price"/>
+ </group>
+
+ <footer>
+ <button string="Create"
+ type="object"
+ name="action_create_pricelist"
+ class="btn-primary"/>
+
+ <button string="Cancel"
+ class="btn-secondary"
+ special="cancel"/>
+ </footer>
+ </form>
+
+ </field>
+ </record>
+</odoo>