mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[IMP][10.0] contract: Add report + send by mail (#86)
* [IMP][9.0] contract: Add report + send by mail * Update translation and rename contract report * Changes requested and translation updated
This commit is contained in:
committed by
Jean-Charles Drubay
parent
14a7b715d5
commit
88321d1cb1
@@ -1,7 +1,7 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * contract
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2016
|
||||
msgid ""
|
||||
@@ -18,6 +18,103 @@ msgstr ""
|
||||
"Language: es\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: contract
|
||||
#: model:mail.template,body_html:contract.email_contract_template
|
||||
msgid "\n"
|
||||
"<div style=\"font-family: 'Lucida Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; \">\n"
|
||||
" <p>Hello ${object.partner_id.name or ''},</p>\n"
|
||||
" <p>A new contract has been created: </p>\n"
|
||||
"\n"
|
||||
" <p style=\"border-left: 1px solid #8e0000; margin-left: 30px;\">\n"
|
||||
" <strong>REFERENCES</strong><br />\n"
|
||||
" Contract: <strong>${object.name}</strong><br />\n"
|
||||
" % if object.date_start:\n"
|
||||
" Contract Date Start: ${object.date_start or ''}<br />\n"
|
||||
" % endif\n"
|
||||
"\n"
|
||||
" % if object.user_id:\n"
|
||||
" % if object.user_id.email:\n"
|
||||
" Your Contact: <a href=\"mailto:${object.user_id.email or ''}?subject=Contract%20${object.name}\">${object.user_id.name}</a>\n"
|
||||
" % else:\n"
|
||||
" Your Contact: ${object.user_id.name}\n"
|
||||
" % endif\n"
|
||||
" % endif\n"
|
||||
" </p>\n"
|
||||
"\n"
|
||||
" <br/>\n"
|
||||
" <p>If you have any questions, do not hesitate to contact us.</p>\n"
|
||||
" <p>Thank you for choosing ${object.company_id.name or 'us'}!</p>\n"
|
||||
" <br/>\n"
|
||||
" <br/>\n"
|
||||
" <div style=\"width: 375px; margin: 0px; padding: 0px; background-color: #8E0000; border-top-left-radius: 5px 5px; border-top-right-radius: 5px 5px; background-repeat: repeat no-repeat;\">\n"
|
||||
" <h3 style=\"margin: 0px; padding: 2px 14px; font-size: 12px; color: #DDD;\">\n"
|
||||
" <strong style=\"text-transform:uppercase;\">${object.company_id.name}</strong></h3>\n"
|
||||
" </div>\n"
|
||||
" <div style=\"width: 347px; margin: 0px; padding: 5px 14px; line-height: 16px; background-color: #F2F2F2;\">\n"
|
||||
" <span style=\"color: #222; margin-bottom: 5px; display: block; \">\n"
|
||||
" ${object.company_id.partner_id.sudo().with_context(show_address=True, html_format=True).name_get()[0][1] | safe}\n"
|
||||
" </span>\n"
|
||||
" % if object.company_id.phone:\n"
|
||||
" <div style=\"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; \">\n"
|
||||
" Phone: ${object.company_id.phone}\n"
|
||||
" </div>\n"
|
||||
" % endif\n"
|
||||
" % if object.company_id.website:\n"
|
||||
" <div>\n"
|
||||
" Web: <a href=\"${object.company_id.website}\">${object.company_id.website}</a>\n"
|
||||
" </div>\n"
|
||||
" %endif\n"
|
||||
" <p></p>\n"
|
||||
" </div>\n"
|
||||
"</div>\n"
|
||||
" "
|
||||
msgstr "\n"
|
||||
"<div style=\"font-family: 'Lucida Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; \">\n"
|
||||
" <p>Hola ${object.partner_id.name or ''},</p>\n"
|
||||
" <p>Se ha creado un nuevo contrato: </p>\n"
|
||||
"\n"
|
||||
" <p style=\"border-left: 1px solid #8e0000; margin-left: 30px;\">\n"
|
||||
" <strong>REFERENCIAS</strong><br />\n"
|
||||
" Contrato: <strong>${object.name}</strong><br />\n"
|
||||
" Fecha de inicio del contrato: ${object.date_start or ''}<br />\n"
|
||||
"\n"
|
||||
" % if object.user_id:\n"
|
||||
" % if object.user_id.email:\n"
|
||||
" Contacto: <a href=\"mailto:${object.user_id.email or ''}?subject=Contrato%20${object.name}\">${object.user_id.name}</a>\n"
|
||||
" % else:\n"
|
||||
" Contacto: ${object.user_id.name}\n"
|
||||
" % endif\n"
|
||||
" % endif\n"
|
||||
" </p>\n"
|
||||
"\n"
|
||||
" <br/>\n"
|
||||
" <p>Si tiene cualquier pregunta, no dude en contactarnos.</p>\n"
|
||||
" <p>Gracias por elegir ${object.company_id.name or 'nos'}!</p>\n"
|
||||
" <br/>\n"
|
||||
" <br/>\n"
|
||||
" <div style=\"width: 375px; margin: 0px; padding: 0px; background-color: #8E0000; border-top-left-radius: 5px 5px; border-top-right-radius: 5px 5px; background-repeat: repeat no-repeat;\">\n"
|
||||
" <h3 style=\"margin: 0px; padding: 2px 14px; font-size: 12px; color: #DDD;\">\n"
|
||||
" <strong style=\"text-transform:uppercase;\">${object.company_id.name}</strong></h3>\n"
|
||||
" </div>\n"
|
||||
" <div style=\"width: 347px; margin: 0px; padding: 5px 14px; line-height: 16px; background-color: #F2F2F2;\">\n"
|
||||
" <span style=\"color: #222; margin-bottom: 5px; display: block; \">\n"
|
||||
" ${object.company_id.partner_id.sudo().with_context(show_address=True, html_format=True).name_get()[0][1] | safe}\n"
|
||||
" </span>\n"
|
||||
" % if object.company_id.phone:\n"
|
||||
" <div style=\"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; \">\n"
|
||||
" Teléfono: ${object.company_id.phone}\n"
|
||||
" </div>\n"
|
||||
" % endif\n"
|
||||
" % if object.company_id.website:\n"
|
||||
" <div>\n"
|
||||
" Web: <a href=\"${object.company_id.website}\">${object.company_id.website}</a>\n"
|
||||
" </div>\n"
|
||||
" %endif\n"
|
||||
" <p></p>\n"
|
||||
" </div>\n"
|
||||
"</div>\n"
|
||||
" "
|
||||
|
||||
#. module: contract
|
||||
#: model:ir.ui.view,arch_db:contract.account_analytic_account_recurring_form_form
|
||||
#: model:ir.ui.view,arch_db:contract.account_analytic_contract_view_form
|
||||
@@ -30,6 +127,41 @@ msgstr "<strong>#END#</strong>: Fecha fin del periodo facturado"
|
||||
msgid "<strong>#START#</strong>: Start date of the invoiced period"
|
||||
msgstr "<strong>#START#</strong>: Fecha inicio del periodo facturado"
|
||||
|
||||
#. module: contract
|
||||
#: model:ir.ui.view,arch_db:contract.report_contract_document
|
||||
msgid "<strong>Description</strong>"
|
||||
msgstr "<strong>Descripción</strong>"
|
||||
|
||||
#. module: contract
|
||||
#: model:ir.ui.view,arch_db:contract.report_contract_document
|
||||
msgid "<strong>Recurring Items</strong>"
|
||||
msgstr "<strong>Elementos recurrentes</strong>"
|
||||
|
||||
#. module: contract
|
||||
#: model:ir.ui.view,arch_db:contract.report_contract_document
|
||||
msgid "<strong>Partner:</strong>"
|
||||
msgstr "<strong>Empresa:</strong>"
|
||||
|
||||
#. module: contract
|
||||
#: model:ir.ui.view,arch_db:contract.report_contract_document
|
||||
msgid "<strong>Price</strong>"
|
||||
msgstr "<strong>Precio</strong>"
|
||||
|
||||
#. module: contract
|
||||
#: model:ir.ui.view,arch_db:contract.report_contract_document
|
||||
msgid "<strong>Quantity</strong>"
|
||||
msgstr "<strong>Cantidad</strong>"
|
||||
|
||||
#. module: contract
|
||||
#: model:ir.ui.view,arch_db:contract.report_contract_document
|
||||
msgid "<strong>Total</strong>"
|
||||
msgstr "<strong>Total</strong>"
|
||||
|
||||
#. module: contract
|
||||
#: model:ir.ui.view,arch_db:contract.report_contract_document
|
||||
msgid "<strong>Unit Price</strong>"
|
||||
msgstr "<strong>Precio unidad</strong>"
|
||||
|
||||
#. module: contract
|
||||
#: model:ir.ui.view,arch_db:contract.account_analytic_account_recurring_form_form
|
||||
#: model:ir.ui.view,arch_db:contract.account_analytic_contract_view_form
|
||||
@@ -57,6 +189,12 @@ msgstr "Pinche para crear un contrato nuevo. "
|
||||
msgid "Contract"
|
||||
msgstr "Contrato"
|
||||
|
||||
#. module: contract
|
||||
#: code:addons/contract/models/account_analytic_account.py:217
|
||||
#, python-format
|
||||
msgid "Compose Email"
|
||||
msgstr "Componer correo electrónico"
|
||||
|
||||
#. module: contract
|
||||
#: model:ir.model.fields,field_description:contract.field_account_analytic_account_contract_template_id
|
||||
#: model:ir.ui.view,arch_db:contract.account_analytic_contract_view_form
|
||||
@@ -95,6 +233,11 @@ msgstr "Creado por"
|
||||
msgid "Created on"
|
||||
msgstr "Creado en"
|
||||
|
||||
#. module: contract
|
||||
#: model:ir.ui.view,arch_db:contract.report_contract_document
|
||||
msgid "Date Start:"
|
||||
msgstr "Fecha de inicio:"
|
||||
|
||||
#. module: contract
|
||||
#: model:ir.model.fields,field_description:contract.field_account_analytic_account_recurring_next_date
|
||||
msgid "Date of Next Invoice"
|
||||
@@ -300,6 +443,21 @@ msgstr "Repetir cada"
|
||||
msgid "Repeat every (Days/Week/Month/Year)"
|
||||
msgstr "Repetir cada (días/semana/mes/año)"
|
||||
|
||||
#. module: contract
|
||||
#: model:ir.model.fields,field_description:contract.field_account_analytic_account_user_id
|
||||
msgid "Responsible"
|
||||
msgstr "Responsable"
|
||||
|
||||
#. module: contract
|
||||
#: model:ir.ui.view,arch_db:contract.report_contract_document
|
||||
msgid "Responsible:"
|
||||
msgstr "Responsable:"
|
||||
|
||||
#. module: contract
|
||||
#: model:ir.ui.view,arch_db:contract.account_analytic_account_recurring_form_form
|
||||
msgid "Send by Email"
|
||||
msgstr "Enviar por correo electrónico"
|
||||
|
||||
#. module: contract
|
||||
#: model:ir.model.fields,help:contract.field_account_analytic_account_recurring_rule_type
|
||||
#: model:ir.model.fields,help:contract.field_account_analytic_contract_recurring_rule_type
|
||||
@@ -328,6 +486,11 @@ msgstr "Precio unidad"
|
||||
msgid "Unit of Measure"
|
||||
msgstr "Unidad de medida"
|
||||
|
||||
#. module: contract
|
||||
#: model:ir.ui.view,arch_db:contract.report_contract_document
|
||||
msgid "VAT:"
|
||||
msgstr "NIF:"
|
||||
|
||||
#. module: contract
|
||||
#: selection:account.analytic.account,recurring_rule_type:0
|
||||
#: selection:account.analytic.contract,recurring_rule_type:0
|
||||
|
||||
Reference in New Issue
Block a user