From ae58e8ab93d61761053a66b5b17abea930e0018f Mon Sep 17 00:00:00 2001
From: Jordi Ballester
Date: Sun, 10 Apr 2022 13:04:20 +0200
Subject: [PATCH 01/10] [ADD] account_move_tier_validation_forward
---
.../__init__.py | 1 +
.../__manifest__.py | 16 ++++++++++++
.../readme/CONFIGURE.rst | 1 +
.../readme/CONTRIBUTORS.rst | 3 +++
.../readme/DESCRIPTION.rst | 5 ++++
.../readme/INSTALL.rst | 2 ++
.../views/account_move_view.xml | 25 +++++++++++++++++++
7 files changed, 53 insertions(+)
create mode 100644 account_move_tier_validation_forward/__init__.py
create mode 100644 account_move_tier_validation_forward/__manifest__.py
create mode 100644 account_move_tier_validation_forward/readme/CONFIGURE.rst
create mode 100644 account_move_tier_validation_forward/readme/CONTRIBUTORS.rst
create mode 100644 account_move_tier_validation_forward/readme/DESCRIPTION.rst
create mode 100644 account_move_tier_validation_forward/readme/INSTALL.rst
create mode 100644 account_move_tier_validation_forward/views/account_move_view.xml
diff --git a/account_move_tier_validation_forward/__init__.py b/account_move_tier_validation_forward/__init__.py
new file mode 100644
index 00000000000..ef5ae3587f5
--- /dev/null
+++ b/account_move_tier_validation_forward/__init__.py
@@ -0,0 +1 @@
+# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
diff --git a/account_move_tier_validation_forward/__manifest__.py b/account_move_tier_validation_forward/__manifest__.py
new file mode 100644
index 00000000000..74cd3f9dcf3
--- /dev/null
+++ b/account_move_tier_validation_forward/__manifest__.py
@@ -0,0 +1,16 @@
+# Copyright 2022 ForgeFlow, S.L.
+# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
+{
+ "name": "Account Move Tier Validation - Forward Option",
+ "version": "13.0.1.0.0",
+ "category": "Accounting",
+ "website": "https://github.com/OCA/account-invoicing",
+ "author": "ForgeFlow,Odoo Community Association (OCA)",
+ "license": "AGPL-3",
+ "development_status": "Alpha",
+ "application": False,
+ "installable": True,
+ "auto_install": True,
+ "depends": ["base_tier_validation_forward", "account_move_tier_validation"],
+ "data": ["views/account_move_view.xml"],
+}
diff --git a/account_move_tier_validation_forward/readme/CONFIGURE.rst b/account_move_tier_validation_forward/readme/CONFIGURE.rst
new file mode 100644
index 00000000000..86822e6b42c
--- /dev/null
+++ b/account_move_tier_validation_forward/readme/CONFIGURE.rst
@@ -0,0 +1 @@
+In any tier definition, check "Allow Forward" to enable this feature.
diff --git a/account_move_tier_validation_forward/readme/CONTRIBUTORS.rst b/account_move_tier_validation_forward/readme/CONTRIBUTORS.rst
new file mode 100644
index 00000000000..68e501b93ee
--- /dev/null
+++ b/account_move_tier_validation_forward/readme/CONTRIBUTORS.rst
@@ -0,0 +1,3 @@
+* `ForgeFlow `__:
+
+ * Jordi Ballester Alomar
diff --git a/account_move_tier_validation_forward/readme/DESCRIPTION.rst b/account_move_tier_validation_forward/readme/DESCRIPTION.rst
new file mode 100644
index 00000000000..c238a36b15f
--- /dev/null
+++ b/account_move_tier_validation_forward/readme/DESCRIPTION.rst
@@ -0,0 +1,5 @@
+This module extends tier validation with "Forward" button for Invoices and
+Bills.
+
+When a document is forwarded, a new Tier Validation is created on the fly for selected user as a minor
+sequence tier (i.e., 1.1, 2.1), and the current tier's status will be completed as "Forwarded".
diff --git a/account_move_tier_validation_forward/readme/INSTALL.rst b/account_move_tier_validation_forward/readme/INSTALL.rst
new file mode 100644
index 00000000000..1b58c0d02b3
--- /dev/null
+++ b/account_move_tier_validation_forward/readme/INSTALL.rst
@@ -0,0 +1,2 @@
+This module depends on ``base_tier_validation_forward``. You can find it at
+`OCA/server-ux `_
diff --git a/account_move_tier_validation_forward/views/account_move_view.xml b/account_move_tier_validation_forward/views/account_move_view.xml
new file mode 100644
index 00000000000..81e54a75fe0
--- /dev/null
+++ b/account_move_tier_validation_forward/views/account_move_view.xml
@@ -0,0 +1,25 @@
+
+
+
+
+ account.move.form
+ account.move
+
+
+
+
+
+
+
+
+
From f867774b3162353c74edbc0a7ae32393818bd165 Mon Sep 17 00:00:00 2001
From: oca-ci
Date: Tue, 9 Aug 2022 07:35:40 +0000
Subject: [PATCH 02/10] [UPD] Update account_move_tier_validation_forward.pot
---
.../account_move_tier_validation_forward.pot | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 account_move_tier_validation_forward/i18n/account_move_tier_validation_forward.pot
diff --git a/account_move_tier_validation_forward/i18n/account_move_tier_validation_forward.pot b/account_move_tier_validation_forward/i18n/account_move_tier_validation_forward.pot
new file mode 100644
index 00000000000..eb8472cf1c5
--- /dev/null
+++ b/account_move_tier_validation_forward/i18n/account_move_tier_validation_forward.pot
@@ -0,0 +1,19 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_move_tier_validation_forward
+#
+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_tier_validation_forward
+#: model_terms:ir.ui.view,arch_db:account_move_tier_validation_forward.view_move_form
+msgid "Forward"
+msgstr ""
From 2a55718f1d454bb265e2b4ed5ec362f784c03c38 Mon Sep 17 00:00:00 2001
From: OCA-git-bot
Date: Tue, 9 Aug 2022 07:42:28 +0000
Subject: [PATCH 03/10] [UPD] README.rst
---
.../README.rst | 95 ++++
.../static/description/index.html | 442 ++++++++++++++++++
2 files changed, 537 insertions(+)
create mode 100644 account_move_tier_validation_forward/README.rst
create mode 100644 account_move_tier_validation_forward/static/description/index.html
diff --git a/account_move_tier_validation_forward/README.rst b/account_move_tier_validation_forward/README.rst
new file mode 100644
index 00000000000..9f639ce061b
--- /dev/null
+++ b/account_move_tier_validation_forward/README.rst
@@ -0,0 +1,95 @@
+=============================================
+Account Move Tier Validation - Forward Option
+=============================================
+
+.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+ !! This file is generated by oca-gen-addon-readme !!
+ !! changes will be overwritten. !!
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+
+.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
+ :target: https://odoo-community.org/page/development-status
+ :alt: Alpha
+.. |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--invoicing-lightgray.png?logo=github
+ :target: https://github.com/OCA/account-invoicing/tree/13.0/account_move_tier_validation_forward
+ :alt: OCA/account-invoicing
+.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
+ :target: https://translation.odoo-community.org/projects/account-invoicing-13-0/account-invoicing-13-0-account_move_tier_validation_forward
+ :alt: Translate me on Weblate
+.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
+ :target: https://runbot.odoo-community.org/runbot/95/13.0
+ :alt: Try me on Runbot
+
+|badge1| |badge2| |badge3| |badge4| |badge5|
+
+This module extends tier validation with "Forward" button for Invoices and
+Bills.
+
+When a document is forwarded, a new Tier Validation is created on the fly for selected user as a minor
+sequence tier (i.e., 1.1, 2.1), and the current tier's status will be completed as "Forwarded".
+
+.. IMPORTANT::
+ This is an alpha version, the data model and design can change at any time without warning.
+ Only for development or testing purpose, do not use in production.
+ `More details on development status `_
+
+**Table of contents**
+
+.. contents::
+ :local:
+
+Installation
+============
+
+This module depends on ``base_tier_validation_forward``. You can find it at
+`OCA/server-ux `_
+
+Configuration
+=============
+
+In any tier definition, check "Allow Forward" to enable this feature.
+
+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 `__:
+
+ * Jordi Ballester Alomar
+
+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-invoicing `_ project on GitHub.
+
+You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/account_move_tier_validation_forward/static/description/index.html b/account_move_tier_validation_forward/static/description/index.html
new file mode 100644
index 00000000000..0d088f7ad6e
--- /dev/null
+++ b/account_move_tier_validation_forward/static/description/index.html
@@ -0,0 +1,442 @@
+
+
+
+
+
+
+Account Move Tier Validation - Forward Option
+
+
+
+
+
Account Move Tier Validation - Forward Option
+
+
+
+
This module extends tier validation with “Forward” button for Invoices and
+Bills.
+
When a document is forwarded, a new Tier Validation is created on the fly for selected user as a minor
+sequence tier (i.e., 1.1, 2.1), and the current tier’s status will be completed as “Forwarded”.
+
+
Important
+
This is an alpha version, the data model and design can change at any time without warning.
+Only for development or testing purpose, do not use in production.
+More details on development status
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.
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.
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.
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.