Skip to content

Commit beca9b5

Browse files
committed
[ADD] hr_work_entry_group_s
1 parent a9fcc9c commit beca9b5

16 files changed

Lines changed: 873 additions & 0 deletions

hr_work_entry_group_s/README.rst

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
==================
2+
Work Entry Group S
3+
==================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:372462d510b68233638db1c6e45808cb44ce3e96f848657e245b0e878997f31f
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-coopiteasy%2Faddons-lightgray.png?logo=github
20+
:target: https://github.com/coopiteasy/addons/tree/18.0/hr_work_entry_group_s
21+
:alt: coopiteasy/addons
22+
23+
|badge1| |badge2| |badge3|
24+
25+
Export the work entries of employees in the SAIAU format.
26+
27+
**Table of contents**
28+
29+
.. contents::
30+
:local:
31+
32+
Bug Tracker
33+
===========
34+
35+
Bugs are tracked on `GitHub Issues <https://github.com/coopiteasy/addons/issues>`_.
36+
In case of trouble, please check there if your issue has already been reported.
37+
If you spotted it first, help us to smash it by providing a detailed and welcomed
38+
`feedback <https://github.com/coopiteasy/addons/issues/new?body=module:%20hr_work_entry_group_s%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
39+
40+
Do not contact contributors directly about support or help with technical issues.
41+
42+
Credits
43+
=======
44+
45+
Authors
46+
-------
47+
48+
* Coop IT Easy SC
49+
50+
Contributors
51+
------------
52+
53+
- `Coop IT Easy SC <https://coopiteasy.be>`__:
54+
55+
- Simon Hick
56+
57+
Maintainers
58+
-----------
59+
60+
.. |maintainer-mihien| image:: https://github.com/mihien.png?size=40px
61+
:target: https://github.com/mihien
62+
:alt: mihien
63+
64+
Current maintainer:
65+
66+
|maintainer-mihien|
67+
68+
This module is part of the `coopiteasy/addons <https://github.com/coopiteasy/addons/tree/18.0/hr_work_entry_group_s>`_ project on GitHub.
69+
70+
You are welcome to contribute.

hr_work_entry_group_s/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# SPDX-FileCopyrightText: 2026 Coop IT Easy SC
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-or-later
4+
5+
from . import models
6+
from . import wizard
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# SPDX-FileCopyrightText: 2026 Coop IT Easy SC
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-or-later
4+
5+
{
6+
"name": "Work Entry Group S",
7+
"summary": "Export the work entries of employees in the SAIAU format",
8+
"version": "18.0.1.0.0",
9+
"category": "Human Resources/Employees",
10+
"website": "https://coopiteasy.be",
11+
"author": "Coop IT Easy SC",
12+
"maintainers": ["mihien"],
13+
"license": "AGPL-3",
14+
"depends": [
15+
"hr_work_entry_contract",
16+
],
17+
"data": [
18+
"security/ir.model.access.csv",
19+
"views/hr_contract_views.xml",
20+
"views/res_company.xml",
21+
"wizard/group_s_report_wizard.xml",
22+
],
23+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# SPDX-FileCopyrightText: 2026 Coop IT Easy SC
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-or-later
4+
5+
from . import hr_contract
6+
from . import res_company
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# SPDX-FileCopyrightText: 2026 Coop IT Easy SC
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-or-later
4+
5+
from odoo import fields, models
6+
7+
8+
class HrContract(models.Model):
9+
_inherit = "hr.contract"
10+
11+
group_s_code = fields.Char(default=None, required=True)
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# SPDX-FileCopyrightText: 2026 Coop IT Easy SC
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-or-later
4+
5+
from odoo import fields, models
6+
7+
8+
class Company(models.Model):
9+
_inherit = "res.company"
10+
11+
social_secretariat_affiliation_number = fields.Integer()
12+
group_s_report_counter = fields.Integer("Group S Report Sequence Number")
13+
14+
def increment_group_s_report_counter(self):
15+
self.group_s_report_counter += 1
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["whool"]
3+
build-backend = "whool.buildapi"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- [Coop IT Easy SC](https://coopiteasy.be):
2+
- Simon Hick
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Export the work entries of employees in the SAIAU format.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
2+
hr_work_entry_group_s.access_group_s_report_wizard,access_group_s_report_wizard,hr_work_entry_group_s.model_group_s_report_wizard,hr.group_hr_manager,1,1,1,1

0 commit comments

Comments
 (0)