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..09365521e --- /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": "13.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/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/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. +
+
+
+
+
+