irc.libera.chat #tryton log beginning Fri Oct 13 12:10:01 AM CEST 2023 | ||
-!- springwurm(~springwur@2a01:76c0:100:f500:c538:471a:8422:21e0) has joined #tryton | 05:36 | |
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton | 06:29 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 06:39 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 06:39 | |
-!- udono(~udo@183-153-117-131.ip-addr.inexio.net) has joined #tryton | 06:54 | |
-!- tbruyere(~Thunderbi@mail.saluc.com) has joined #tryton | 07:02 | |
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton | 07:49 | |
-!- rpit(~rpit@p5b22b32a.dip0.t-ipconnect.de) has joined #tryton | 08:07 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 08:58 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 08:58 | |
mrichez | hi, wondering how to use e-mail templates ? Where is it used ? | 09:08 |
---|---|---|
udono | mrichez: We use it a lot for default communications. Wrinting and sendin an invoice, quotation, purchase order. You can enable the templates for a model and add reports automagically. The body and subject can use variables from record. | 09:20 |
udono | mrichez: once you create templates for a model and you go to a view of this model, open the email button in toolbar, you cann choose the template in a dialog. | 09:22 |
udono | mrichez: HIH | 09:22 |
mrichez | udono: ok, thanks for explanations :-) | 09:23 |
mrichez | what is the condition for translating email from template ? user language or party lang ? | 09:30 |
udono | mrichez: afaik it is the party lang. But not sure. | 09:31 |
mrichez | udono: just looking code, it seems user language... | 09:33 |
-!- nicoe(~nicoe@2a02:2788:54:1ff:18c2:1aff:fef9:2b7f) has joined #tryton | 09:41 | |
pokoli | mrichez: for email temlats is the user language because the user is the one who will read the template and send it to the recipient | 09:47 |
mrichez | pokoli: i would be more logical to use language of the recipient for the subject and the body of the mail , no ? | 09:49 |
pokoli | mrichez: I do not have a clear stataement about what would be more logical | 09:50 |
pokoli | because the user may not understand the language of the recipient | 09:50 |
udono | it would be more logical to present the email in user language to the user and send it for each recipient in the recipient language… | 09:51 |
mrichez | pokoli: in our case it's about the languages we allow to translate in tryton, so user is suppose to understand... in our case french/english in most of case... so i thought when sending email using template to a french party, body text will be in french and when sending to an english party, body text will be in english | 09:53 |
udono | mrichez: to is a list of recipients… | 09:54 |
udono | "To" is a … | 09:54 |
pokoli | udono: the problem is that the user is allowed (even expected) to update the template text, so we can not auto translate it to another language | 09:55 |
mrichez | udono: in the template, i'm only selecting one recipient : party, confirmed_by, etc.. | 09:55 |
udono | pokoli: yes, we are missing emblems on translate button to indicate fuzzy or missing translations. | 09:58 |
udono | pokoli: and some kind of translation required could be useful. | 09:59 |
udono | mrichez: But you can also select a method which could return a list of recipients. | 10:01 |
mrichez | udono: ok | 10:02 |
udono | mrichez: But the default methods I looked up in sale and purchase are returning many2one. | 10:03 |
cedk | https://foss.heptapod.net/tryton/tryton/-/issues/11188 | 10:29 |
-!- springwurm(~springwur@2a01:76c0:100:f500:e3ce:9357:f079:82) has joined #tryton | 12:07 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 12:14 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 12:14 | |
-!- rpit(~rpit@p200300c88f014b00580b6508c48592a9.dip0.t-ipconnect.de) has joined #tryton | 18:13 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 18:14 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 18:14 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 18:33 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 18:33 | |
-!- udono(~udo@183-153-117-131.ip-addr.inexio.net) has joined #tryton | 19:30 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!