在讨论odoo 9中更改消息顺序 [英] Change message order in discuss odoo 9

查看:54
本文介绍了在讨论odoo 9中更改消息顺序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在odoo9的讨论"模块中找不到更改消息顺序的位置

I can't find where change message order in discuss module in odoo9

此图像的位置形式和类别在哪里-> https://postimg.org/image/xffsxqqkf/

Where is location form and class from this image --> https://postimg.org/image/xffsxqqkf/

推荐答案

在线程小部件的init函数内打开addons/mail/static/src/js/thread.js行59. display_order设置为ASC.那里只有2个选项.对于特定的订单,您必须扩展此小部件以定义:

Open addons/mail/static/src/js/thread.js line 59 inside the init function of the thread widget. The display_order is set as ASC. You only have 2 options there. For a specific order you have to extend this widget in order for you to define:

1)如何确定订单

2)您的订单何时适用于所有o_mail_thread小部件?还是只是讨论页面?

2) When your order will be applied, on all the o_mail_thread widgets? Or just the discussion page?

这篇关于在讨论odoo 9中更改消息顺序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆