summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xindoteknik_custom/views/product_template.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/indoteknik_custom/views/product_template.xml b/indoteknik_custom/views/product_template.xml
index e3a39412..b6155eea 100755
--- a/indoteknik_custom/views/product_template.xml
+++ b/indoteknik_custom/views/product_template.xml
@@ -8,7 +8,7 @@
<field name="arch" type="xml">
<field name="categ_id" position="after">
<field name="web_tax_id" domain="[('type_tax_use','=','sale'), ('active', '=', True)]"/>
- <field name="x_manufacture"/>
+ <field name="x_manufacture" options="{'no_create': True}"/>
<field name="x_model_product"/>
<field name="kind_of"/>
<field name="x_studio_field_tGhJR" widget="many2many_tags"/>
@@ -24,6 +24,9 @@
<field name="public_categ_ids" position="attributes">
<attribute name="required">1</attribute>
</field>
+ <field name="public_categ_ids" position="attributes">
+ <attribute name="options">{'no_create': True}</attribute>
+ </field>
<page name="inventory" position="after">
<page string="Marketplace" name="marketplace">
<group>