Merge PR #600 into 12.0

Signed-off-by pedrobaeza
This commit is contained in:
OCA-git-bot
2021-01-04 08:07:53 +00:00
5 changed files with 41 additions and 9 deletions

View File

@@ -19,6 +19,7 @@
'views/contract_line_views.xml',
'views/contract_template.xml',
'views/contract.xml',
'views/contract_portal_templates.xml',
],
'installable': True,
}

View File

@@ -6,6 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-01-04 07:13+0000\n"
"PO-Revision-Date: 2021-01-04 07:13+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -56,6 +58,11 @@ msgstr ""
msgid "<i>user</i>: Current user."
msgstr ""
#. module: contract_variable_quantity
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.portal_contract_page
msgid "<span>Variable</span>"
msgstr ""
#. module: contract_variable_quantity
#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line
msgid "Abstract Recurring Contract Line"

View File

@@ -8,16 +8,16 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-04-27 01:12+0000\n"
"PO-Revision-Date: 2019-10-30 01:33+0000\n"
"POT-Creation-Date: 2021-01-04 07:13+0000\n"
"PO-Revision-Date: 2021-01-04 08:14+0100\n"
"Last-Translator: Josep M <jmyepes@mac.com>\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.8\n"
"X-Generator: Poedit 2.3\n"
#. module: contract_variable_quantity
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
@@ -31,8 +31,8 @@ msgid ""
msgstr ""
"<code>\n"
" result =\n"
" "
"env['product.product'].search_count([('sale_ok',\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>"
@@ -82,6 +82,11 @@ msgstr ""
msgid "<i>user</i>: Current user."
msgstr "<i>user</i>: Usuario actual."
#. module: contract_variable_quantity
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.portal_contract_page
msgid "<span>Variable</span>"
msgstr "<span>Variable</span>"
#. module: contract_variable_quantity
#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line
msgid "Abstract Recurring Contract Line"
@@ -245,8 +250,8 @@ msgid ""
" 'result'."
msgstr ""
"Debe insertar un bloque de código Python válido que\n"
" almacena en algún momento un valor flotante /"
" entero de\n"
" almacena en algún momento un valor "
"flotante / entero de\n"
" la cantidad a facturar en la variable\n"
" 'result'."

View File

@@ -1,3 +1,7 @@
* Pedro M. Baeza <pedro.baeza@tecnativa.com>
* Dave Lasley <dave@laslabs.com>
* Souheil Bejaoui <souheil.bejaoui@acsone.eu>
* `Tecnativa <https://www.tecnativa.com>`_:
* Pedro M. Baeza
* Víctor Martínez

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<template
id="portal_contract_page"
inherit_id="contract.portal_contract_page"
name="My Contract - Qty types"
>
<xpath expr="//td[@name='td_quantity']/span" position="attributes">
<attribute name="t-if">line.qty_type=='fixed'</attribute>
</xpath>
<xpath expr="//td[@name='td_quantity']/span" position="after">
<span t-if="line.qty_type=='variable'">Variable</span>
</xpath>
</template>
</odoo>