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

[MIG][11.0] hr attendance reason #587

Merged
merged 4 commits into from
May 5, 2019

Conversation

jarroyomorales
Copy link

Migration of hr_attendance_reason to 11.0.

@jarroyomorales jarroyomorales force-pushed the 11.0-mig-hr_attendance_reason branch 3 times, most recently from 6584ff4 to 05a9b5f Compare May 2, 2019 09:42
name = fields.Char(
String='Reason',
help='Specifies the reason leaving soon or arriving late',
required=True, index=True)
code = fields.Char('Reason Code')
action_type = fields.Selection(
[('sign_in', 'Sign in'),
Copy link
Member

Choose a reason for hiding this comment

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

Do not change the name without a migration script please.
You can make the script or keep the old name.

Copy link
Author

@jarroyomorales jarroyomorales May 2, 2019

Choose a reason for hiding this comment

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

Okay, I will keep sign in and sign out then.

@@ -0,0 +1,129 @@
# Translation of Odoo Server.
Copy link
Member

Choose a reason for hiding this comment

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

It's better to maintain the translation directly on weblate

Copy link
Author

Choose a reason for hiding this comment

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

OK!

.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fhr-lightgray.png?logo=github
:target: https://github.com/OCA/hr/tree/10.0/hr_attendance_reason
:alt: OCA/hr
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fhr_attendance_reason-lightgray.png?logo=github
Copy link
Member

Choose a reason for hiding this comment

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

Could you split the readme with the new standard model please? 😉

Copy link
Member

Choose a reason for hiding this comment

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

Sorry, it is splitted. I didn't notice it

@pedrobaeza pedrobaeza added this to the 11.0 milestone May 2, 2019
@pedrobaeza pedrobaeza mentioned this pull request May 2, 2019
71 tasks
@jarroyomorales jarroyomorales force-pushed the 11.0-mig-hr_attendance_reason branch from 05a9b5f to 23f2665 Compare May 2, 2019 10:40
Copy link
Member

@tbaden tbaden left a comment

Choose a reason for hiding this comment

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

code review: lgtm

maybe some aesthetic changes (optional)

hr_attendance_reason/__manifest__.py Show resolved Hide resolved
hr_attendance_reason/views/hr_attendance_reason_view.xml Outdated Show resolved Hide resolved
hr_attendance_reason/views/hr_attendance_reason_view.xml Outdated Show resolved Hide resolved
hr_attendance_reason/views/hr_attendance_reason_view.xml Outdated Show resolved Hide resolved
hr_attendance_reason/views/hr_attendance_reason_view.xml Outdated Show resolved Hide resolved
hr_attendance_reason/views/hr_attendance_reason_view.xml Outdated Show resolved Hide resolved
@jarroyomorales jarroyomorales force-pushed the 11.0-mig-hr_attendance_reason branch 3 times, most recently from 82249af to e858e3e Compare May 2, 2019 14:50
@jarroyomorales jarroyomorales force-pushed the 11.0-mig-hr_attendance_reason branch from e858e3e to de4c6b5 Compare May 2, 2019 14:51
@max3903 max3903 merged commit 16d59ad into OCA:11.0 May 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants