Skip to content
Open
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
70 changes: 70 additions & 0 deletions hr_work_entry_group_s/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
==================
Work Entry Group S
==================

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

.. |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-coopiteasy%2Faddons-lightgray.png?logo=github
:target: https://github.com/coopiteasy/addons/tree/18.0/hr_work_entry_group_s
:alt: coopiteasy/addons

|badge1| |badge2| |badge3|

Export the work entries of employees in the SAIAU format.

**Table of contents**

.. contents::
:local:

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

Bugs are tracked on `GitHub Issues <https://github.com/coopiteasy/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/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**>`_.

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

Credits
=======

Authors
-------

* Coop IT Easy SC

Contributors
------------

- `Coop IT Easy SC <https://coopiteasy.be>`__:

- Simon Hick

Maintainers
-----------

.. |maintainer-mihien| image:: https://github.com/mihien.png?size=40px
:target: https://github.com/mihien
:alt: mihien

Current maintainer:

|maintainer-mihien|

This module is part of the `coopiteasy/addons <https://github.com/coopiteasy/addons/tree/18.0/hr_work_entry_group_s>`_ project on GitHub.

You are welcome to contribute.
6 changes: 6 additions & 0 deletions hr_work_entry_group_s/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# SPDX-FileCopyrightText: 2026 Coop IT Easy SC
#
# SPDX-License-Identifier: AGPL-3.0-or-later

from . import models
from . import wizard
23 changes: 23 additions & 0 deletions hr_work_entry_group_s/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# SPDX-FileCopyrightText: 2026 Coop IT Easy SC
#
# SPDX-License-Identifier: AGPL-3.0-or-later

{
"name": "Work Entry Group S",
"summary": "Export the work entries of employees in the SAIAU format",
"version": "18.0.1.0.0",
"category": "Human Resources/Employees",
"website": "https://coopiteasy.be",
"author": "Coop IT Easy SC",
"maintainers": ["mihien"],
"license": "AGPL-3",
"depends": [
"hr_work_entry_contract",
],
"data": [
"security/ir.model.access.csv",
"views/hr_contract_views.xml",
"views/res_company.xml",
"wizard/group_s_report_wizard.xml",
],
}
6 changes: 6 additions & 0 deletions hr_work_entry_group_s/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# SPDX-FileCopyrightText: 2026 Coop IT Easy SC
#
# SPDX-License-Identifier: AGPL-3.0-or-later

from . import hr_contract
from . import res_company
11 changes: 11 additions & 0 deletions hr_work_entry_group_s/models/hr_contract.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# SPDX-FileCopyrightText: 2026 Coop IT Easy SC
#
# SPDX-License-Identifier: AGPL-3.0-or-later

from odoo import fields, models


class HrContract(models.Model):
_inherit = "hr.contract"

group_s_code = fields.Char(default=None)
15 changes: 15 additions & 0 deletions hr_work_entry_group_s/models/res_company.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# SPDX-FileCopyrightText: 2026 Coop IT Easy SC
#
# SPDX-License-Identifier: AGPL-3.0-or-later

from odoo import fields, models


class Company(models.Model):
_inherit = "res.company"

social_secretariat_affiliation_number = fields.Integer()
group_s_report_counter = fields.Integer("Group S Report Sequence Number")

def increment_group_s_report_counter(self):
self.group_s_report_counter += 1
3 changes: 3 additions & 0 deletions hr_work_entry_group_s/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
2 changes: 2 additions & 0 deletions hr_work_entry_group_s/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- [Coop IT Easy SC](https://coopiteasy.be):
- Simon Hick
1 change: 1 addition & 0 deletions hr_work_entry_group_s/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Export the work entries of employees in the SAIAU format.
2 changes: 2 additions & 0 deletions hr_work_entry_group_s/security/ir.model.access.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
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
Loading