summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-07-27 10:40:40 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-07-27 10:40:40 +0700
commitdf7bbe715bb49d9986d68046127410340b617713 (patch)
tree6a2e633b3b8ef681cee84d228134b2427434472b /indoteknik_custom/views
parent690c4951fde01ae5108e75f4093eef0f00e25bdd (diff)
parent091d3159526442a41cc1026a7d54fbf5c2f951f8 (diff)
Merge branch 'production' of https://bitbucket.org/altafixco/indoteknik-addons into production
Diffstat (limited to 'indoteknik_custom/views')
-rwxr-xr-xindoteknik_custom/views/sale_order.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml
index 4570f43b..ae16f649 100755
--- a/indoteknik_custom/views/sale_order.xml
+++ b/indoteknik_custom/views/sale_order.xml
@@ -41,7 +41,7 @@
<field name="carrier_id" required="1"/>
<field name="delivery_service_type" readonly="1"/>
</field>
- <field name="source_id" position="after">
+ <field name="medium_id" position="after">
<field name="date_doc_kirim" readonly="1"/>
<field name="notification" readonly="1"/>
</field>
@@ -56,6 +56,10 @@
}
</attribute>
</xpath>
+ <field name="source_id" position="attributes">
+ <attribute name="domain">[('id', 'in', [32, 59, 60, 61])]</attribute>
+ <attribute name="required">1</attribute>
+ </field>
<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')]}"/>
<field name="purchase_price" attrs="