summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2024-04-01 15:15:55 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2024-04-01 15:15:55 +0700
commitac526d1dbdabc894c47e28bc3689bf6893bc1dea (patch)
treea4f3fd77f21e6769ba918881fc87594c0cf9d0ec
parentc82c2e8c2823b125c749d77b2178271f48bada8f (diff)
Add domain on web_tax_id on product.template
-rwxr-xr-xindoteknik_custom/views/product_template.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/views/product_template.xml b/indoteknik_custom/views/product_template.xml
index 9d9e3f81..309cbcc5 100755
--- a/indoteknik_custom/views/product_template.xml
+++ b/indoteknik_custom/views/product_template.xml
@@ -7,7 +7,7 @@
<field name="inherit_id" ref="product.product_template_form_view"/>
<field name="arch" type="xml">
<field name="categ_id" position="after">
- <field name="web_tax_id" domain="[('active', '=', True)]"/>
+ <field name="web_tax_id" domain="[('type_tax_use','=','sale'), ('active', '=', True)]"/>
<field name="x_manufacture"/>
<field name="x_model_product"/>
<field name="kind_of"/>