调整模型显示

This commit is contained in:
胡尧
2025-03-12 17:05:29 +08:00
parent b8bec37e15
commit 29337bfceb
14 changed files with 28 additions and 5 deletions

View File

@@ -158,6 +158,8 @@
<!-- <field name="upload_model_file" widget="many2many_binary"/>-->
<field name="model_file" widget="Viewer3D" string="模型" readonly="1" force_save="1"
attrs="{'invisible': [('model_file', '=', False)]}"/>
<field name="glb_url" widget="Viewer3D" string="模型" readonly="1" force_save="1"
attrs="{'invisible': [('glb_url', '=', False)]}"/>
</group>
</group>
<notebook>