I have created a boolean field within the partner, if it is true, it should insert a message into the RFQ template ('This is an automatic message. Please do not reply to this email'), but even though I have created the functions, imported the models, the message still does not appear when I select the field and save it in the partner. I don't know what else it could be or what is missing. Attached are screenshots of the models and view. Thank you in advance for your help.
To pytanie dostało ostrzeżenie
1
Odpowiedz
3952
Widoki
Dear Noemi,
You can achieve this little modification on the RFQ email template.
Using conditional formatting like below code:
% if object.partner_id.use_csv_purchase :
Show This
% else :
Show That
% endif
Thank you
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się| Powiązane posty | Odpowiedzi | Widoki | Czynność | |
|---|---|---|---|---|
|
|
2
lip 23
|
4255 | ||
|
Tooltips wont show up ODOO15
Rozwiązane
|
|
1
lut 25
|
4860 | |
|
|
1
lip 22
|
5628 | ||
|
|
0
cze 26
|
30 | ||
|
|
0
cze 26
|
56 |
Thank you very much for your help, but I already have this conditional function created. However, the message is not showing up in the template. And in the contacts, the same field is selected, being true.