[17.0][ADD] hr_holidays_public_regional: New module hr_holidays_public_regional#202
[17.0][ADD] hr_holidays_public_regional: New module hr_holidays_public_regional#202
Conversation
25e95f0 to
a6fdc62
Compare
lbarry-apsl
left a comment
There was a problem hiding this comment.
LGTM, code and runboat reviewed
c8610e3 to
0d19f01
Compare
0d19f01 to
4000b12
Compare
|
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
|
Sorry for ping directly here @pedrobaeza , can you review please? |
pedrobaeza
left a comment
There was a problem hiding this comment.
I don't find the need of this module, as you can put in the existing m2m in the public holiday lines the country states you need.
For this reason, I made this module: to avoid depending on individual contacts when assigning a country state. This makes it easier to select a calendar. |
|
You are not depending on individual contacts. Just fill the work address in the employee. It's the minimum to do... |
|
Even if an employee lives in one location, they might be assigned a public holiday calendar corresponding to a different geographical region (e.g., the location of their primary office or client) because the company's internal policy allows for such operational flexibility. The module is designed specifically for this purpose. It enables the company to:
This ensures that the employee's time-off management and working days are managed accurately according to the company's operational requirements rather than just their residential address. |
|
The work address should be attached to the one having the rights and the obligations, not any free one. I see this module as redundant, but if others consider it useful, I won't block. |
|
What's your opinion @ivantodorovich ? |
|
I'm not currently using neither features so I'm not informed enough to have an opinion, sorry |
|
Can we merge @pedrobaeza? |
b44cf06 to
0a150cb
Compare
0a150cb to
fbfb7f4
Compare
|
Any update about this @pedrobaeza? |
|
As said, I won't block, but don't agree either. |
|
This is already running in production and working as intended. Could you please merge it? |
|
Yeah, you should find another PSC to merge it. |
|
@dreispt can you take a look please when you have time? Thanks in advance |
This module allows you to manage public regional holidays by defining them in dedicated calendars and assigning them to employees.
When enabled on a leave type, public regional holidays linked to the employee are automatically excluded from the leave duration calculation by default.
cc https://github.com/APSL 10205
@miquelalzanillas @javierobcn @mpascuall @BernatObrador @ppyczko @lbarry-apsl please review