宜兴通达竭诚为您服务。

通达科技 - 宜兴电脑维护及IT服务外包服务商

Chatter
  • 上传者: Administrator
  • 上传时间:2024年02月24日 08时16分53秒
摘要:
* Chatter ** *** Chatter is the method of communication tool placed on most of the data in Odoo. It helps you to e-mail clients without delay from a ......
正文 相关文章 请喝咖啡

    Chatter

    Chatter is the method of communication tool placed on most of the data in Odoo. It helps you to e-mail clients without delay from a buy order, income order, and so on., for example, to discuss info and live in touch. employees can use internal notes that are not seen by clients to inform each other approximately development or problems in the workflow. Other users also can be brought about to enroll in communication by using being introduced as a Follower to the document, even if they were not initially worried.

    聊天是在Odoo中放置大多数数据的通信工具。它可以帮助您毫不延迟地向客户发送购买订单、收入订单等电子邮件。例如,讨论信息和保持联系。员工可以使用客户看不到的内部笔记来通知彼此工作流程中的发展或问题。其他用户也可以通过被介绍为文档的追随者来加入通信,即使他们最初并不担心。

    For example, if we take any sale order in the shape closer to the bottom or to the right of the document. Let's look for the chatter.

    例如,如果我们取靠近底部或文档右侧的形状中的任何销售订单。我们找找有没有聊天。

     

    You'll find the following options there:

    The symbol ‘@’is used to mention a person, and to mention the channels, ‘#’ is used. Here we can use emojis for posting the reactions. Attachment of document is also possible if needed.

    Log Note: This is useful for keeping track of progress with customers.

    日志注释:这对于跟踪客户的进度很有用。

     

    Here also can add attachments.

    这里还可以添加附件。

    Schedule Activity: By this, one can assign scheduled activities to people.

    计划活动:通过这种方式,可以将计划的活动分配给人们。

     

    It shows the number of attachments and lets you add attachments

    它显示附件的数量,并允许您添加附件

     

    Follow/ Following: It indicates whether you're following it at a look. You may unfollow the file by hovering over the ‘following’ and clicking on the ‘unfollow.’

    Follow/跟随:它表示你是否在看它。你可以通过将鼠标悬停在“跟随”上并点击“取消关注”来取消关注文件

    Also, one can view the followers by clicking the button near to followers. By clicking the button you can edit and remove the followers and add new members to the existing follower list.

    此外,还可以通过单击关注者旁边的按钮查看关注者。通过单击该按钮,您可以编辑和删除关注者,并向现有关注者列表添加新成员。

     

    You can click ‘Add Followers,’ then the below window will pop.

    你可以点击“添加追随者”,然后下面的窗口将弹出。

     

    Required followers can be added from here.

    所需的追随者可以从这里添加。

    Editing options are available in the followers list. A list of subscriptions that can be allowed or disabled for the selected follower.

    在关注者列表中提供编辑选项。所选关注者可以允许或禁用的订阅列表。

     

    After including the messages, logging notes, or scheduling the activities, the entirety will appear inside the chatter of the form view. So this is the feature defined at the chatter.

    在包含消息、日志记录或活动调度之后,整体将出现在表单视图的对话框中。这就是在颤振处定义的特征。

    Every so often, if we change a few fields within the form view, the alternate will trigger and be shown within the chatter. This feature is called “Tracking”.

    每隔一段时间,如果我们在表单视图中更改几个字段,替换字段就会触发并显示在对话框中。这个功能被称为“跟踪”。

     

    It is simple to enable tracking for a field. Field declaration when referring to tracking attributes. You can enable tracking by setting this attribute to true. Within the field declaration, you can set Tracking='True' . Odoo is a multi-user platform, and any user can access and update the same records at any time.

    对字段启用跟踪很简单。引用跟踪属性时的字段声明。您可以通过将此属性设置为true来启用跟踪。在字段声明中,您可以设置Tracking='True'。Odoo是一个多用户平台,任何用户都可以随时访问和更新相同的记录。

    In these circumstances, we must keep track of the field values. Odoo chatter keeps track of this information automatically.

    在这种情况下,我们必须跟踪字段值。Odoo chatter会自动跟踪这些信息。

    How to Add Chatter to the Form View

    如何添加喋喋不休的形式视图

    Chatter is a basic feature available in Odoo. You can add it to your form view in a few steps. To get the basic chat into the form we want, we need to inherit the mail.thread model in our python file.

    聊天是Odoo的一个基本功能。您可以通过几个步骤将其添加到表单视图中。为了将基本的聊天变成我们想要的表单,我们需要继承邮件。python文件中的线程模型。

    class ClassName(models.Model):

        _name = 'custom.model'

        _inherit = 'mail.thread'

    Also, the dependency should be added to the manifest file as "Mail." These are the things you need to add to your Python file. Now we need to move on to the XML file. After a sheet of forms, you can define chatter; For example,

    此外,应该将依赖项以“Mail”的形式添加到清单文件中。这些都是需要添加到Python文件中的内容。现在我们需要转到XML文件。在一张表格之后,你可以定义喋喋不休;例如,

    <record id="view_id" model="ir.ui.view">

        <field name="name">name.name</field>

        <field name="model">model.model</field>

      <field name="arch" type="xml">

            <form string="">

                <sheet>

                </sheet>

                <div class="oe_chatter">

                    <field name="message_follower_ids"

                    groups="base.group_user"/>

                    <field name="message_ids"/>

                </div>

            </form>

        </field>

    </record>

    Here the division ‘oe_chatter’ defines the chatter. It contains two fields: "message_follower_ids" and "message_ids." These fields are related to chat base fields. There is another function called "Schedule Activity." To do this, we need to inherit from another model. It's a "mail.activity.mixin" that allows you to add fields to your XML file.

    这里的划分‘ oe_chatter ’定义了喋喋不休。它包含两个字段:“message_follower_ids”和“message_ids”。这些字段与聊天基字段相关。还有一个功能叫做“计划活动”。要做到这一点,我们需要从另一个模型继承。这是一个“邮件活动”。mixin”,它允许您向XML文件添加字段。

    <field name="activity_ids" widget="mail_activity"/>

    Together the basic chatter including the activity option can be added by inheriting the models;

    通过继承模型,可以添加包括活动选项在内的基本颤振;

    _inherit = ['mail.thread', 'mail.activity.mixin']

    The XML file should be like the following code,

    XML文件应该像下面的代码一样,

    <div class="oe_chatter">

        <field name="message_follower_ids"

        widget="mail_followers"/>

        <field name="activity_ids" widget="mail_activity"/>

        <field name="message_ids" widget="mail_thread"/>

     </div>

    One of the most crucial reasons to enclose ‘chatter’ in your module is to maintain track of activity in a certain region of the module. So that is how we will make use of the chatter in Odoo.

    在模块中包含“喋喋不休”的最重要原因之一是保持模块特定区域的活动跟踪。这就是我们如何利用Odoo的喋喋不休。

     

    本文章从网上收集,如有侵权请联系tderp@tderp.com删除
  • 微信扫一扫,一分也是爱:
  • 微信

服务原则及地区范围

宜兴通达网络科技有限公司,地处中国宜兴环科园内,是一家高新技术企业。公司在企业网络维护和企业信息化建设与咨询方面,有10多年经验。

我公司愿与客户一道,力求彻底解决客户问题!
我们不是在给企业提供“头痛医头、脚痛医脚”的暂时解决方案,而是在部署根本性安全与稳定服务!!
我们愿携手客户,建立企业IT规划;杜绝随意安装系统、软件等操作;力求共同维护有序、安全、稳定的网络办公环境!!!
IT服务,服务是根本,客户是上帝;我们提供快速响应、快速上门、快速排查,提供优质高效的服务!!!!

通达科技提供全国范围内的服务,服务形式包括远程协助、电话咨询、电子邮件咨询、传真咨询、问答平台的问题解决等。

宜兴地区提供上门服务:

  • 市区服务:宜城街道、城北街道(屺亭街道)、新街街道、新庄街道、环科园、渚桥开发区
  • 市郊服务:张渚镇、西渚镇、太华镇、徐舍镇、官林镇、杨巷镇、新建镇、和桥镇、高塍镇、万石镇、周铁镇、芳桥镇、丁蜀镇、湖父镇。
  • 联系电话:189-21-343434
  • 在线沟通: