Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
7310 Näkymät

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
Hylkää
Tekijä Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
5
toukok. 17
52197
9
maalisk. 24
118163
4
huhtik. 23
13442
1
kesäk. 20
11839
2
maalisk. 16
10175