Skip to content

Commit

Permalink
[MIG] hr_employee_ssn: Migration to 17.0
Browse files Browse the repository at this point in the history
TT52265
  • Loading branch information
victoralmau committed Dec 18, 2024
1 parent 2102d6d commit 26ab743
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 17 deletions.
10 changes: 5 additions & 5 deletions hr_employee_ssn/README.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
=====================
HR Employee SSN & SIN
=====================
===============
HR Employee SIN
===============

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Expand Down Expand Up @@ -28,8 +28,8 @@ HR Employee SSN & SIN

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows to use employee's SSN & SIN fields by exposing them
in the user interface.
This module allows to use employee's SIN field by exposing them in the
user interface.

**Table of contents**

Expand Down
6 changes: 3 additions & 3 deletions hr_employee_ssn/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "HR Employee SSN & SIN",
"version": "16.0.1.0.0",
"name": "HR Employee SIN",
"version": "17.0.1.0.0",
"category": "Human Resources",
"website": "https://github.com/OCA/hr",
"author": "CorporateHub, Odoo Community Association (OCA)",
"license": "AGPL-3",
"installable": True,
"application": False,
"summary": "View/edit employee's SSN & SIN fields",
"summary": "View/edit employee's SIN field",
"depends": ["hr"],
"data": ["views/hr_employee_views.xml"],
}
2 changes: 1 addition & 1 deletion hr_employee_ssn/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
This module allows to use employee's SSN & SIN fields by exposing them
This module allows to use employee's SIN field by exposing them
in the user interface.
10 changes: 5 additions & 5 deletions hr_employee_ssn/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
<title>HR Employee SSN &amp; SIN</title>
<title>HR Employee SIN</title>
<style type="text/css">

/*
Expand Down Expand Up @@ -360,8 +360,8 @@
</style>
</head>
<body>
<div class="document" id="hr-employee-ssn-sin">
<h1 class="title">HR Employee SSN &amp; SIN</h1>
<div class="document" id="hr-employee-sin">
<h1 class="title">HR Employee SIN</h1>

<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
Expand All @@ -370,8 +370,8 @@ <h1 class="title">HR Employee SSN &amp; SIN</h1>
!! source digest: sha256:f8423952023049112b368eed92c0657534389e302efc37caaaadb3a8583735cb
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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_ssn"><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_ssn"><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>This module allows to use employee’s SSN &amp; SIN fields by exposing them
in the user interface.</p>
<p>This module allows to use employee’s SIN field by exposing them in the
user interface.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand Down
5 changes: 2 additions & 3 deletions hr_employee_ssn/views/hr_employee_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@
<field name="model">hr.employee</field>
<field name="inherit_id" ref="hr.view_employee_form" />
<field name="arch" type="xml">
<field name="passport_id" position="after">
<field name="ssnid" groups="hr.group_hr_user" />
<field name="sinid" groups="hr.group_hr_user" />
<field name="ssnid" position="after">
<field name="sinid" />
</field>
</field>
</record>
Expand Down

0 comments on commit 26ab743

Please sign in to comment.