This question has been flagged
1 Reply
5702 Views

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

Avatar
Discard
Author Best Answer

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.

Avatar
Discard