Skip to content

Commit

Permalink
[MIG] hr_employee_relative: Migration to 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lef-adhoc committed Dec 4, 2024
1 parent 026019f commit 5521194
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 39 deletions.
10 changes: 5 additions & 5 deletions hr_employee_relative/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ HR Employee Relatives
: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/17.0/hr_employee_relative
:target: https://github.com/OCA/hr/tree/18.0/hr_employee_relative
:alt: OCA/hr
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/hr-17-0/hr-17-0-hr_employee_relative
:target: https://translation.odoo-community.org/projects/hr-18-0/hr-18-0-hr_employee_relative
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/hr&target_branch=17.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/hr&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|
Expand All @@ -41,7 +41,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/hr/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/hr/issues/new?body=module:%20hr_employee_relative%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/hr/issues/new?body=module:%20hr_employee_relative%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Expand Down Expand Up @@ -83,6 +83,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 <https://github.com/OCA/hr/tree/17.0/hr_employee_relative>`_ project on GitHub.
This module is part of the `OCA/hr <https://github.com/OCA/hr/tree/18.0/hr_employee_relative>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 2 additions & 2 deletions hr_employee_relative/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{
"name": "HR Employee Relatives",
"version": "17.0.1.0.0",
"version": "18.0.1.0.0",
"category": "Human Resources",
"website": "https://github.com/OCA/hr",
"author": "CorporateHub, Odoo Community Association (OCA)",
Expand All @@ -13,7 +13,7 @@
"application": False,
"summary": "Allows storing information about employee's family",
"depends": ["hr"],
"external_dependencies": {"python": ["dateutil"]},
"external_dependencies": {"python": ["python-dateutil"]},
"data": [
"data/data_relative_relation.xml",
"security/ir.model.access.csv",
Expand Down
52 changes: 26 additions & 26 deletions hr_employee_relative/data/data_relative_relation.xml
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<!--
<!--
Copyright (C) 2018 Brainbean Apps (https://brainbeanapps.com)
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<!-- hr.employee.relative.relation -->
<record model="hr.employee.relative.relation" id="relation_spouse">
<field name="name">Spouse</field>
</record>
<record model="hr.employee.relative.relation" id="relation_significant_other">
<field name="name">Significant Other</field>
</record>
<record model="hr.employee.relative.relation" id="relation_child">
<field name="name">Child</field>
</record>
<record model="hr.employee.relative.relation" id="relation_parent">
<field name="name">Parent</field>
</record>
<record model="hr.employee.relative.relation" id="relation_sibling">
<field name="name">Sibling</field>
</record>
<record model="hr.employee.relative.relation" id="relation_cousin">
<field name="name">Cousin</field>
</record>
<record model="hr.employee.relative.relation" id="relation_grandparent">
<field name="name">Grandparent</field>
</record>
<record model="hr.employee.relative.relation" id="relation_grandchild">
<field name="name">Grandchild</field>
</record>
<!-- hr.employee.relative.relation -->
<record model="hr.employee.relative.relation" id="relation_spouse">
<field name="name">Spouse</field>
</record>
<record model="hr.employee.relative.relation" id="relation_significant_other">
<field name="name">Significant Other</field>
</record>
<record model="hr.employee.relative.relation" id="relation_child">
<field name="name">Child</field>
</record>
<record model="hr.employee.relative.relation" id="relation_parent">
<field name="name">Parent</field>
</record>
<record model="hr.employee.relative.relation" id="relation_sibling">
<field name="name">Sibling</field>
</record>
<record model="hr.employee.relative.relation" id="relation_cousin">
<field name="name">Cousin</field>
</record>
<record model="hr.employee.relative.relation" id="relation_grandparent">
<field name="name">Grandparent</field>
</record>
<record model="hr.employee.relative.relation" id="relation_grandchild">
<field name="name">Grandchild</field>
</record>
</odoo>
6 changes: 3 additions & 3 deletions hr_employee_relative/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ <h1 class="title">HR Employee Relatives</h1>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:33db2b8abd6478bc61c211c50fc64d942d6de629e98835b8fba8c4158934be5a
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/hr/tree/17.0/hr_employee_relative"><img alt="OCA/hr" src="https://img.shields.io/badge/github-OCA%2Fhr-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/hr-17-0/hr-17-0-hr_employee_relative"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/hr&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/hr/tree/18.0/hr_employee_relative"><img alt="OCA/hr" src="https://img.shields.io/badge/github-OCA%2Fhr-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/hr-18-0/hr-18-0-hr_employee_relative"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/hr&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module allows storing information about employee’s family.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
Expand All @@ -388,7 +388,7 @@ <h1><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/hr/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/hr/issues/new?body=module:%20hr_employee_relative%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/hr/issues/new?body=module:%20hr_employee_relative%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
Expand Down Expand Up @@ -426,7 +426,7 @@ <h2><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h2>
<p>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.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/hr/tree/17.0/hr_employee_relative">OCA/hr</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/hr/tree/18.0/hr_employee_relative">OCA/hr</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions hr_employee_relative/views/hr_employee_relative.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<record id="hr_employee_relative_view_tree" model="ir.ui.view">
<field name="name">hr.employee.relative.view.tree</field>
<field name="name">hr.employee.relative.view.list</field>
<field name="model">hr.employee.relative</field>
<field name="arch" type="xml">
<tree editable="bottom">
<list editable="bottom">
<field name="relation_id" />
<field name="name" />
<field name="partner_id" />
Expand All @@ -20,7 +20,7 @@
<field name="phone_number" />
<field name="job" />
<field name="notes" />
</tree>
</list>
</field>
</record>
</odoo>
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# generated from manifests external_dependencies
python-dateutil

0 comments on commit 5521194

Please sign in to comment.