diff --git a/hr_employee_age/README.rst b/hr_employee_age/README.rst index 192d6049219..b911e99e3ff 100644 --- a/hr_employee_age/README.rst +++ b/hr_employee_age/README.rst @@ -14,13 +14,13 @@ Employee Age :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fhr-lightgray.png?logo=github - :target: https://github.com/OCA/hr/tree/12.0/hr_employee_age + :target: https://github.com/OCA/hr/tree/13.0/hr_employee_age :alt: OCA/hr .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/hr-12-0/hr-12-0-hr_employee_age + :target: https://translation.odoo-community.org/projects/hr-13-0/hr-13-0-hr_employee_age :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/116/12.0 + :target: https://runbot.odoo-community.org/runbot/116/13.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -32,17 +32,6 @@ Adds and computes age field on employee .. contents:: :local: -Installation -============ - -To install this module, you need to: - -* clone the branch 12.0 of the repository https://github.com/OCA/hr -* add the path to this repository in your configuration (addons-path) -* update the module list -* search for "Employee Age" in your addons -* install the module - Usage ===== @@ -54,7 +43,7 @@ Bug Tracker 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -71,6 +60,7 @@ Contributors * Salton Massally (iDT Labs) * Serpent Consulting Services Pvt. Ltd. +* Saran Lim. Maintainers ~~~~~~~~~~~ @@ -85,6 +75,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/hr `_ 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/hr_employee_age/i18n/hr_employee_age.pot b/hr_employee_age/i18n/hr_employee_age.pot index a9ddcaf87d3..a8a7cf1687b 100644 --- a/hr_employee_age/i18n/hr_employee_age.pot +++ b/hr_employee_age/i18n/hr_employee_age.pot @@ -1,12 +1,12 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * hr_employee_age +# * hr_employee_age # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" +"Project-Id-Version: Odoo Server 13.0\n" "Report-Msgid-Bugs-To: \n" -"Last-Translator: <>\n" +"Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -22,4 +22,3 @@ msgstr "" #: model:ir.model,name:hr_employee_age.model_hr_employee msgid "Employee" msgstr "" - diff --git a/hr_employee_age/models/hr_employee.py b/hr_employee_age/models/hr_employee.py index 5f5a2135d06..870f29913b0 100644 --- a/hr_employee_age/models/hr_employee.py +++ b/hr_employee_age/models/hr_employee.py @@ -10,7 +10,6 @@ class HrEmployee(models.Model): age = fields.Integer(string="Age", readonly=True, compute="_compute_age") - @api.multi @api.depends("birthday") def _compute_age(self): for record in self: diff --git a/hr_employee_age/readme/CONTRIBUTORS.rst b/hr_employee_age/readme/CONTRIBUTORS.rst index b3c013e67a0..3813caa6fde 100644 --- a/hr_employee_age/readme/CONTRIBUTORS.rst +++ b/hr_employee_age/readme/CONTRIBUTORS.rst @@ -1,2 +1,3 @@ * Salton Massally (iDT Labs) * Serpent Consulting Services Pvt. Ltd. +* Saran Lim. diff --git a/hr_employee_age/readme/INSTALL.rst b/hr_employee_age/readme/INSTALL.rst deleted file mode 100644 index fbcad9b2994..00000000000 --- a/hr_employee_age/readme/INSTALL.rst +++ /dev/null @@ -1,7 +0,0 @@ -To install this module, you need to: - -* clone the branch 12.0 of the repository https://github.com/OCA/hr -* add the path to this repository in your configuration (addons-path) -* update the module list -* search for "Employee Age" in your addons -* install the module diff --git a/hr_employee_age/static/description/index.html b/hr_employee_age/static/description/index.html index ef5f13c429e..a1e568514d1 100644 --- a/hr_employee_age/static/description/index.html +++ b/hr_employee_age/static/description/index.html @@ -367,68 +367,57 @@

Employee Age

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/hr Translate me on Weblate Try me on Runbot

+

Beta License: AGPL-3 OCA/hr Translate me on Weblate Try me on Runbot

Adds and computes age field on employee

Table of contents

-
-

Installation

-

To install this module, you need to:

-
    -
  • clone the branch 12.0 of the repository https://github.com/OCA/hr
  • -
  • add the path to this repository in your configuration (addons-path)
  • -
  • update the module list
  • -
  • search for “Employee Age” in your addons
  • -
  • install the module
  • -
-
-

Usage

+

Usage

When you add the birthday of an employee, the age of an employee will auto-populate.

-

Bug Tracker

+

Bug Tracker

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.

+feedback.

Do not contact contributors directly about support or help with technical issues.

-

Credits

+

Credits

-

Authors

+

Authors

-

Contributors

+

Contributors

-

Maintainers

+

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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/hr 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/hr_employee_age/views/hr_employee.xml b/hr_employee_age/views/hr_employee.xml index f0a5a4972f2..51bcf4684b6 100644 --- a/hr_employee_age/views/hr_employee.xml +++ b/hr_employee_age/views/hr_employee.xml @@ -1,11 +1,12 @@ + hr.employee.view.form hr.employee - + - - + +