Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
8284 Lượt xem

Hi everyone,

I'd like to send a message with PDF attachment to another user (the uid is known) in the same OpenERP system. The PDF file is generated with netsvc.LocalService(report_name).create().

My questions are:

  1. How can I create an OpenERP internal message that will be sent to a specific user?
  2. How can I attach the PDF file to it?

Thanks

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Messaging --> Write my followers and attach the file, now your message is sent to all of yours followers.

Ảnh đại diện
Huỷ bỏ

I think he wants to know how to do by python code.