解决更新出现字段未找到的问题

This commit is contained in:
胡尧
2025-04-25 10:08:03 +08:00
parent 27b9a4f982
commit 8116e4f97d

View File

@@ -7,6 +7,7 @@
<field name="inherit_id" ref="sf_sale.view_product_template_form_inherit_sf"/>
<field name="arch" type="xml">
<xpath expr="//page[@name='general_information']/group/group[@name='group_standard_price']/field[@name='product_tag_ids']" position="after">
<field name="categ_type" invisible="1"/>
<field name="model_id" readonly="1" attrs="{'invisible': [('categ_type', '!=', '成品')]}"/>
</xpath>
</field>