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

[12.0][REF] hr_timesheet_activity_begin_end: Make more extensible #693

Open
wants to merge 2 commits into
base: 12.0
Choose a base branch
from

Conversation

carmenbianca
Copy link
Member

Backport from #692

Internal task: T12630

@carmenbianca carmenbianca changed the title [12.0][REF] hr_timesheet_begin_end: Make more extensible [12.0][REF] hr_timesheet_activity_begin_end: Make more extensible Jun 21, 2024
@carmenbianca carmenbianca force-pushed the 12.0-backport-refactor-begin-end branch from 7e91bb3 to d2a459c Compare June 21, 2024 12:21
Copy link
Member

@huguesdk huguesdk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Timesheet lines are characterised by having a project.

Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
The separation of checks into separate methods is needed because I want
to disable one check in another module. This makes the module more
extensible.

The unit_amount_from_start_stop method also makes the module more
extensible.

I have also moved the onchange to the top of the file, according to the
OCA contribution guidelines.

Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Copy link

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.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Oct 27, 2024
@carmenbianca
Copy link
Member Author

This is not stale and in need of review :)

@huguesdk
Copy link
Member

@OCA/human-resources-maintainers could someone please review and merge this?

@github-actions github-actions bot removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants