Skip to content

Commit

Permalink
[IMP] #62 - Suppression du fichier de sécurité ajouté par erreur + Aj…
Browse files Browse the repository at this point in the history
…out de la traduction du mail
  • Loading branch information
tgaullier committed Mar 20, 2023
1 parent d572a55 commit b060624
Show file tree
Hide file tree
Showing 2 changed files with 147 additions and 2 deletions.
147 changes: 147 additions & 0 deletions timesheet_reminder_mail/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * timesheet_reminder_mail
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-20 09:49+0000\n"
"PO-Revision-Date: 2023-03-20 09:49+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: timesheet_reminder_mail
#: model:mail.template,body_html:timesheet_reminder_mail.mail_template_timesheet_summary_manager
msgid ""
"<div>\n"
" <p>Hello ${object.firstname or 'n/a'},</p>\n"
" <p><br/>You will find below several tables summarizing the time spent by your employees.<br/></p>\n"
" % set sum_analytic_lines = object.get_summarized_analytic_lines(object)\n"
" % for summary in sum_analytic_lines\n"
" % if summary[0]:\n"
" % set intervenants = summary[0][0]\n"
" % set projets = summary[0][1]\n"
" % set titre = summary[1]\n"
" <br/>\n"
" <h2>${titre}</h2>\n"
" <div style=\"display:table;border-top:1px solid; border-left:1px solid;\">\n"
" <div style=\"display:table-row;font-weight:bold; background-color:#A7C5D0;\">\n"
" <div style=\"display:table-cell;padding: 2px 4px; border-bottom:1px solid; border-right:1px solid;\">Project | Intervenant</div>\n"
" % for intervenant in intervenants\n"
" <div style=\"display:table-cell;padding: 2px 4px; border-bottom:1px solid; border-right:1px solid; text-align:right;\">${intervenant}</div>\n"
" % endfor\n"
" </div>\n"
" % for nom_projet in projets\n"
" % if nom_projet == 'Total':\n"
" <div style=\"display:table-row; background-color:#A7C5D0;\">\n"
" <div style=\"display:table-cell;padding: 2px 4px; border-bottom:1px solid; border-right:1px solid;font-weight:bold;\">${nom_projet}</div>\n"
" % for intervenant in intervenants\n"
" % if intervenant in projets[nom_projet]:\n"
" <div style=\"display:table-cell;padding: 2px 4px; border-bottom:1px solid; border-right:1px solid; text-align:right;\">${'{:.2f}'.format(projets[nom_projet][intervenant]).replace('.',',')}</div>\n"
" % else\n"
" <div style=\"display:table-cell;padding: 2px 4px; border-bottom:1px solid; border-right:1px solid; text-align:right;\"/>\n"
" % endif\n"
" % endfor\n"
" </div>\n"
" % elif (loop.index % 2) == 0:\n"
" <div style=\"display:table-row; background-color:#DEEBEF;\">\n"
" <div style=\"display:table-cell;padding: 2px 4px; border-bottom:1px solid; border-right:1px solid;font-weight:bold;\">${nom_projet}</div>\n"
" % for intervenant in intervenants\n"
" % if intervenant in projets[nom_projet]:\n"
" <div style=\"display:table-cell;padding: 2px 4px; border-bottom:1px solid; border-right:1px solid; text-align:right;\">${'{:.2f}'.format(projets[nom_projet][intervenant]).replace('.',',')}</div>\n"
" % else\n"
" <div style=\"display:table-cell;padding: 2px 4px; border-bottom:1px solid; border-right:1px solid; text-align:right;\"/>\n"
" % endif\n"
" % endfor\n"
" </div>\n"
" % else\n"
" <div style=\"display:table-row;\">\n"
" <div style=\"display:table-cell;padding: 2px 4px; border-bottom:1px solid; border-right:1px solid;font-weight:bold;\">${nom_projet}</div>\n"
" % for intervenant in intervenants\n"
" % if intervenant in projets[nom_projet]:\n"
" <div style=\"display:table-cell;padding: 2px 4px; border-bottom:1px solid; border-right:1px solid; text-align:right;\">${'{:.2f}'.format(projets[nom_projet][intervenant]).replace('.',',')}</div>\n"
" % else\n"
" <div style=\"display:table-cell;padding: 2px 4px; border-bottom:1px solid; border-right:1px solid; text-align:right;\"/>\n"
" % endif\n"
" % endfor\n"
" </div>\n"
" % endif\n"
" % endfor\n"
" </div><br/>\n"
" % endif\n"
" % endfor\n"
" <br/>Thank you,<br/>\n"
" % if user.signature\n"
" ${user.signature | safe}\n"
" % endif\n"
" </div>\n"
" "
msgstr ""
"<div>\n"
" <p>Bonjour ${object.firstname or 'n/a'},</p>\n"
" <p><br/>Tu trouveras ci-dessous plusieurs tableaux récapitulant le temps passé sur chaque projet par tes employés.<br/></p>\n"
" % set sum_analytic_lines = object.get_summarized_analytic_lines(object)\n"
" % for summary in sum_analytic_lines\n"
" % if summary[0]:\n"
" % set intervenants = summary[0][0]\n"
" % set projets = summary[0][1]\n"
" % set titre = summary[1]\n"
" <br/>\n"
" <h2>${titre}</h2>\n"
" <div style=\"display:table;border-top:1px solid; border-left:1px solid;\">\n"
" <div style=\"display:table-row;font-weight:bold; background-color:#A7C5D0;\">\n"
" <div style=\"display:table-cell;padding: 2px 4px; border-bottom:1px solid; border-right:1px solid;\">Projet | Intervenant</div>\n"
" % for intervenant in intervenants\n"
" <div style=\"display:table-cell;padding: 2px 4px; border-bottom:1px solid; border-right:1px solid; text-align:right;\">${intervenant}</div>\n"
" % endfor\n"
" </div>\n"
" % for nom_projet in projets\n"
" % if nom_projet == 'Total':\n"
" <div style=\"display:table-row; background-color:#A7C5D0;\">\n"
" <div style=\"display:table-cell;padding: 2px 4px; border-bottom:1px solid; border-right:1px solid;font-weight:bold;\">${nom_projet}</div>\n"
" % for intervenant in intervenants\n"
" % if intervenant in projets[nom_projet]:\n"
" <div style=\"display:table-cell;padding: 2px 4px; border-bottom:1px solid; border-right:1px solid; text-align:right;\">${'{:.2f}'.format(projets[nom_projet][intervenant]).replace('.',',')}</div>\n"
" % else\n"
" <div style=\"display:table-cell;padding: 2px 4px; border-bottom:1px solid; border-right:1px solid; text-align:right;\"/>\n"
" % endif\n"
" % endfor\n"
" </div>\n"
" % elif (loop.index % 2) == 0:\n"
" <div style=\"display:table-row; background-color:#DEEBEF;\">\n"
" <div style=\"display:table-cell;padding: 2px 4px; border-bottom:1px solid; border-right:1px solid;font-weight:bold;\">${nom_projet}</div>\n"
" % for intervenant in intervenants\n"
" % if intervenant in projets[nom_projet]:\n"
" <div style=\"display:table-cell;padding: 2px 4px; border-bottom:1px solid; border-right:1px solid; text-align:right;\">${'{:.2f}'.format(projets[nom_projet][intervenant]).replace('.',',')}</div>\n"
" % else\n"
" <div style=\"display:table-cell;padding: 2px 4px; border-bottom:1px solid; border-right:1px solid; text-align:right;\"/>\n"
" % endif\n"
" % endfor\n"
" </div>\n"
" % else\n"
" <div style=\"display:table-row;\">\n"
" <div style=\"display:table-cell;padding: 2px 4px; border-bottom:1px solid; border-right:1px solid;font-weight:bold;\">${nom_projet}</div>\n"
" % for intervenant in intervenants\n"
" % if intervenant in projets[nom_projet]:\n"
" <div style=\"display:table-cell;padding: 2px 4px; border-bottom:1px solid; border-right:1px solid; text-align:right;\">${'{:.2f}'.format(projets[nom_projet][intervenant]).replace('.',',')}</div>\n"
" % else\n"
" <div style=\"display:table-cell;padding: 2px 4px; border-bottom:1px solid; border-right:1px solid; text-align:right;\"/>\n"
" % endif\n"
" % endfor\n"
" </div>\n"
" % endif\n"
" % endfor\n"
" </div><br/>\n"
" % endif\n"
" % endfor\n"
" <br/>Merci,<br/>\n"
" % if user.signature\n"
" ${user.signature | safe}\n"
" % endif\n"
" </div>\n"
" "
2 changes: 0 additions & 2 deletions timesheet_reminder_mail/security/ir.model.access.csv

This file was deleted.

0 comments on commit b060624

Please sign in to comment.