summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-10-03 10:12:24 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-10-03 10:12:24 +0700
commit4a69c71eab2d4ea3504a0cf6e3a9ca241be48594 (patch)
treeeb03e833a86acfe72870099d1671ad6dfae86d37 /indoteknik_custom/views
parent8b63d79efe0137ce6af535847f33868e73ce8d3c (diff)
push
Diffstat (limited to 'indoteknik_custom/views')
-rwxr-xr-xindoteknik_custom/views/sale_order.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml
index 029c99e9..f2a57fc7 100755
--- a/indoteknik_custom/views/sale_order.xml
+++ b/indoteknik_custom/views/sale_order.xml
@@ -117,6 +117,7 @@
</xpath>
<xpath expr="//form/sheet/notebook/page/field[@name='order_line']/tree/field[@name='price_total']" position="after">
<field name="vendor_id" attrs="{'readonly': [('parent.approval_status', '=', 'approved')]}" domain="[('parent_id', '=', False)]" options="{'no_create':True}"/>
+ <field name="vendor_md_id" readonly="1" options="{'no_create':True}"/>
<field name="purchase_price" attrs="
{
'readonly': [
@@ -126,6 +127,7 @@
]
}
"/>
+ <field name="purchase_price_md" readonly="1"/>
<field name="purchase_tax_id" attrs="{'readonly': [('parent.approval_status', '!=', False)]}" domain="[('type_tax_use','=','purchase')]" options="{'no_create':True}"/>
<field name="item_percent_margin"/>
<field name="item_margin" optional="hide"/>