On Thu, May 11, 2017 at 12:51 PM, Maxime Kohlhaas <max...@atm-consulting.fr> wrote:
> Why would you change it in the core code ? > Because I never saw this setup stuff , and completely forget that I should firstly look into it :) > In Home > Setup > E-mail (in develop), you can define e-mail models : > > [image: Images intégrées 1] > The available variables appear when you click on the tooltip next to > "Contenu". > > Here it seems there is a problem because I do not get them listed. Variáveis de substituição disponíveis: __(AnyTransKey)__ I get just this. Rgds Saxa > Bien cordialement, > > -- > *Maxime Kohlhaas* | Consultant associé > ------------------------------------------------------------ > ------------------------ > Tél : 06 33 42 92 43 > > 2017-05-11 14:46 GMT+02:00 Sasa Ostrouska <cas...@gmail.com>: > >> >> >> On Thu, May 11, 2017 at 12:41 PM, Maxime Kohlhaas < >> max...@atm-consulting.fr> wrote: >> >>> Hi Saxa, >>> >>> Hi Maxime ! >> >> >>> Since 3.8 version, you can use __THIRDPARTY_NAME__ >>> See here : https://github.com/Dolibarr/dolibarr/blob/5.0/htdocs/core/ >>> class/html.formmail.class.php#L969 >>> >>> I was just experimenting with this, but it doesnt work , at least by >> changing it in that line from __REFCLIENT__ to __THIRDPARTY_NAME__ have not >> worked here. Will take a closer look into the thing why it does not work. >> >> >> >>> Since 5.0, you have the available variable in an tooltip on the mail >>> model form. >>> >>> Where should I see this tooltip ? >> >> I am usind develop branch. >> >> >>> Regards, >>> >>> Bien cordialement, >>> >>> Rgds >> Saxa >> >>> -- >>> *Maxime Kohlhaas* | Consultant associé >>> ------------------------------------------------------------ >>> ------------------------ >>> Tél : 06 33 42 92 43 >>> >>> 2017-05-11 14:22 GMT+02:00 Sasa Ostrouska <cas...@gmail.com>: >>> >>>> Hi , I am looking for a way to list the company name after the >>>> quote number in the email subject. >>>> >>>> Right now we get the field named customer refference in the parenthesis. >>>> >>>> $formmail->withtopic = $outputlangs->trans('SendPropalRef', '__PROPREF__ >>>> (__REFCLIENT__)'); >>>> >>>> see code here: https://github.com/Dolibarr/do >>>> libarr/blob/develop/htdocs/comm/propal/card.php#L2500 >>>> >>>> Is there a constant like __CLIENT__ or what is the exact name to be >>>> used >>>> in place of __REFCLIENT__ to get the company name listed ? >>>> >>>> Rgds >>>> Saxa >>>> >>>> _______________________________________________ >>>> Dolibarr-dev mailing list >>>> Dolibarr-dev@nongnu.org >>>> https://lists.nongnu.org/mailman/listinfo/dolibarr-dev >>>> >>>> >>> >>> <http://www.atm-consulting.fr> >>> >>> _______________________________________________ >>> Dolibarr-dev mailing list >>> Dolibarr-dev@nongnu.org >>> https://lists.nongnu.org/mailman/listinfo/dolibarr-dev >>> >>> >> >> _______________________________________________ >> Dolibarr-dev mailing list >> Dolibarr-dev@nongnu.org >> https://lists.nongnu.org/mailman/listinfo/dolibarr-dev >> >> > > <http://www.atm-consulting.fr> > > _______________________________________________ > Dolibarr-dev mailing list > Dolibarr-dev@nongnu.org > https://lists.nongnu.org/mailman/listinfo/dolibarr-dev > >
_______________________________________________ Dolibarr-dev mailing list Dolibarr-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/dolibarr-dev