diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2024-08-14 10:40:12 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2024-08-14 10:40:12 +0700 |
| commit | 1845bfdd4e3bd693d691e505b3dc398c028b7e1b (patch) | |
| tree | 6dd97c56e56beedf6960bd1ee0d84c54ea31e283 /indoteknik_custom/views | |
| parent | 2788396b4b1ccbb83c287f9bba0d52e7799f7b38 (diff) | |
another checkpoint
Diffstat (limited to 'indoteknik_custom/views')
| -rwxr-xr-x | indoteknik_custom/views/sale_order.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml index c13026ed..1257ff85 100755 --- a/indoteknik_custom/views/sale_order.xml +++ b/indoteknik_custom/views/sale_order.xml @@ -43,6 +43,10 @@ attrs="{'invisible': ['|', ('applied_voucher_id', '=', False), ('state', 'not in', ['draft','sent'])]}" /> </div> + <button name="calculate_selling_price" + string="Calculate Selling Price" + type="object" + /> </field> <field name="source_id" position="attributes"> <attribute name="invisible">1</attribute> @@ -66,10 +70,6 @@ string="Override Create Invoice" type="object" /> - <button name="calculate_selling_price" - string="Calculate Selling Price" - type="object" - /> </field> <field name="partner_shipping_id" position="after"> <field name="real_shipping_id"/> @@ -100,7 +100,7 @@ </attribute> </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')]}"/> + <field name="vendor_id" attrs="{'readonly': [('parent.approval_status', '=', 'approved')]}" domain="[('parent_id', '=', False)]"/> <field name="purchase_price" attrs=" { 'readonly': [ |
