Files
dn20/dn_ai/views/ai_prompt_button_views.xml
2026-11-25 11:58:57 +08:00

33 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="ai_prompt_button_view_form" model="ir.ui.view">
<field name="name">ai.prompt.button.form</field>
<field name="model">ai.prompt.button</field>
<field name="arch" type="xml">
<form string="Suggested Prompt">
<sheet>
<group>
<field name="name"/>
<field name="sequence"/>
<field name="composer_id"/>
</group>
<field name="prompt" widget="html"
placeholder="e.g. Summarize this record in 3 bullets"/>
</sheet>
</form>
</field>
</record>
<record id="ai_prompt_button_view_list" model="ir.ui.view">
<field name="name">ai.prompt.button.list</field>
<field name="model">ai.prompt.button</field>
<field name="arch" type="xml">
<list string="Suggested Prompts" editable="bottom">
<field name="sequence" widget="handle"/>
<field name="name"/>
<field name="composer_id"/>
</list>
</field>
</record>
</odoo>