summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2023-08-18 14:02:52 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2023-08-18 14:02:52 +0700
commita2cb7fefe587a215f5bebe52ee85ef7bf440df0a (patch)
tree08d081e343232ea7d2a8498e000d6550f4c10b02 /indoteknik_custom/views
parent2a4daec248064f7dc1d9e5a9d08ad935a299ca61 (diff)
automatic purchase pricelist
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/product_sla.xml14
-rwxr-xr-xindoteknik_custom/views/purchase_pricelist.xml7
2 files changed, 12 insertions, 9 deletions
diff --git a/indoteknik_custom/views/product_sla.xml b/indoteknik_custom/views/product_sla.xml
index cec3f980..d0d3f84a 100644
--- a/indoteknik_custom/views/product_sla.xml
+++ b/indoteknik_custom/views/product_sla.xml
@@ -18,15 +18,15 @@
<field name="arch" type="xml">
<form>
<sheet string="Product Sla">
+ <group>
<group>
- <group>
- <field name="product_variant_id"/>
- <field name="avg_leadtime"/>
- <field name="sla"/>
- <field name="version"/>
- </group>
+ <field name="product_variant_id"/>
+ <field name="avg_leadtime"/>
+ <field name="sla"/>
+ <field name="version"/>
</group>
- </sheet>
+ </group>
+ </sheet>
</form>
</field>
</record>
diff --git a/indoteknik_custom/views/purchase_pricelist.xml b/indoteknik_custom/views/purchase_pricelist.xml
index d6abcec1..f9fd52ba 100755
--- a/indoteknik_custom/views/purchase_pricelist.xml
+++ b/indoteknik_custom/views/purchase_pricelist.xml
@@ -8,6 +8,9 @@
<field name="product_id"/>
<field name="vendor_id"/>
<field name="product_price"/>
+ <field name="system_price"/>
+ <field name="human_last_update"/>
+ <field name="system_last_update"/>
</tree>
</field>
</record>
@@ -15,7 +18,7 @@
<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">
+ <field name="arch" type="xml">
<form>
<sheet>
<group>
@@ -23,8 +26,8 @@
<field name="product_id"/>
<field name="vendor_id" context="{'res_partner_search_mode': 'supplier'}"/>
<field name="product_price"/>
+ <field name="system_price"/>
</group>
- <group></group>
</group>
</sheet>
</form>