Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0][ADD] epa_hr_expense_tier_validation_custom: add new module #50

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 63 additions & 0 deletions epa_hr_expense_tier_validation_custom/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
==================================
Epa Expense Tier Validation Custom
==================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:1985d1cefbc6e83f75005a1f1117d4b4f3f48f6c818d0a6fa19befb66b586d28
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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-Escodoo%2Fepa--addons-lightgray.png?logo=github
:target: https://github.com/Escodoo/epa-addons/tree/14.0/epa_hr_expense_tier_validation_custom
:alt: Escodoo/epa-addons

|badge1| |badge2| |badge3|

This module is a customization of the hr_expense_tier_validation

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/Escodoo/epa-addons/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 <https://github.com/Escodoo/epa-addons/issues/new?body=module:%20epa_hr_expense_tier_validation_custom%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
~~~~~~~

* Escodoo

Contributors
~~~~~~~~~~~~

* `Escodoo <https://www.escodoo.com.br>`_:

* Marcel Savegnago <[email protected]>
* Kaynnan Lemes <[email protected]>

Maintainers
~~~~~~~~~~~

This module is part of the `Escodoo/epa-addons <https://github.com/Escodoo/epa-addons/tree/14.0/epa_hr_expense_tier_validation_custom>`_ project on GitHub.

You are welcome to contribute.
1 change: 1 addition & 0 deletions epa_hr_expense_tier_validation_custom/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
14 changes: 14 additions & 0 deletions epa_hr_expense_tier_validation_custom/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright 2024 - TODAY, Escodoo
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Epa Expense Tier Validation Custom",
"summary": """
EPA Expense Tier Validation Custom""",
"version": "14.0.1.0.0",
"license": "AGPL-3",
"author": "Escodoo",
"website": "https://github.com/Escodoo/epa-addons",
"depends": ["hr_expense_tier_validation"],
"data": [],
}
1 change: 1 addition & 0 deletions epa_hr_expense_tier_validation_custom/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import hr_expense_sheet
12 changes: 12 additions & 0 deletions epa_hr_expense_tier_validation_custom/models/hr_expense_sheet.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Copyright 2024 - TODAY, Kaynnan Lemes <[email protected]>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from odoo import models


class HrExpenseSheet(models.Model):

_inherit = "hr.expense.sheet"
# Adapting state according to v12.0 usability
_state_from = ["draft"]
_state_to = ["submit", "approve", "post", "done"]
4 changes: 4 additions & 0 deletions epa_hr_expense_tier_validation_custom/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
* `Escodoo <https://www.escodoo.com.br>`_:

* Marcel Savegnago <[email protected]>
* Kaynnan Lemes <[email protected]>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This module is a customization of the hr_expense_tier_validation
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading