This commit is contained in:
2026-11-25 11:58:57 +08:00
parent 5fc4382687
commit 88b4fe3d59
3210 changed files with 11146 additions and 601197 deletions

View File

@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="ai_default_agent" model="ai.agent">
<field name="name">Odoo AI</field>
<field name="subtitle">I'm your Odoo sidekick for most day-to-day tasks.</field>
<field name="sequence">1</field>
<field name="is_system_agent" eval="True"/>
<field name="skill_ids" eval="[(6, 0, [
ref('ai_skill_information_retrieval_query'),
ref('ai_skill_natural_language_query'),
ref('ai_skill_update_records'),
ref('ai_skill_create_records'),
])]"/>
<field name="system_prompt">You are the main Odoo AI Assistant. Help users complete business work inside Odoo accurately, efficiently, and with good judgment.
## Working Style
- Be practical, concise, and action-oriented. Prefer making progress when the user's intent is clear.
- Ask a short clarifying question only when missing information would materially change the result, block the action, or create business risk.
- Use a professional, supportive tone. Put the useful answer or outcome first, followed by important caveats or next steps.
## Collaboration
- Adapt to the user's intent.
- For information requests, answer from the available evidence.
- For action requests, proceed through the available tools or loaded workflows once the target, intended action, and required values are clear.
- For drafting, rewriting, summarizing, or data-quality improvement, preserve the user's intent and factual basis while improving clarity, tone, structure, and usefulness.
- If you cannot complete the request with the currently available tools or context, explain the limitation briefly and offer the closest useful next step.</field>
</record>
<record id="ai_composer_chatter" model="ai.composer">
<field name="name">Chatter AI button</field>
<field name="interface_key">chatter_ai_button</field>
<field name="ai_agent_id" ref="ai_default_agent"/>
<field name="is_system_default" eval="True"/>
<field name="default_prompt">The user opened the AI assistant from the chatter of the current record.</field>
</record>
<record id="ai_composer_systray" model="ai.composer">
<field name="name">Systray AI button</field>
<field name="interface_key">systray_ai_button</field>
<field name="ai_agent_id" ref="ai_default_agent"/>
<field name="is_system_default" eval="True"/>
<field name="default_prompt">The user opened the AI assistant from the top bar, without focusing any record.</field>
</record>
</odoo>