mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
list_model uninvisible
This commit is contained in:
@@ -61,7 +61,7 @@
|
|||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<form>
|
<form>
|
||||||
<header>
|
<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'"/>
|
<button string="Get Model Info" type="object" name="get_ai_model_info" invisible="provider != 'openai'"/>
|
||||||
</header>
|
</header>
|
||||||
<sheet>
|
<sheet>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<odoo>
|
<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="name">app.ai.robot.deepseek.form</field>
|
||||||
<field name="model">ai.robot</field>
|
<field name="model">ai.robot</field>
|
||||||
<field name="inherit_id" ref="app_chatgpt.ai_robot_form_view"/>
|
<field name="inherit_id" ref="app_chatgpt.ai_robot_form_view"/>
|
||||||
@@ -9,5 +9,5 @@
|
|||||||
<attribute name="invisible">False</attribute>
|
<attribute name="invisible">False</attribute>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record> -->
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
Reference in New Issue
Block a user