-
-
Notifications
You must be signed in to change notification settings - Fork 664
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
Update Hr public holidays. #209
Conversation
Hi @feketemihai. I tried: |
Funny though, i could create 2017 international and 2017 indonesia public holiday. But not 2016 |
It depends on the order that you input..if you input by country first the error is not raised..if you input internationally first the error will be raised...i will work on the constraint function. |
Yes i confirm that. It works just like you said. |
It should be fixed now. |
Thanks @feketemihai . Btw is this by design? Or need extra constraints? |
There wasn't any constraint on this...we can have a new constraint on this just like for the year country, here to have it by date/states... |
@feketemihai thanks for extra constraints. One more case still bothers me: When a data declared as national holiday then it should not possible to declare that day as state holiday. Is it possible to add more constraint, or just inform it on known issue? |
Well at least in my country (Indonesia) that will not happen. Or it's possible in other countries? |
Btw let me know if you need any help to close this PR or any untouch PR on OCA/hr. Thanks. |
👍 |
@feketemihai @andhit-r I'm thinking that constraint that you put on public holiday for national and state cannot be for same day. Because I think the purpose of this module is to record all public holiday on country and state. That's my opinion But over all I have tested it's OK. Thanks |
👍 |
has been tested 👍 |
@feketemihai, I only ask you before I merge the module to clean the commit history. Please squash a bit some commits that are only flake8 fixes or similar, and remove the changes in other modules like hr_employee_firstname, because it's not the same in conflicts terms to add something and then remove it, than not touching it. |
135adf5
to
15b787c
Compare
@pedrobaeza Done... |
[BSSFL-282] Technical shipping groups
BSIBSO-1069: Sync project and update image version
This is a update from #173 . I will close that one.