Company name in the mail subject.

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Company name in the mail subject.

Sasa Ostrouska
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/dolibarr/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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
Reply | Threaded
Open this post in threaded view
|

Re: Company name in the mail subject.

Maxime Kohlhaas
Hi Saxa,

Since 3.8 version, you can use __THIRDPARTY_NAME__

Since 5.0, you have the available variable in an tooltip on the mail model form.

Regards,

Bien cordialement,

--
Maxime Kohlhaas | Consultant associé
------------------------------------------------------------------------------------
Tél : <a href="tel:06%2033%2042%2092%2043" value="+33633429243" target="_blank">06 33 42 92 43

2017-05-11 14:22 GMT+02:00 Sasa Ostrouska <[hidden email]>:
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/dolibarr/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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev




_______________________________________________
Dolibarr-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
Reply | Threaded
Open this post in threaded view
|

Re: Company name in the mail subject.

Sasa Ostrouska


On Thu, May 11, 2017 at 12:41 PM, Maxime Kohlhaas <[hidden email]> wrote:
Hi Saxa,

Hi Maxime !
 
Since 3.8 version, you can use __THIRDPARTY_NAME__

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 : <a href="tel:06%2033%2042%2092%2043" value="+33633429243" target="_blank">06 33 42 92 43

2017-05-11 14:22 GMT+02:00 Sasa Ostrouska <[hidden email]>:
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/dolibarr/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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev




_______________________________________________
Dolibarr-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev



_______________________________________________
Dolibarr-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
Reply | Threaded
Open this post in threaded view
|

Re: Company name in the mail subject.

Maxime Kohlhaas
Why would you change it in the core code ?
In Home > Setup > E-mail (in develop), you can define e-mail models :

Images intégrées 1
The available variables appear when you click on the tooltip next to "Contenu".

Bien cordialement,

--
Maxime Kohlhaas | Consultant associé
------------------------------------------------------------------------------------
Tél : 06 33 42 92 43

2017-05-11 14:46 GMT+02:00 Sasa Ostrouska <[hidden email]>:


On Thu, May 11, 2017 at 12:41 PM, Maxime Kohlhaas <[hidden email]> wrote:
Hi Saxa,

Hi Maxime !
 
Since 3.8 version, you can use __THIRDPARTY_NAME__

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 : <a href="tel:06%2033%2042%2092%2043" value="+33633429243" target="_blank">06 33 42 92 43

2017-05-11 14:22 GMT+02:00 Sasa Ostrouska <[hidden email]>:
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/dolibarr/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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev




_______________________________________________
Dolibarr-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev



_______________________________________________
Dolibarr-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev




_______________________________________________
Dolibarr-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
Reply | Threaded
Open this post in threaded view
|

Re: Company name in the mail subject.

Sasa Ostrouska


On Thu, May 11, 2017 at 12:51 PM, Maxime Kohlhaas <[hidden email]> 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 :

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 <[hidden email]>:


On Thu, May 11, 2017 at 12:41 PM, Maxime Kohlhaas <[hidden email]> wrote:
Hi Saxa,

Hi Maxime !
 
Since 3.8 version, you can use __THIRDPARTY_NAME__

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 : <a href="tel:06%2033%2042%2092%2043" value="+33633429243" target="_blank">06 33 42 92 43

2017-05-11 14:22 GMT+02:00 Sasa Ostrouska <[hidden email]>:
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/dolibarr/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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev




_______________________________________________
Dolibarr-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev



_______________________________________________
Dolibarr-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev




_______________________________________________
Dolibarr-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev



_______________________________________________
Dolibarr-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
Reply | Threaded
Open this post in threaded view
|

Re: Company name in the mail subject.

Maxime Kohlhaas
Try with another language, or update your Dolibarr to have the last develop build.

Bien cordialement,

--
Maxime Kohlhaas | Consultant associé
------------------------------------------------------------------------------------
Tél : 06 33 42 92 43

2017-05-11 15:10 GMT+02:00 Sasa Ostrouska <[hidden email]>:


On Thu, May 11, 2017 at 12:51 PM, Maxime Kohlhaas <[hidden email]> 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 :

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 : <a href="tel:06%2033%2042%2092%2043" value="+33633429243" target="_blank">06 33 42 92 43

2017-05-11 14:46 GMT+02:00 Sasa Ostrouska <[hidden email]>:


On Thu, May 11, 2017 at 12:41 PM, Maxime Kohlhaas <[hidden email]> wrote:
Hi Saxa,

Hi Maxime !
 
Since 3.8 version, you can use __THIRDPARTY_NAME__

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 : <a href="tel:06%2033%2042%2092%2043" value="+33633429243" target="_blank">06 33 42 92 43

2017-05-11 14:22 GMT+02:00 Sasa Ostrouska <[hidden email]>:
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/dolibarr/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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev




_______________________________________________
Dolibarr-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev



_______________________________________________
Dolibarr-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev




_______________________________________________
Dolibarr-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev



_______________________________________________
Dolibarr-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev




_______________________________________________
Dolibarr-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
Reply | Threaded
Open this post in threaded view
|

Re: Company name in the mail subject.

Sasa Ostrouska
Yes, will try to update, but my install is not so old, just few days iirc.

On Thu, May 11, 2017 at 1:12 PM, Maxime Kohlhaas <[hidden email]> wrote:
Try with another language, or update your Dolibarr to have the last develop build.

Bien cordialement,

--
Maxime Kohlhaas | Consultant associé
------------------------------------------------------------------------------------
Tél : 06 33 42 92 43

2017-05-11 15:10 GMT+02:00 Sasa Ostrouska <[hidden email]>:


On Thu, May 11, 2017 at 12:51 PM, Maxime Kohlhaas <[hidden email]> 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 :

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 : <a href="tel:06%2033%2042%2092%2043" value="+33633429243" target="_blank">06 33 42 92 43

2017-05-11 14:46 GMT+02:00 Sasa Ostrouska <[hidden email]>:


On Thu, May 11, 2017 at 12:41 PM, Maxime Kohlhaas <[hidden email]> wrote:
Hi Saxa,

Hi Maxime !
 
Since 3.8 version, you can use __THIRDPARTY_NAME__

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 : <a href="tel:06%2033%2042%2092%2043" value="+33633429243" target="_blank">06 33 42 92 43

2017-05-11 14:22 GMT+02:00 Sasa Ostrouska <[hidden email]>:
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/dolibarr/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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev




_______________________________________________
Dolibarr-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev



_______________________________________________
Dolibarr-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev




_______________________________________________
Dolibarr-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev



_______________________________________________
Dolibarr-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev




_______________________________________________
Dolibarr-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev



_______________________________________________
Dolibarr-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev