diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-10-07 14:10:15 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-10-07 14:10:15 +0700 |
| commit | 6290e0e7a935c5084459843f8ba345ab9528d44c (patch) | |
| tree | 6cb2137633ab00112446c44afb7241c2e0fd11ba | |
| parent | 8f1d508cbceecc9ed32ed1d53331fe41289c23ba (diff) | |
add domain in purchase tax menu sale order
| -rwxr-xr-x | indoteknik_custom/views/sale_order.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml index f83b2a6b..47f9b4a4 100755 --- a/indoteknik_custom/views/sale_order.xml +++ b/indoteknik_custom/views/sale_order.xml @@ -25,7 +25,7 @@ <xpath expr="//form/sheet/notebook/page/field[@name='order_line']/tree/field[@name='price_total']" position="after"> <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="purchase_tax_id" attrs="{'readonly': [('parent.state', 'not in', ['draft', 'sent', 'sale'])]}" domain="[('type_tax_use','=','purchase')]"/> <field name="item_percent_margin"/> </xpath> <field name="amount_total" position="after"> |
