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

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
53230
What's the context? تم الحل
9
مارس 24
119490
4
أبريل 23
13967
1
يونيو 20
12490
2
مارس 16
10729