تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1306 أدوات العرض

#channel_id.message_post(body=body,
#subject=title,
#subtype_xmlid='mail.box_inbox',
#author_id=self.env.user.partner_id.id,
#attachment_ids=[attachment.id],)

from this code i am sending the ir.attachment(514,) object . but the message is a  blank image or blank pdf .

 
am i missing something? 

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
3
مارس 23
10144
0
مارس 22
2237
1
أبريل 25
4512
2
أغسطس 24
9761
0
ديسمبر 23
1024