Browse Source

Merge pull request #5 from houssine78/fix-mail-template-taxshelter

[FIX] emc_taxshelter_report: 't' in mail template
pull/1/head
Houssine BAKKALI 6 years ago
committed by GitHub
parent
commit
0a7d667ebf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 62
      easy_my_coop_taxshelter_report/data/mail_template_data.xml
  2. 146
      easy_my_coop_taxshelter_report/i18n/fr_BE.po

62
easy_my_coop_taxshelter_report/data/mail_template_data.xml

@ -15,42 +15,42 @@
<div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; ">
<p>Hello ${object.partner_id.name},</p>
<p>You have subscribed to some shares of ${object.company_id.name} on ${object.declaration_id.fiscal_year}.
You can benefit from the tax shelter, it means a tax reduction of ${object.declaration_id.tax_shelter_percentage} percent on the invested amount.
For this you will find in attachments the documents certifying that you've suscribed to ${object.company_id.name} shares</p>
<p>You have subscribed to some shares of ${object.company_id.name} on ${object.declaration_id.fiscal_year}.
You can benefit from the tax shelter, it means a tax reduction of ${object.declaration_id.tax_shelter_percentage} percent on the invested amount.
For this you will find in attachments the documents certifying that you've suscribed to ${object.company_id.name} shares</p>
<p>A dedicated FAQ is coming soon on ${object.company_id.website}.</p>
<p>For any additional questions, please contact ${object.company_id.coop_email_contact}</p>
<p>Sustainably your,</p>
<p>${object.company_id.name}.</p>
<p>Sustainably your,</p>
<p>${object.company_id.name}.</p>
% if object.company_id.street:
${object.company_id.street}
% endif
% if object.company_id.street2:
${object.company_id.street2}<br/>
% endif
% if object.company_id.city or object.company_id.zip:
${object.company_id.zip} ${object.company_id.city}<br/>
% endif
% if object.company_id.country_id:
${object.company_id.state_id and ('%s, ' % object.company_id.state_id.name) or ''} ${object.company_id.country_id.name or ''}<br/>
% endif
% if object.company_id.phone:
Phone:&nbsp; ${object.company_id.phone}
% endif
% if object.company_id.street:
${object.company_id.street}
% endif
% if object.company_id.street2:
${object.company_id.street2}<br/>
% endif
% if object.company_id.city or object.company_id.zip:
${object.company_id.zip} ${object.company_id.city}<br/>
% endif
% if object.company_id.country_id:
${object.company_id.state_id and ('%s, ' % object.company_id.state_id.name) or ''} ${object.company_id.country_id.name or ''}<br/>
% endif
% if object.company_id.phone:
Phone:&nbsp; ${object.company_id.phone}
% endif
% if object.company_id.website:
<div>
Web :&nbsp;<a href="${object.company_id.website}">${object.company_id.website}</a>
</div>
%endif
% if object.company_id.website:
<div>
Web :&nbsp;<a href="${object.company_id.website}">${object.company_id.website}</a>
</div>
%endif
<div>
<img src=${object.company_id.logo_web}>
</div>
<div>
<img src=${object.company_id.logo_web}>
</div>
</div>
]]></field>
</record>
</data>
</openerp>
</data>
</openerp>

146
easy_my_coop_taxshelter_report/i18n/fr_BE.po

@ -19,100 +19,82 @@ msgstr ""
#. module: easy_my_coop_taxshelter_report
#: model:mail.template,body_html:easy_my_coop_taxshelter_report.email_template_tax_shelter_certificate
msgid ""
"\n"
"<div style=\"font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-"
"serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; \">\n"
msgid "\n"
"<div style=\"font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; \">\n"
" <p>Hello ${object.partner_id.name},</p>\n"
"\n"
"\t<p>You have subscribed to some shares of ${object.company_id.name} on "
"${object.declaration_id.fiscal_year}. \n"
"\tYou can benefit from the tax shelter, it means a tax reduction of ${object."
"declaration_id.tax_shelter_percentage} percent on the invested amount.\n"
"\tFor this you will find in attachments the documents certifying that you've "
"suscribed to ${object.company_id.name} shares</p>\n"
" <p>You have subscribed to some shares of ${object.company_id.name} on ${object.declaration_id.fiscal_year}.\n"
" You can benefit from the tax shelter, it means a tax reduction of ${object.declaration_id.tax_shelter_percentage} percent on the invested amount.\n"
" For this you will find in attachments the documents certifying that you've suscribed to ${object.company_id.name} shares</p>\n"
" <p>A dedicated FAQ is coming soon on ${object.company_id.website}.</p>\n"
" <p>For any additional questions, please contact ${object.company_id."
"coop_email_contact}</p>\n"
"\t<p>Sustainably your,</p>\n"
"\t<p>${object.company_id.name}.</p>\n"
" <p>For any additional questions, please contact ${object.company_id.coop_email_contact}</p>\n"
" <p>Sustainably your,</p>\n"
" <p>${object.company_id.name}.</p>\n"
"\n"
"\t\t% if object.company_id.street:\n"
" ${object.company_id.street}\n"
" % endif\n"
" % if object.company_id.street2:\n"
" ${object.company_id.street2}<br/>\n"
" % endif\n"
" % if object.company_id.city or object.company_id.zip:\n"
" ${object.company_id.zip} ${object.company_id.city}<br/>\n"
" % endif\n"
" % if object.company_id.country_id:\n"
" ${object.company_id.state_id and ('%s, ' % object.company_id."
"state_id.name) or ''} ${object.company_id.country_id.name or ''}<br/>\n"
" % endif\n"
" % if object.company_id.phone:\n"
" Phone:&nbsp; ${object.company_id.phone}\n"
" % endif\n"
" % if object.company_id.street:\n"
" ${object.company_id.street}\n"
" % endif\n"
" % if object.company_id.street2:\n"
" ${object.company_id.street2}<br/>\n"
" % endif\n"
" % if object.company_id.city or object.company_id.zip:\n"
" ${object.company_id.zip} ${object.company_id.city}<br/>\n"
" % endif\n"
" % if object.company_id.country_id:\n"
" ${object.company_id.state_id and ('%s, ' % object.company_id.state_id.name) or ''} ${object.company_id.country_id.name or ''}<br/>\n"
" % endif\n"
" % if object.company_id.phone:\n"
" Phone:&nbsp; ${object.company_id.phone}\n"
" % endif\n"
"\n"
" % if object.company_id.website:\n"
" <div>\n"
" Web :&nbsp;<a href=\"${object.company_id.website}\">${object."
"company_id.website}</a>\n"
" </div>\n"
" %endif\n"
" % if object.company_id.website:\n"
" <div>\n"
" Web :&nbsp;<a href=\"${object.company_id.website}\">${object.company_id.website}</a>\n"
" </div>\n"
" %endif\n"
"\n"
" <div>\n"
" <img src=${object.company_id.logo_web}>\n"
" </div>\n"
" <div>\n"
" <img src=${object.company_id.logo_web}>\n"
" </div>\n"
"</div>\n"
" "
msgstr ""
"\n"
"<div style=\"font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-"
"serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; \">\n"
" <p>Hello ${object.partner_id.name},</p>\n"
msgstr "\n"
"<div style=\"font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; \">\n"
" <p>Bonjour ${object.partner_id.name},</p>\n"
"\n"
"\t<p>Vous avez souscrit à des parts de ${object.company_id.name} durant "
"l’année ${object.declaration_id.fiscal_year}. \n"
"\tVous pouvez bénéficier du tax shelter, c’est-à-dire d’une réduction "
"d'impôts de ${object.declaration_id.tax_shelter_percentage} pourcent sur la "
"somme investie.\n"
"\tPour cela, vous trouverez en pièce jointe le certificat attestant que vous "
"avez souscrit à des parts de ${object.company_id.name} </p>\n"
" <p>Une Foire aux questions spéciale Tax shelter arrive prochainement sur "
"${object.company_id.website}.</p>\n"
" <p>Pour toutes questions supplémentaires, merci de vous adresser à "
"${object.company_id.coop_email_contact}</p>\n"
"\t<p>Amicalement,</p>\n"
"\t<p>${object.company_id.name}.</p>\n"
" <p>Vous avez souscrit à des parts de ${object.company_id.name} durant l’année ${object.declaration_id.fiscal_year}. \n"
" Vous pouvez bénéficier du tax shelter, c’est-à-dire d’une réduction d'impôts de ${object.declaration_id.tax_shelter_percentage} pourcent sur la somme investie.\n"
" Pour cela, vous trouverez en pièce jointe le certificat attestant que vous avez souscrit à des parts de ${object.company_id.name} </p>\n"
" <p>Une Foire aux questions spéciale Tax shelter arrive prochainement sur ${object.company_id.website}.</p>\n"
" <p>Pour toutes questions supplémentaires, merci de vous adresser à ${object.company_id.coop_email_contact}</p>\n"
" <p>Amicalement,</p>\n"
" <p>${object.company_id.name}.</p>\n"
"\n"
"\t\t% if object.company_id.street:\n"
" ${object.company_id.street}\n"
" % endif\n"
" % if object.company_id.street2:\n"
" ${object.company_id.street2}<br/>\n"
" % endif\n"
" % if object.company_id.city or object.company_id.zip:\n"
" ${object.company_id.zip} ${object.company_id.city}<br/>\n"
" % endif\n"
" % if object.company_id.country_id:\n"
" ${object.company_id.state_id and ('%s, ' % object.company_id."
"state_id.name) or ''} ${object.company_id.country_id.name or ''}<br/>\n"
" % endif\n"
" % if object.company_id.phone:\n"
" Phone:&nbsp; ${object.company_id.phone}\n"
" % endif\n"
" % if object.company_id.street:\n"
" ${object.company_id.street}\n"
" % endif\n"
" % if object.company_id.street2:\n"
" ${object.company_id.street2}<br/>\n"
" % endif\n"
" % if object.company_id.city or object.company_id.zip:\n"
" ${object.company_id.zip} ${object.company_id.city}<br/>\n"
" % endif\n"
" % if object.company_id.country_id:\n"
" ${object.company_id.state_id and ('%s, ' % object.company_id.state_id.name) or ''} ${object.company_id.country_id.name or ''}<br/>\n"
" % endif\n"
" % if object.company_id.phone:\n"
" Phone:&nbsp; ${object.company_id.phone}\n"
" % endif\n"
"\n"
" % if object.company_id.website:\n"
" <div>\n"
" Web :&nbsp;<a href=\"${object.company_id.website}\">${object."
"company_id.website}</a>\n"
" </div>\n"
" %endif\n"
" % if object.company_id.website:\n"
" <div>\n"
" Web :&nbsp;<a href=\"${object.company_id.website}\">${object.company_id.website}</a>\n"
" </div>\n"
" %endif\n"
"\n"
" <div>\n"
" <img src=${object.company_id.logo_web}>\n"
" </div>\n"
" <div>\n"
" <img src=${object.company_id.logo_web}>\n"
" </div>\n"
"</div>\n"
" "

Loading…
Cancel
Save