summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/product_template.xml
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-09-20 15:06:17 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-09-20 15:06:17 +0700
commit79bf9729d10c8fb37ef9071ab6df2b6644ddea49 (patch)
tree6226da5e38ad44673a1bb5d7d4e2b0fd5df1fada /indoteknik_custom/views/product_template.xml
parenteb7661705303a64c97e84061b53d48d5c46f6293 (diff)
parentd2bb21ae878db2a3b77dbb3341046c9d12ba1de5 (diff)
Merge branch 'production' into iman/new-register
# Conflicts: # indoteknik_custom/models/res_users.py
Diffstat (limited to 'indoteknik_custom/views/product_template.xml')
-rwxr-xr-xindoteknik_custom/views/product_template.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/indoteknik_custom/views/product_template.xml b/indoteknik_custom/views/product_template.xml
index 520af5c8..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"/>
@@ -21,6 +21,12 @@
<field name="desc_update_solr" readonly="1" />
<field name="last_update_solr" readonly="1" />
</field>
+ <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>