diff --git a/account_move_reversal_choose_method/README.rst b/account_move_reversal_choose_method/README.rst new file mode 100644 index 000000000..664ac26da --- /dev/null +++ b/account_move_reversal_choose_method/README.rst @@ -0,0 +1,75 @@ +=================================== +Account Move Reversal Choose Method +=================================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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--financial--tools-lightgray.png?logo=github + :target: https://github.com/OCA/account-financial-tools/tree/13.0/account_move_reversal_choose_method + :alt: OCA/account-financial-tools +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_move_reversal_choose_method + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/92/13.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module allows you to choose the Credit Method (refund_method) when +adding a credit note to a journal entry. + +**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 +~~~~~~~ + +* ForgeFlow + +Contributors +~~~~~~~~~~~~ + +* ForgeFlow, S.L. (https://www.forgeflow.com) + * Miquel Raïch + +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-financial-tools `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/account_move_reversal_choose_method/__init__.py b/account_move_reversal_choose_method/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/account_move_reversal_choose_method/__manifest__.py b/account_move_reversal_choose_method/__manifest__.py new file mode 100644 index 000000000..bd8aa023e --- /dev/null +++ b/account_move_reversal_choose_method/__manifest__.py @@ -0,0 +1,17 @@ +# Copyright 2021 ForgeFlow S.L. (http://www.forgeflow.com) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Account Move Reversal Choose Method", + "summary": "Let's choose the Credit Method " + "when adding a credit note to a journal entry.", + "version": "14.0.1.0.0", + "category": "Accounting & Finance", + "website": "https://github.com/OCA/account-financial-tools", + "author": "ForgeFlow, Odoo Community Association (OCA)", + "license": "AGPL-3", + "application": False, + "installable": True, + "depends": ["account"], + "data": ["wizard/account_move_reversal_view.xml"], +} diff --git a/account_move_reversal_choose_method/i18n/account_move_reversal_choose_method.pot b/account_move_reversal_choose_method/i18n/account_move_reversal_choose_method.pot new file mode 100644 index 000000000..b56f6b2e4 --- /dev/null +++ b/account_move_reversal_choose_method/i18n/account_move_reversal_choose_method.pot @@ -0,0 +1,33 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_move_reversal_choose_method +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.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" + +#. module: account_move_reversal_choose_method +#: model_terms:ir.ui.view,arch_db:account_move_reversal_choose_method.view_account_move_reversal +msgid "" +"The credit note is auto-validated and reconciled with the journal entry." +msgstr "" + +#. module: account_move_reversal_choose_method +#: model_terms:ir.ui.view,arch_db:account_move_reversal_choose_method.view_account_move_reversal +msgid "" +"The credit note is auto-validated and reconciled with the journal entry.\n" +" The original journal entry is duplicated as a new draft." +msgstr "" + +#. module: account_move_reversal_choose_method +#: model_terms:ir.ui.view,arch_db:account_move_reversal_choose_method.view_account_move_reversal +msgid "" +"The credit note is created in draft and can be edited before being issued." +msgstr "" diff --git a/account_move_reversal_choose_method/readme/CONTRIBUTORS.rst b/account_move_reversal_choose_method/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..6033f21a4 --- /dev/null +++ b/account_move_reversal_choose_method/readme/CONTRIBUTORS.rst @@ -0,0 +1,2 @@ +* ForgeFlow, S.L. (https://www.forgeflow.com) + * Miquel Raïch diff --git a/account_move_reversal_choose_method/readme/DESCRIPTION.rst b/account_move_reversal_choose_method/readme/DESCRIPTION.rst new file mode 100644 index 000000000..75ff74f11 --- /dev/null +++ b/account_move_reversal_choose_method/readme/DESCRIPTION.rst @@ -0,0 +1,2 @@ +This module allows you to choose the Credit Method (refund_method) when +adding a credit note to a journal entry. diff --git a/account_move_reversal_choose_method/static/description/icon.png b/account_move_reversal_choose_method/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/account_move_reversal_choose_method/static/description/icon.png differ diff --git a/account_move_reversal_choose_method/static/description/index.html b/account_move_reversal_choose_method/static/description/index.html new file mode 100644 index 000000000..d55f59062 --- /dev/null +++ b/account_move_reversal_choose_method/static/description/index.html @@ -0,0 +1,421 @@ + + + + + + +Account Move Reversal Choose Method + + + +
+

Account Move Reversal Choose Method

+ + +

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

+

This module allows you to choose the Credit Method (refund_method) when +adding a credit note to a journal entry.

+

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

+
    +
  • ForgeFlow
  • +
+
+
+

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-financial-tools project on GitHub.

+

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

+
+
+
+ + diff --git a/account_move_reversal_choose_method/wizard/account_move_reversal_view.xml b/account_move_reversal_choose_method/wizard/account_move_reversal_view.xml new file mode 100644 index 000000000..a81edabfe --- /dev/null +++ b/account_move_reversal_choose_method/wizard/account_move_reversal_view.xml @@ -0,0 +1,51 @@ + + + + + account.move.reversal.form (choose method) + account.move.reversal + + + + {'invisible': False} + + + {'readonly': [('residual', '=', 0), ('move_type', 'in', ('out_invoice', 'in_invoice'))]} + + + +
+ The credit note is created in draft and can be edited before being issued. +
+
+ The credit note is auto-validated and reconciled with the journal entry. +
+
+ The credit note is auto-validated and reconciled with the journal entry. + The original journal entry is duplicated as a new draft. +
+
+
+
+
+
diff --git a/setup/account_move_reversal_choose_method/odoo/addons/account_move_reversal_choose_method b/setup/account_move_reversal_choose_method/odoo/addons/account_move_reversal_choose_method new file mode 120000 index 000000000..01782ddb8 --- /dev/null +++ b/setup/account_move_reversal_choose_method/odoo/addons/account_move_reversal_choose_method @@ -0,0 +1 @@ +../../../../account_move_reversal_choose_method \ No newline at end of file diff --git a/setup/account_move_reversal_choose_method/setup.py b/setup/account_move_reversal_choose_method/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/account_move_reversal_choose_method/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)