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

I am adding a link for a sale.order document to a notification - what is the best way to do this? Is there a function that generates a URL for a document?

For instance an OpenERP user will get a notification similar to:

Quote Needs Attention

Quotation (link here) has an action item to be address

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

Based on the automated notifications that get sent, a URL to a quotation is in the format "#model=sale.order&id=[ID HERE]".

That works fine, but it seems a bit hardcoded.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
5
مايو 17
52190
What's the context? تم الحل
9
مارس 24
118159
4
أبريل 23
13438
1
يونيو 20
11836
2
مارس 16
10172