diff --git a/ssi_work_log_expense_work_log/README.rst b/ssi_work_log_expense_work_log/README.rst new file mode 100644 index 0000000..842b15a --- /dev/null +++ b/ssi_work_log_expense_work_log/README.rst @@ -0,0 +1,46 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +====================================== +Worklog Expense - Work Log Integration +====================================== + + +Installation +============ + +To install this module, you need to: + +1. Clone the branch 14.0 of the repository https://github.com/open-synergy/opnsynid-hr-timesheet +2. Add the path to this repository in your configuration (addons-path) +3. Update the module list (Must be on developer mode) +4. Go to menu *Apps -> Apps -> Main Apps* +5. Search For *Worklog Expense - Work Log Integration* +6. Install the module + +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 smash it by providing detailed and welcomed feedback. + + +Credits +======= + +Contributors +------------ + +* Michael Viriyananda + +Maintainer +---------- + +.. image:: https://simetri-sinergi.id/logo.png + :alt: PT. Simetri Sinergi Indonesia + :target: https://simetri-sinergi.id + +This module is maintained by the PT. Simetri Sinergi Indonesia. diff --git a/ssi_work_log_expense_work_log/__init__.py b/ssi_work_log_expense_work_log/__init__.py new file mode 100644 index 0000000..2f6b60a --- /dev/null +++ b/ssi_work_log_expense_work_log/__init__.py @@ -0,0 +1,6 @@ +# Copyright 2024 OpenSynergy Indonesia +# Copyright 2024 PT. Simetri Sinergi Indonesia +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl-3.0-standalone.html). +from . import ( + models, +) diff --git a/ssi_work_log_expense_work_log/__manifest__.py b/ssi_work_log_expense_work_log/__manifest__.py new file mode 100644 index 0000000..3333b53 --- /dev/null +++ b/ssi_work_log_expense_work_log/__manifest__.py @@ -0,0 +1,18 @@ +# Copyright 2024 OpenSynergy Indonesia +# Copyright 2024 PT. Simetri Sinergi Indonesia +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl-3.0-standalone.html). +{ + "name": "Worklog Expense - Work Log Integration", + "version": "14.0.1.0.0", + "website": "https://simetri-sinergi.id", + "author": "OpenSynergy Indonesia, PT. Simetri Sinergi Indonesia", + "license": "AGPL-3", + "installable": True, + "depends": [ + "ssi_work_log_expense", + "ssi_work_log_mixin", + ], + "data": [], + "demo": [], + "images": [], +} diff --git a/ssi_work_log_expense_work_log/models/__init__.py b/ssi_work_log_expense_work_log/models/__init__.py new file mode 100644 index 0000000..cc138d6 --- /dev/null +++ b/ssi_work_log_expense_work_log/models/__init__.py @@ -0,0 +1,6 @@ +# Copyright 2024 OpenSynergy Indonesia +# Copyright 2024 PT. Simetri Sinergi Indonesia +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl-3.0-standalone.html). +from . import ( + work_log_expense, +) diff --git a/ssi_work_log_expense_work_log/models/work_log_expense.py b/ssi_work_log_expense_work_log/models/work_log_expense.py new file mode 100644 index 0000000..375a351 --- /dev/null +++ b/ssi_work_log_expense_work_log/models/work_log_expense.py @@ -0,0 +1,15 @@ +# Copyright 2024 OpenSynergy Indonesia +# Copyright 2024 PT. Simetri Sinergi Indonesia +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl-3.0-standalone.html). + +from odoo import models + + +class WorkLogExpense(models.Model): + _name = "work_log_expense" + _inherit = [ + "work_log_expense", + "mixin.work_object", + ] + + _work_log_create_page = True diff --git a/ssi_work_log_expense_work_log/static/description/icon.png b/ssi_work_log_expense_work_log/static/description/icon.png new file mode 100644 index 0000000..4c8e112 Binary files /dev/null and b/ssi_work_log_expense_work_log/static/description/icon.png differ