diff --git a/hr_leave_tree_status_color/README.rst b/hr_leave_tree_status_color/README.rst new file mode 100644 index 0000000..e9dc91f --- /dev/null +++ b/hr_leave_tree_status_color/README.rst @@ -0,0 +1,60 @@ +========================== +Hr Leave Tree Status Color +========================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:be0352adcb87d54debe4f8271d59af631bf35515b00ed9b38d8c0288c304557f + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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-LGPL--3-blue.png + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-solvosci%2Fslv--hr-lightgray.png?logo=github + :target: https://github.com/solvosci/slv-hr/tree/17.0/hr_leave_tree_status_color + :alt: solvosci/slv-hr + +|badge1| |badge2| |badge3| + +Adds colors in tree view to the leave status + +**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 to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* Solvos + +Contributors +------------ + +- Ángel Rivas + +Maintainers +----------- + +This module is part of the `solvosci/slv-hr `_ project on GitHub. + +You are welcome to contribute. diff --git a/hr_leave_tree_status_color/__init__.py b/hr_leave_tree_status_color/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/hr_leave_tree_status_color/__manifest__.py b/hr_leave_tree_status_color/__manifest__.py new file mode 100644 index 0000000..e95a00e --- /dev/null +++ b/hr_leave_tree_status_color/__manifest__.py @@ -0,0 +1,18 @@ +# © 2025 Solvos Consultoría Informática () +# License LGPL-3.0 (https://www.gnu.org/licenses/lgpl-3.0.html) +{ + "name": "Hr Leave Tree Status Color", + "summary": """ + Adds colors in tree view to the leave status + """, + "author": "Solvos", + "license": "LGPL-3", + "version": "17.0.1.0.0", + "category": "Human Resources", + "website": "https://github.com/solvosci/slv-hr", + "depends": ['hr_holidays'], + "data": [ + "views/hr_leave_views.xml", + ], + 'installable': True, +} diff --git a/hr_leave_tree_status_color/readme/CONTRIBUTORS.md b/hr_leave_tree_status_color/readme/CONTRIBUTORS.md new file mode 100644 index 0000000..b81a921 --- /dev/null +++ b/hr_leave_tree_status_color/readme/CONTRIBUTORS.md @@ -0,0 +1 @@ +* Ángel Rivas \ diff --git a/hr_leave_tree_status_color/readme/DESCRIPTION.md b/hr_leave_tree_status_color/readme/DESCRIPTION.md new file mode 100644 index 0000000..34d8ff5 --- /dev/null +++ b/hr_leave_tree_status_color/readme/DESCRIPTION.md @@ -0,0 +1 @@ +Adds colors in tree view to the leave status \ No newline at end of file diff --git a/hr_leave_tree_status_color/static/description/icon.png b/hr_leave_tree_status_color/static/description/icon.png new file mode 100644 index 0000000..daa2a02 Binary files /dev/null and b/hr_leave_tree_status_color/static/description/icon.png differ diff --git a/hr_leave_tree_status_color/static/description/index.html b/hr_leave_tree_status_color/static/description/index.html new file mode 100644 index 0000000..8ceeaa7 --- /dev/null +++ b/hr_leave_tree_status_color/static/description/index.html @@ -0,0 +1,416 @@ + + + + + +Hr Leave Tree Status Color + + + +
+

Hr Leave Tree Status Color

+ + +

Beta License: LGPL-3 solvosci/slv-hr

+

Adds colors in tree view to the leave status

+

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 to smash it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Solvos
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is part of the solvosci/slv-hr project on GitHub.

+

You are welcome to contribute.

+
+
+
+ + diff --git a/hr_leave_tree_status_color/views/hr_leave_views.xml b/hr_leave_tree_status_color/views/hr_leave_views.xml new file mode 100644 index 0000000..d0bbb1c --- /dev/null +++ b/hr_leave_tree_status_color/views/hr_leave_views.xml @@ -0,0 +1,15 @@ + + + + hr.leave.tree (in hr_leave_status_color) + hr.leave + + + + state in ('confirm', 'validate1') + state == 'validate' + + + + +