diff --git a/passport_expiration/README.rst b/passport_expiration/README.rst index 34d5345aff9..31c50173f9a 100644 --- a/passport_expiration/README.rst +++ b/passport_expiration/README.rst @@ -2,10 +2,13 @@ Passport Expiration =================== -.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:f3fb152e78868b67278a80c81fed2b9326515cdca498a6116e451f236366702d + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status @@ -13,17 +16,17 @@ Passport Expiration .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 -.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fvertical--travel-lightgray.png?logo=github - :target: https://github.com/OCA/vertical-travel/tree/14.0/passport_expiration - :alt: OCA/vertical-travel +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fhr-lightgray.png?logo=github + :target: https://github.com/OCA/hr/tree/15.0/passport_expiration + :alt: OCA/hr .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/vertical-travel-14-0/vertical-travel-14-0-passport_expiration + :target: https://translation.odoo-community.org/projects/hr-15-0/hr-15-0-passport_expiration :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/161/14.0 - :alt: Try me on Runbot +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/hr&target_branch=15.0 + :alt: Try me on Runboat -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| This module used to provides a 'passport expiration' field on employee form view. @@ -42,10 +45,10 @@ To use this module, you need to: Bug Tracker =========== -Bugs are tracked on `GitHub Issues `_. +Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us smashing it by providing a detailed and welcomed -`feedback `_. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -77,6 +80,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -This module is part of the `OCA/vertical-travel `_ project on GitHub. +This module is part of the `OCA/hr `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/passport_expiration/__manifest__.py b/passport_expiration/__manifest__.py index 58d713e75ee..aee3a598699 100644 --- a/passport_expiration/__manifest__.py +++ b/passport_expiration/__manifest__.py @@ -1,11 +1,12 @@ # Copyright 2013 Savoir-faire Linux # Copyright 2021 Camptocamp SA +# Copyright 2022 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { "name": "Passport Expiration", - "version": "14.0.0.1.0", + "version": "15.0.1.0.0", "author": "Savoir-faire Linux,Odoo Community Association (OCA)", - "website": "https://github.com/OCA/vertical-travel", + "website": "https://github.com/OCA/hr", "license": "AGPL-3", "summary": "Adds an expiration date for passports", "depends": ["hr"], diff --git a/passport_expiration/models/hr.py b/passport_expiration/models/hr.py index 08bc7ebbae8..3efd3eb24a9 100644 --- a/passport_expiration/models/hr.py +++ b/passport_expiration/models/hr.py @@ -8,5 +8,7 @@ class HrEmployee(models.Model): _inherit = "hr.employee" passport_expiration_date = fields.Date( - "Expiration Date", help="Expiration date of the passport." + "Expiration Date", + help="Expiration date of the passport.", + groups="hr.group_hr_user", ) diff --git a/passport_expiration/static/description/index.html b/passport_expiration/static/description/index.html index ef4741ac390..b6cdb095544 100644 --- a/passport_expiration/static/description/index.html +++ b/passport_expiration/static/description/index.html @@ -1,20 +1,20 @@ - - + Passport Expiration