From 946f2b38e2b29dc2ea62857508ccdb1c8bfbda6b Mon Sep 17 00:00:00 2001 From: Jordi Ballester Alomar Date: Mon, 13 May 2019 15:57:05 +0200 Subject: [PATCH] [bank_statement_foreign_currency] migration to 12.0 --- bank_statement_foreign_currency/README.rst | 59 ++- .../__manifest__.py | 2 +- .../readme/CONTRIBUTORS.rst | 2 + .../readme/DESCRIPTION.rst | 16 + .../static/description/index.html | 409 ++++++++++++++++++ 5 files changed, 470 insertions(+), 18 deletions(-) create mode 100644 bank_statement_foreign_currency/readme/CONTRIBUTORS.rst create mode 100644 bank_statement_foreign_currency/readme/DESCRIPTION.rst create mode 100644 bank_statement_foreign_currency/static/description/index.html diff --git a/bank_statement_foreign_currency/README.rst b/bank_statement_foreign_currency/README.rst index 40df231b..f5176b19 100644 --- a/bank_statement_foreign_currency/README.rst +++ b/bank_statement_foreign_currency/README.rst @@ -1,11 +1,30 @@ -.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png - :target: https://www.gnu.org/licenses/agpl - :alt: License: AGPL-3 - =============================== 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 @@ -23,42 +42,48 @@ 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. -Usage -===== - -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/98/11.0 +**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. +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 +~~~~~~~~~~~ -Maintainer ----------- +This module is maintained by the OCA. .. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association :target: https://odoo-community.org -This module is maintained by the OCA. - 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. -To contribute to this module, please visit https://odoo-community.org. +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/__manifest__.py b/bank_statement_foreign_currency/__manifest__.py index 3ccb2d57..c751f740 100644 --- a/bank_statement_foreign_currency/__manifest__.py +++ b/bank_statement_foreign_currency/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Bank Statement Foreign Currency", "summary": "Make visible the foreign currencies in the bank statements", - "version": "11.0.1.0.0", + "version": "12.0.1.0.0", "depends": ["account"], "author": "Eficent, Odoo Community Association (OCA)", "website": "http://www.github.com/OCA/account-reconcile", 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/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.

+
+
+
+ +