summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-09-28 10:59:19 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-09-28 10:59:19 +0700
commitd023b4f2564c7d2fbe3d61a2348250569f182dc4 (patch)
tree3514a547a1015a16da95839e5989b9f1ecc4fdc3 /indoteknik_custom/views
parent3a8710d164ced77e532b0b96988d84bb08515602 (diff)
Update sale_order.py and sale_order.xml
Diffstat (limited to 'indoteknik_custom/views')
-rwxr-xr-xindoteknik_custom/views/sale_order.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml
index 2260ddc1..17902aca 100755
--- a/indoteknik_custom/views/sale_order.xml
+++ b/indoteknik_custom/views/sale_order.xml
@@ -16,6 +16,7 @@
<field name="shipping_cost_covered"/>
<field name="shipping_paid_by"/>
<field name="delivery_amt"/>
+ <field name="sales_tax_id" domain="[('type_tax_use','=','sale')]"/>
</field>
<field name="partner_shipping_id" position="after">
<field name="approval_status" />
@@ -24,7 +25,6 @@
<field name="vendor_id" attrs="{'readonly': [('parent.state', 'not in', ['draft', 'sent', 'sale'])]}"/>
<field name="purchase_price" attrs="{'readonly': [('parent.state', 'not in', ['draft', 'sent', 'sale'])]}"/>
<field name="purchase_tax_id" attrs="{'readonly': [('parent.state', 'not in', ['draft', 'sent', 'sale'])]}"/>
- <field name="item_margin" groups="sales_team.group_sale_manager"/>
<field name="item_percent_margin" groups="sales_team.group_sale_manager"/>
</xpath>
<field name="amount_total" position="after">