- Mailing Lists
- Human Resources
- Re: [OCA/hr] [12.0] [MIG] hr_contract_reference (#541)
Human Resources mailing list archives
hr@odoo-community.org
Browse archives
- By thread
-
By date
- August 2024 1
- May 2024 2
- April 2024 2
- March 2024 2
- November 2023 2
- October 2023 3
- June 2023 2
- April 2023 2
- March 2023 2
- February 2023 2
- January 2023 1
- December 2022 1
- November 2022 8
- July 2022 1
- May 2022 1
- April 2022 4
- February 2022 1
- November 2021 1
- October 2021 1
- September 2021 3
- July 2021 10
- June 2021 16
- May 2021 1
- March 2021 15
- February 2021 17
- January 2021 5
- December 2020 1
- October 2020 20
- September 2020 3
- August 2020 1
- July 2020 25
- June 2020 8
- April 2020 1
- March 2020 4
- February 2020 12
- December 2019 9
- November 2019 42
- October 2019 13
- September 2019 5
- August 2019 4
- June 2019 6
- May 2019 5
- April 2019 9
- March 2019 20
- December 2018 21
- November 2018 3
- September 2018 1
- July 2018 2
- June 2018 2
- April 2018 1
- March 2018 1
- February 2018 1
- December 2017 1
- November 2017 1
- October 2017 1
- August 2017 1
- June 2017 3
- October 2016 1
- September 2016 3
- April 2016 2
- October 2015 2
Re: [OCA/hr] Migration to version 12.0 (#479)
Re: [OCA/hr] [FIX] hr_attendance_modification_tracking: sudo read (#859)
Re: [OCA/hr] [12.0] [MIG] hr_contract_reference (#541)
by Jaime Arroyo <notifications@github.com> - 21/07/2020 09:51:56@jarroyomorales commented on this pull request.
In hr_contract_reference/models/hr_contract.py:
> @@ -0,0 +1,22 @@ +# copyright 2011,2013 Michael Telahun Makonnen <mmakonnen@gmail.com> +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo import api, fields, models + + +class HrContract(models.Model): + _inherit = 'hr.contract' + + name = fields.Char( + 'Contract Reference', + required=False, + readonly=True,
IMO name should be required, and even more if you are using this module, where you shouldnt have a contract without reference.
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.