Feng’ Blog

odoo表单上发送备注消息
发送消息方法为:asset.message_post(body=u"资产已清理并且已经关闭!", message_...
扫描右侧二维码阅读全文
01
2018/09

odoo表单上发送备注消息

发送消息方法为:

asset.message_post(body=u"资产已清理并且已经关闭!", message_type='notification')  
  • asset: odoo中固定资产对象
  • body:  消息内容
  • message_type: 消息类型(常用值:comment、 notification)
Last modification:January 9th, 2019 at 01:20 pm
If you think my article is useful to you, please feel free to appreciate

Leave a Comment