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

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

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

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
5
thg 5 17
52189
What's the context? Đã xử lý
9
thg 3 24
118158
4
thg 4 23
13438
1
thg 6 20
11834
2
thg 3 16
10172