diff --git a/account_move_invoice_date_due_normal_date_tree/README.rst b/account_move_invoice_date_due_normal_date_tree/README.rst new file mode 100644 index 0000000000..0d63f7538c --- /dev/null +++ b/account_move_invoice_date_due_normal_date_tree/README.rst @@ -0,0 +1,60 @@ +.. image:: https://img.shields.io/badge/license-LGPL--3-blue.svg + :target: https://opensource.org/licenses/LGPL-3.0 + :alt: License: LGPL-3 + +====================================================== +Account Move Invoice Date Due Normal Date in Tree View +====================================================== + +Overview +======== + +The **Account Move Invoice Date Due Normal Date in Tree View** module modifies the behavior of the **Invoice Date Due** field in the tree view of account moves. It enhances the visibility and functionality of the field based on the payment state of the invoice. + +Features +======== + +- **Dynamic Visibility**: + + - Hides the **Invoice Date Due** field for invoices with certain payment states, such as "Paid", "In Payment", or "Reversed". + +- **Optional Field**: + + - Adds the **Invoice Date Due** field as an optional field in the tree view for better customization. + +Usage +===== + +1. **Install the Module**: + + - Install the **Account Move Invoice Date Due Normal Date in Tree View** module from the Apps menu. + +2. **View the Changes**: + + - Navigate to the **Invoices** list view in the **Accounting** app. + + - Observe that the **Invoice Date Due** field is hidden for invoices with specific payment states ("Paid", "In Payment", or "Reversed"). + + - The field is available as an optional column for other invoices. + +Bug Tracker +=========== + +If you encounter any issues, please report them on the GitHub repository at `GitHub Issues `_. + +Credits +======= + +Contributors +------------ + +* Ana Juaristi + +* Unai Beristain + +For specific questions regarding this module, please contact the contributors. For support, please use the official issue tracker. + +License +======= + +This project is licensed under the LGPL-3 License. For more details, refer to the LICENSE file or visit . diff --git a/account_move_invoice_date_due_normal_date_tree/__init__.py b/account_move_invoice_date_due_normal_date_tree/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/account_move_invoice_date_due_normal_date_tree/__manifest__.py b/account_move_invoice_date_due_normal_date_tree/__manifest__.py new file mode 100644 index 0000000000..78372c3708 --- /dev/null +++ b/account_move_invoice_date_due_normal_date_tree/__manifest__.py @@ -0,0 +1,14 @@ +{ + "name": "account_move_invoice_date_due_normal_date_tree", + "version": "16.0.1.0.0", + "category": "Accounting", + "author": "Avanzosc", + "license": "LGPL-3", + "depends": ["account"], + "data": [ + "views/account_move_views.xml", + ], + "installable": True, + "application": False, + "website": "https://github.com/avanzosc/odoo-addons", +} diff --git a/account_move_invoice_date_due_normal_date_tree/views/account_move_views.xml b/account_move_invoice_date_due_normal_date_tree/views/account_move_views.xml new file mode 100644 index 0000000000..4e7929212f --- /dev/null +++ b/account_move_invoice_date_due_normal_date_tree/views/account_move_views.xml @@ -0,0 +1,13 @@ + + + + account.invoice.tree.inherit + account.move + + + + + + + + diff --git a/setup/account_move_invoice_date_due_normal_date_tree/odoo/addons/account_move_invoice_date_due_normal_date_tree b/setup/account_move_invoice_date_due_normal_date_tree/odoo/addons/account_move_invoice_date_due_normal_date_tree new file mode 120000 index 0000000000..c871c5de44 --- /dev/null +++ b/setup/account_move_invoice_date_due_normal_date_tree/odoo/addons/account_move_invoice_date_due_normal_date_tree @@ -0,0 +1 @@ +../../../../account_move_invoice_date_due_normal_date_tree \ No newline at end of file diff --git a/setup/account_move_invoice_date_due_normal_date_tree/setup.py b/setup/account_move_invoice_date_due_normal_date_tree/setup.py new file mode 100644 index 0000000000..28c57bb640 --- /dev/null +++ b/setup/account_move_invoice_date_due_normal_date_tree/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)