list_model uninvisible

This commit is contained in:
Chill
2025-02-10 16:17:07 +08:00
parent a188be18a5
commit b2f9348d87
2 changed files with 3 additions and 3 deletions

View File

@@ -61,7 +61,7 @@
<field name="arch" type="xml">
<form>
<header>
<button string="Get List Model" type="object" name="get_ai_list_model" invisible="provider != 'openai'"/>
<button string="Get List Model" type="object" name="get_ai_list_model"/>
<button string="Get Model Info" type="object" name="get_ai_model_info" invisible="provider != 'openai'"/>
</header>
<sheet>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record id="app_ai_robot_deepseek_form_view" model="ir.ui.view">
<!-- <record id="app_ai_robot_deepseek_form_view" model="ir.ui.view">
<field name="name">app.ai.robot.deepseek.form</field>
<field name="model">ai.robot</field>
<field name="inherit_id" ref="app_chatgpt.ai_robot_form_view"/>
@@ -9,5 +9,5 @@
<attribute name="invisible">False</attribute>
</xpath>
</field>
</record>
</record> -->
</odoo>