diff --git a/bank_statement_foreign_currency/README.rst b/bank_statement_foreign_currency/README.rst new file mode 100644 index 00000000..f5176b19 --- /dev/null +++ b/bank_statement_foreign_currency/README.rst @@ -0,0 +1,89 @@ +=============================== +Bank Statement Foreign Currency +=============================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--reconcile-lightgray.png?logo=github + :target: https://github.com/OCA/account-reconcile/tree/12.0/bank_statement_foreign_currency + :alt: OCA/account-reconcile +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/account-reconcile-12-0/account-reconcile-12-0-bank_statement_foreign_currency + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/98/12.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module makes visible the currency columns in the bank statements lines. + +Notice that all banks will provide the amounts in the account's main +currency and in the foreign currency. You are not supposed to rely on +Odoo's currency rate of the moment. The exchange rate is given by the bank. + +For example, You buy a widget in Amazon.com for $100. + +You can see in your statement: +Amazon.com -80€ (-$100) + +Then you enter exactly this in Odoo's bank statement. The rate 80€/$100 is the +rate that the bank applied to the payment you made in USD in Amazon.com, +because your bank account is held in EUR. You need the $100 to be able to +reconcile with the invoice, and you need the €80 because that's what hit your +bank. + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Eficent + +Contributors +~~~~~~~~~~~~ + +* Miquel Raïch +* Luis M. Ontalba + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +This module is part of the `OCA/account-reconcile `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/bank_statement_foreign_currency/__init__.py b/bank_statement_foreign_currency/__init__.py new file mode 100755 index 00000000..e69de29b diff --git a/bank_statement_foreign_currency/__manifest__.py b/bank_statement_foreign_currency/__manifest__.py new file mode 100644 index 00000000..c751f740 --- /dev/null +++ b/bank_statement_foreign_currency/__manifest__.py @@ -0,0 +1,17 @@ +# Copyright 2017 Eficent Business and IT Consulting Services S.L. +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +{ + "name": "Bank Statement Foreign Currency", + "summary": "Make visible the foreign currencies in the bank statements", + "version": "12.0.1.0.0", + "depends": ["account"], + "author": "Eficent, Odoo Community Association (OCA)", + "website": "http://www.github.com/OCA/account-reconcile", + "category": "Finance", + "data": ["views/account_view.xml", + ], + 'license': 'AGPL-3', + "auto_install": False, + 'installable': True, +} diff --git a/bank_statement_foreign_currency/i18n/bank_statement_foreign_currency.pot b/bank_statement_foreign_currency/i18n/bank_statement_foreign_currency.pot new file mode 100644 index 00000000..447d3bb3 --- /dev/null +++ b/bank_statement_foreign_currency/i18n/bank_statement_foreign_currency.pot @@ -0,0 +1,14 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \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" + diff --git a/bank_statement_foreign_currency/readme/CONTRIBUTORS.rst b/bank_statement_foreign_currency/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000..21c933bc --- /dev/null +++ b/bank_statement_foreign_currency/readme/CONTRIBUTORS.rst @@ -0,0 +1,2 @@ +* Miquel Raïch +* Luis M. Ontalba diff --git a/bank_statement_foreign_currency/readme/DESCRIPTION.rst b/bank_statement_foreign_currency/readme/DESCRIPTION.rst new file mode 100644 index 00000000..ad93cb23 --- /dev/null +++ b/bank_statement_foreign_currency/readme/DESCRIPTION.rst @@ -0,0 +1,16 @@ +This module makes visible the currency columns in the bank statements lines. + +Notice that all banks will provide the amounts in the account's main +currency and in the foreign currency. You are not supposed to rely on +Odoo's currency rate of the moment. The exchange rate is given by the bank. + +For example, You buy a widget in Amazon.com for $100. + +You can see in your statement: +Amazon.com -80€ (-$100) + +Then you enter exactly this in Odoo's bank statement. The rate 80€/$100 is the +rate that the bank applied to the payment you made in USD in Amazon.com, +because your bank account is held in EUR. You need the $100 to be able to +reconcile with the invoice, and you need the €80 because that's what hit your +bank. diff --git a/bank_statement_foreign_currency/static/description/icon.png b/bank_statement_foreign_currency/static/description/icon.png new file mode 100644 index 00000000..3a0328b5 Binary files /dev/null and b/bank_statement_foreign_currency/static/description/icon.png differ diff --git a/bank_statement_foreign_currency/static/description/index.html b/bank_statement_foreign_currency/static/description/index.html new file mode 100644 index 00000000..52ed9990 --- /dev/null +++ b/bank_statement_foreign_currency/static/description/index.html @@ -0,0 +1,409 @@ + + + + + + +Bank Statement Foreign Currency + + + +
+

Bank Statement Foreign Currency

+ + +

Beta License: AGPL-3 OCA/account-reconcile Translate me on Weblate Try me on Runbot

+

This module makes visible the currency columns in the bank statements lines.

+

Notice that all banks will provide the amounts in the account’s main +currency and in the foreign currency. You are not supposed to rely on +Odoo’s currency rate of the moment. The exchange rate is given by the bank.

+

For example, You buy a widget in Amazon.com for $100.

+

You can see in your statement: +Amazon.com -80€ (-$100)

+

Then you enter exactly this in Odoo’s bank statement. The rate 80€/$100 is the +rate that the bank applied to the payment you made in USD in Amazon.com, +because your bank account is held in EUR. You need the $100 to be able to +reconcile with the invoice, and you need the €80 because that’s what hit your +bank.

+

Table of contents

+ +
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Eficent
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

This module is part of the OCA/account-reconcile project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/bank_statement_foreign_currency/views/account_view.xml b/bank_statement_foreign_currency/views/account_view.xml new file mode 100644 index 00000000..10d8333e --- /dev/null +++ b/bank_statement_foreign_currency/views/account_view.xml @@ -0,0 +1,18 @@ + + + + account.bank.statement.form + account.bank.statement + + + + 0 + base.group_multi_currency + + + 0 + base.group_multi_currency + + + +