mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
prepare app_chatgpt 17.0
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data noupdate="1">
|
||||
<record model="mail.channel" id="channel_chatgpt">
|
||||
<record model="discuss.channel" id="channel_chatgpt">
|
||||
<field name="name">ChatGPT Group Chat</field>
|
||||
<field name="description">ChatGPT话题</field>
|
||||
<field name="image_128" type="base64" file="app_chatgpt/static/description/chatgpt.png"/>
|
||||
</record>
|
||||
|
||||
<record model="mail.message" id="module_install_notification">
|
||||
<field name="model">mail.channel</field>
|
||||
<field name="model">discuss.channel</field>
|
||||
<field name="res_id" ref="app_chatgpt.channel_chatgpt"/>
|
||||
<field name="message_type">email</field>
|
||||
<field name="subtype_id" ref="mail.mt_comment"/>
|
||||
@@ -17,14 +17,7 @@
|
||||
<p>Please ask me any question.</p>]]></field>
|
||||
</record>
|
||||
|
||||
<!-- <record model="mail.channel.member" id="channel_member_chatgtp_channel_for_admin">-->
|
||||
<!-- <field name="partner_id" ref="base.partner_admin"/>-->
|
||||
<!-- <field name="channel_id" ref="app_chatgpt.channel_chatgpt"/>-->
|
||||
<!-- <field name="fetched_message_id" ref="app_chatgpt.module_install_notification"/>-->
|
||||
<!-- <field name="seen_message_id" ref="app_chatgpt.module_install_notification"/>-->
|
||||
<!-- </record>-->
|
||||
|
||||
<record model="mail.channel" id="app_chatgpt.channel_chatgpt">
|
||||
<record model="discuss.channel" id="app_chatgpt.channel_chatgpt">
|
||||
<field name="group_ids" eval="[Command.link(ref('base.group_user'))]"/>
|
||||
</record>
|
||||
</data>
|
||||
Reference in New Issue
Block a user