mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[IMP] contract: Add fields to contract page in portal
This commit is contained in:
committed by
Francisco Ivan Anton Prieto
parent
de1974af57
commit
d4d16c4cf6
@@ -6,6 +6,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 13.0\n"
|
"Project-Id-Version: Odoo Server 13.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2020-12-31 14:54+0000\n"
|
||||||
|
"PO-Revision-Date: 2020-12-31 14:54+0000\n"
|
||||||
"Last-Translator: \n"
|
"Last-Translator: \n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@@ -1232,11 +1234,6 @@ msgstr ""
|
|||||||
msgid "Last Updated on"
|
msgid "Last Updated on"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: contract
|
|
||||||
#: model_terms:ir.ui.view,arch_db:contract.portal_contract_page
|
|
||||||
msgid "Last date invoice"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: contract
|
#. module: contract
|
||||||
#: model_terms:ir.ui.view,arch_db:contract.contract_contract_form_view
|
#: model_terms:ir.ui.view,arch_db:contract.contract_contract_form_view
|
||||||
#: model_terms:ir.ui.view,arch_db:contract.contract_template_form_view
|
#: model_terms:ir.ui.view,arch_db:contract.contract_template_form_view
|
||||||
@@ -1522,6 +1519,11 @@ msgstr ""
|
|||||||
msgid "Preview"
|
msgid "Preview"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: contract
|
||||||
|
#: model_terms:ir.ui.view,arch_db:contract.portal_contract_page
|
||||||
|
msgid "Price unit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. module: contract
|
#. module: contract
|
||||||
#: model:ir.model.fields,field_description:contract.field_contract_abstract_contract__pricelist_id
|
#: model:ir.model.fields,field_description:contract.field_contract_abstract_contract__pricelist_id
|
||||||
#: model:ir.model.fields,field_description:contract.field_contract_contract__pricelist_id
|
#: model:ir.model.fields,field_description:contract.field_contract_contract__pricelist_id
|
||||||
@@ -1548,6 +1550,7 @@ msgstr ""
|
|||||||
#: model:ir.model.fields,field_description:contract.field_contract_abstract_contract_line__quantity
|
#: model:ir.model.fields,field_description:contract.field_contract_abstract_contract_line__quantity
|
||||||
#: model:ir.model.fields,field_description:contract.field_contract_line__quantity
|
#: model:ir.model.fields,field_description:contract.field_contract_line__quantity
|
||||||
#: model:ir.model.fields,field_description:contract.field_contract_template_line__quantity
|
#: model:ir.model.fields,field_description:contract.field_contract_template_line__quantity
|
||||||
|
#: model_terms:ir.ui.view,arch_db:contract.portal_contract_page
|
||||||
msgid "Quantity"
|
msgid "Quantity"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
@@ -9,8 +9,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 11.0\n"
|
"Project-Id-Version: Odoo Server 11.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2020-12-29 07:26+0000\n"
|
"POT-Creation-Date: 2020-12-31 14:54+0000\n"
|
||||||
"PO-Revision-Date: 2020-12-29 08:27+0100\n"
|
"PO-Revision-Date: 2020-12-31 15:55+0100\n"
|
||||||
"Last-Translator: Pedro M. Baeza <pedro.baeza@gmail.com>\n"
|
"Last-Translator: Pedro M. Baeza <pedro.baeza@gmail.com>\n"
|
||||||
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
|
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
|
||||||
"Language: es\n"
|
"Language: es\n"
|
||||||
@@ -1382,11 +1382,6 @@ msgstr "Última Actualización por"
|
|||||||
msgid "Last Updated on"
|
msgid "Last Updated on"
|
||||||
msgstr "Última Actualización en"
|
msgstr "Última Actualización en"
|
||||||
|
|
||||||
#. module: contract
|
|
||||||
#: model_terms:ir.ui.view,arch_db:contract.portal_contract_page
|
|
||||||
msgid "Last date invoice"
|
|
||||||
msgstr "Última fecha de factura"
|
|
||||||
|
|
||||||
#. module: contract
|
#. module: contract
|
||||||
#: model_terms:ir.ui.view,arch_db:contract.contract_contract_form_view
|
#: model_terms:ir.ui.view,arch_db:contract.contract_contract_form_view
|
||||||
#: model_terms:ir.ui.view,arch_db:contract.contract_template_form_view
|
#: model_terms:ir.ui.view,arch_db:contract.contract_template_form_view
|
||||||
@@ -1677,6 +1672,13 @@ msgstr "Líneas de contrato predecesora"
|
|||||||
msgid "Preview"
|
msgid "Preview"
|
||||||
msgstr "Previsualizar"
|
msgstr "Previsualizar"
|
||||||
|
|
||||||
|
#. module: contract
|
||||||
|
#: model_terms:ir.ui.view,arch_db:contract.portal_contract_page
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "Pricelist"
|
||||||
|
msgid "Price unit"
|
||||||
|
msgstr "Precio unitario"
|
||||||
|
|
||||||
#. module: contract
|
#. module: contract
|
||||||
#: model:ir.model.fields,field_description:contract.field_contract_abstract_contract__pricelist_id
|
#: model:ir.model.fields,field_description:contract.field_contract_abstract_contract__pricelist_id
|
||||||
#: model:ir.model.fields,field_description:contract.field_contract_contract__pricelist_id
|
#: model:ir.model.fields,field_description:contract.field_contract_contract__pricelist_id
|
||||||
@@ -1703,6 +1705,7 @@ msgstr "Contratos de compras"
|
|||||||
#: model:ir.model.fields,field_description:contract.field_contract_abstract_contract_line__quantity
|
#: model:ir.model.fields,field_description:contract.field_contract_abstract_contract_line__quantity
|
||||||
#: model:ir.model.fields,field_description:contract.field_contract_line__quantity
|
#: model:ir.model.fields,field_description:contract.field_contract_line__quantity
|
||||||
#: model:ir.model.fields,field_description:contract.field_contract_template_line__quantity
|
#: model:ir.model.fields,field_description:contract.field_contract_template_line__quantity
|
||||||
|
#: model_terms:ir.ui.view,arch_db:contract.portal_contract_page
|
||||||
msgid "Quantity"
|
msgid "Quantity"
|
||||||
msgstr "Cantidad"
|
msgstr "Cantidad"
|
||||||
|
|
||||||
@@ -2311,5 +2314,8 @@ msgstr "ejemplo Contrato XYZ"
|
|||||||
msgid "on"
|
msgid "on"
|
||||||
msgstr "en"
|
msgstr "en"
|
||||||
|
|
||||||
|
#~ msgid "Last date invoice"
|
||||||
|
#~ msgstr "Última fecha de factura"
|
||||||
|
|
||||||
#~ msgid "Contract Order -"
|
#~ msgid "Contract Order -"
|
||||||
#~ msgstr "Pedido de contrato -"
|
#~ msgstr "Pedido de contrato -"
|
||||||
|
|||||||
@@ -200,10 +200,26 @@
|
|||||||
<table class="table table-sm" id="sales_order_table">
|
<table class="table table-sm" id="sales_order_table">
|
||||||
<thead class="bg-100">
|
<thead class="bg-100">
|
||||||
<tr>
|
<tr>
|
||||||
<th class="text-left">Description</th>
|
<th
|
||||||
<th class="text-right">Recurrence</th>
|
name="th_name"
|
||||||
<th class="text-right">Date of next invoice</th>
|
class="text-left"
|
||||||
<th class="text-right">Last date invoice</th>
|
>Description</th>
|
||||||
|
<th
|
||||||
|
name="th_quantity"
|
||||||
|
class="text-right"
|
||||||
|
>Quantity</th>
|
||||||
|
<th
|
||||||
|
name="th_price_unit"
|
||||||
|
class="text-right"
|
||||||
|
>Price unit</th>
|
||||||
|
<th
|
||||||
|
name="th_recurring_interval"
|
||||||
|
class="text-right"
|
||||||
|
>Recurrence</th>
|
||||||
|
<th
|
||||||
|
name="th_recurring_next_date"
|
||||||
|
class="text-right"
|
||||||
|
>Date of next invoice</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody class="contract_tbody">
|
<tbody class="contract_tbody">
|
||||||
@@ -212,10 +228,22 @@
|
|||||||
t-as="line"
|
t-as="line"
|
||||||
>
|
>
|
||||||
<tr>
|
<tr>
|
||||||
<td id="line_name">
|
<td name="td_name">
|
||||||
<span t-field="line.name" />
|
<span t-field="line.name" />
|
||||||
</td>
|
</td>
|
||||||
<td class="text-right">
|
<td name="td_quantity" class="text-right">
|
||||||
|
<span t-field="line.quantity" />
|
||||||
|
</td>
|
||||||
|
<td name="td_price_unit" class="text-right">
|
||||||
|
<span
|
||||||
|
t-field="line.price_unit"
|
||||||
|
t-options='{"widget": "monetary", "display_currency": contract.currency_id}'
|
||||||
|
/>
|
||||||
|
</td>
|
||||||
|
<td
|
||||||
|
name="td_recurring_interval"
|
||||||
|
class="text-right"
|
||||||
|
>
|
||||||
<span
|
<span
|
||||||
t-field="line.recurring_interval"
|
t-field="line.recurring_interval"
|
||||||
/>
|
/>
|
||||||
@@ -241,16 +269,14 @@
|
|||||||
t-if="line.recurring_rule_type=='yearly'"
|
t-if="line.recurring_rule_type=='yearly'"
|
||||||
>Year(s)</t>
|
>Year(s)</t>
|
||||||
</td>
|
</td>
|
||||||
<td class="text-right">
|
<td
|
||||||
|
name="td_recurring_next_date"
|
||||||
|
class="text-right"
|
||||||
|
>
|
||||||
<span
|
<span
|
||||||
t-field="line.recurring_next_date"
|
t-field="line.recurring_next_date"
|
||||||
/>
|
/>
|
||||||
</td>
|
</td>
|
||||||
<td class="text-right">
|
|
||||||
<span
|
|
||||||
t-field="line.last_date_invoiced"
|
|
||||||
/>
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
</t>
|
</t>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
Reference in New Issue
Block a user