Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modifications of Venezuelan currency rate provider #13

Open
wants to merge 2 commits into
base: 16.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion res_currency_rate_provider_BCV/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ Contributors
~~~~~~~~~~~~

* Luis Pinzón [email protected]
* Mauricio Gonzalez Falcon <[email protected]>

Maintainers
~~~~~~~~~~~
Expand All @@ -89,10 +90,14 @@ promote its widespread use.
.. |maintainer-lapinzon| image:: https://github.com/lapinzon.png?size=40px
:target: https://github.com/lapinzon
:alt: lapinzon
.. |maintainer-maucoder| image:: https://github.com/maucoderGit.png?size=40px
:target: https://github.com/maucoderGit
:alt: maucoderGit

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-lapinzon|
|maintainer-lapinzon|
|maintainer-maucoder|

This module is part of the `OCA/l10n-venezuela <https://github.com/OCA/l10n-venezuela/tree/16.0/res_currency_rate_provider_BCV>`_ project on GitHub.

Expand Down
3 changes: 2 additions & 1 deletion res_currency_rate_provider_BCV/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"installable": True,
"depends": ["currency_rate_update"],
"data": [
"views/views.xml",
"views/res_currency_rate_update_wizard.xml",
"views/res_currency_rate_provider.xml",
],
}
55 changes: 55 additions & 0 deletions res_currency_rate_provider_BCV/i18n/es_VE.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * res_currency_rate_provider_BCV
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0-20240104\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-01-14 18:47+0000\n"
"PO-Revision-Date: 2024-01-14 18:47+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: res_currency_rate_provider_BCV
#: model_terms:ir.ui.view,arch_db:res_currency_rate_provider_BCV.res_currency_rate_provider_bdv_form
msgid ""
"<strong>Warning!</strong>\n"
" You are using Venezuelan Central Bank (BCV) exchange rate\n"
" service with a base currency different to Venezuelan Bolivar.\n"
" <br/>\n"
" As long as the BCV only provides\n"
" exchange rates based on Bolivar, other foreign currency\n"
" rates are recalculated and might differ from real rates."
msgstr ""
"<strong>Advertencia!</strong>\n"
" Estas usando las tasas de cambio del Banco central de Venezuela (BCV)\n"
" con una moneda diferente al Bolivar Venezolano.\n"
" <br/>\n"
" Mientras que el BCV solo provee tasas de cambio\n"
" basadas en el Bolivar, otras tasas de cambio para monedas\n"
" son recalculadas y pueden diferir de las tasas reales."

#. module: res_currency_rate_provider_BCV
#: model:ir.model.fields.selection,name:res_currency_rate_provider_BCV.selection__res_currency_rate_provider__service__bcv
msgid "BCV scrapping"
msgstr "Banco central de Venezuela"

#. module: res_currency_rate_provider_BCV
#: model:ir.model,name:res_currency_rate_provider_BCV.model_res_currency_rate_provider
msgid "Currency Rates Provider"
msgstr "Proveedor de Tipos de Cambio"

#. module: res_currency_rate_provider_BCV
#: model:ir.model.fields,field_description:res_currency_rate_provider_BCV.field_res_currency_rate_provider__service
msgid "Provider"
msgstr "Proveedor"

#. module: res_currency_rate_provider_BCV
#: model_terms:ir.ui.view,arch_db:res_currency_rate_provider_BCV.res_currency_rate_update_wizard_form
msgid "Se tomará la tasa de Hoy"
msgstr ""
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,41 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: res_currency_rate_provider_BCV
#: model_terms:ir.ui.view,arch_db:res_currency_rate_provider_BCV.res_currency_rate_provider_bdv_form
msgid ""
"<strong>Warning!</strong>\n"
" You are using Venezuelan Central Bank (BCV) exchange rate\n"
" service with a base currency different to Venezuelan Bolivar.\n"
" <br/>\n"
" As long as the BCV only provides\n"
" exchange rates based on Bolivar, other foreign currency\n"
" rates are recalculated and might differ from real rates."
msgstr ""
"<strong>Advertencia!</strong>\n"
" Estas usando las tasas de cambio del Banco central de Venezuela (BCV)\n"
" con una moneda diferente al Bolivar Venezolano.\n"
" <br/>\n"
" Mientras que el BCV solo provee tasas de cambio\n"
" basadas en el Bolivar, otras tasas de cambio para monedas\n"
" son recalculadas y pueden diferir de las tasas reales."

#. module: res_currency_rate_provider_BCV
#: model:ir.model.fields.selection,name:res_currency_rate_provider_BCV.selection__res_currency_rate_provider__service__bcv
msgid "BCV scrapping"
msgstr ""
msgstr "Banco central de Venezuela"

#. module: res_currency_rate_provider_BCV
#: model:ir.model,name:res_currency_rate_provider_BCV.model_res_currency_rate_provider
msgid "Currency Rates Provider"
msgstr ""
msgstr "Proveedor de tasas"

#. module: res_currency_rate_provider_BCV
#: model:ir.model.fields,field_description:res_currency_rate_provider_BCV.field_res_currency_rate_provider__service
msgid "Provider"
msgstr ""
msgstr "Proveedor"

#. module: res_currency_rate_provider_BCV
#: model_terms:ir.ui.view,arch_db:res_currency_rate_provider_BCV.res_currency_rate_update_wizard_form
msgid "Se tomará la tasa de Hoy"
msgstr ""
msgstr "Se obtendra la tasa de hoy"
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record id="res_currency_rate_provider_bdv_form" model="ir.ui.view">
<field name="name">res.currency.rate.provider.form</field>
<field name="model">res.currency.rate.provider</field>
<field name="inherit_id" ref="currency_rate_update.res_currency_rate_provider_form_view"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='service']" position="after">
<div
attrs="{'invisible':['|',('service','!=','bcv'),('currency_name','in', ['VES', 'VEF', 'VED', 'Bs'])]}"
class="alert alert-warning"
colspan="2"
role="alert"
>
<strong>Warning!</strong>
You are using Venezuelan Central Bank (BCV) exchange rate
service with a base currency different to Venezuelan Bolivar.
<br />
As long as the BCV only provides
exchange rates based on Bolivar, other foreign currency
rates are recalculated and might differ from real rates.
</div>
</xpath>
</field>
</record>
</odoo>
Loading