Browse Source

[ADD] add date of generation on certificate, smaller signature and font-size to prevent 2nd page

pull/30/head
Manuel Claeys Bouuaert 5 years ago
parent
commit
2c2bd12765
  1. 5
      easy_my_coop/i18n/fr.po
  2. 5
      easy_my_coop/i18n/fr_BE.po
  3. 5
      easy_my_coop/i18n/nl_BE.po
  4. 9
      easy_my_coop/report/cooperator_certificat_G001.xml

5
easy_my_coop/i18n/fr.po

@ -736,6 +736,11 @@ msgstr "1030"
msgid "25"
msgstr "25"
#. module: easy_my_coop
#: model:ir.ui.view,arch_db:easy_my_coop.cooperator_certificat_G001_document
msgid "<span> Certificate generated on </span>"
msgstr "<span> Certificat généré le </span>"
#. module: easy_my_coop
#: model:ir.ui.view,arch_db:easy_my_coop.cooperator_certificat_G001_document
msgid "<span> is recorded in the register of cooperators under number </span>"

5
easy_my_coop/i18n/fr_BE.po

@ -736,6 +736,11 @@ msgstr "1030"
msgid "25"
msgstr "25"
#. module: easy_my_coop
#: model:ir.ui.view,arch_db:easy_my_coop.cooperator_certificat_G001_document
msgid "<span> Certificate generated on </span>"
msgstr "<span> Certificat généré le </span>"
#. module: easy_my_coop
#: model:ir.ui.view,arch_db:easy_my_coop.cooperator_certificat_G001_document
msgid "<span> is recorded in the register of cooperators under number </span>"

5
easy_my_coop/i18n/nl_BE.po

@ -439,6 +439,11 @@ msgstr "25"
msgid "<p>Access this document <a href=\"%s\">directly in OpenERP</a></p>"
msgstr "<p>Access this document <a href=\"%s\">directly in OpenERP</a></p>"
#. module: easy_my_coop
#: model:ir.ui.view,arch_db:easy_my_coop.cooperator_certificat_G001_document
msgid "<span> Certificate generated on </span>"
msgstr "<span> Certificate generated on </span>"
#. module: easy_my_coop
#: model:ir.ui.view,arch_db:easy_my_coop.cooperator_certificat_G001_document
msgid "<span> is recorded in the register of cooperators under number </span>"

9
easy_my_coop/report/cooperator_certificat_G001.xml

@ -57,6 +57,11 @@
<div style="width:125px;position:relative;top:10px;border-bottom: 4pt solid #fcc300;"/>
</h2>
<div name="label_coop_number" style="position:relative;top:45px;">
<span> Certificate generated on </span>
<span t-esc="context_timestamp(datetime.datetime.now()).strftime('%Y-%m-%d')"/>
</div>
<div name="label_coop_number" style="position:relative;top:55px;">
<span t-field="o.name"></span>
<span> is recorded in the register of cooperators under number </span>
@ -141,7 +146,7 @@
</div>
<div class="row">
<div name="board_commitee" class="col-xs-6 pull-left" style="position:relative;top:205px;font-size:20;color:black;font-family:Roboto-Regular;">
<div name="board_commitee" class="col-xs-6 pull-left" style="position:relative;top:205px;color:black;font-family:Roboto-Regular;">
<div style="position:relative;top:205px;">
Pour le Conseil d'administration de <span t-field="o.company_id.name"/>.
</div>
@ -149,7 +154,7 @@
<strong><span t-field="o.company_id.board_representative"/></strong>
</div>
<div style="position:relative;top:225px;">
<img t-if="o.company_id.signature_scan" t-att-src="'data:image/png;base64,%s' % o.company_id.signature_scan" style="width:240px;height:200px;padding-bottom:5px;"/>
<img t-if="o.company_id.signature_scan" t-att-src="'data:image/png;base64,%s' % o.company_id.signature_scan" style="width:200px;height:150px;padding-bottom:5px;"/>
</div>
</div>
</div>

Loading…
Cancel
Save