Skip to content

Commit 8dfb2ae

Browse files
committed
[MIG] hr_timesheet_amount_security: Migration to 19.0
MT-15011 @moduon
1 parent b7de292 commit 8dfb2ae

4 files changed

Lines changed: 32 additions & 33 deletions

File tree

hr_timesheet_amount_security/README.rst

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
.. image:: https://odoo-community.org/readme-banner-image
2+
:target: https://odoo-community.org/get-involved?utm_source=readme
3+
:alt: Odoo Community Association
4+
15
============================
26
HR Timesheet Amount Security
37
============================
@@ -10,20 +14,20 @@ HR Timesheet Amount Security
1014
!! source digest: sha256:5ac1633036f36898d3ee2c4f4d38aad4126fa9ec33f334a86c35d7c5d0d7b212
1115
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1216
13-
.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
17+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
1418
:target: https://odoo-community.org/page/development-status
15-
:alt: Alpha
16-
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
19+
:alt: Beta
20+
.. |badge2| image:: https://img.shields.io/badge/license-LGPL--3-blue.png
1721
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
1822
:alt: License: LGPL-3
1923
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Ftimesheet-lightgray.png?logo=github
20-
:target: https://github.com/OCA/timesheet/tree/18.0/hr_timesheet_amount_security
24+
:target: https://github.com/OCA/timesheet/tree/19.0/hr_timesheet_amount_security
2125
:alt: OCA/timesheet
2226
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/timesheet-18-0/timesheet-18-0-hr_timesheet_amount_security
27+
:target: https://translation.odoo-community.org/projects/timesheet-19-0/timesheet-19-0-hr_timesheet_amount_security
2428
:alt: Translate me on Weblate
2529
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26-
:target: https://runboat.odoo-community.org/builds?repo=OCA/timesheet&target_branch=18.0
30+
:target: https://runboat.odoo-community.org/builds?repo=OCA/timesheet&target_branch=19.0
2731
:alt: Try me on Runboat
2832

2933
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -35,11 +39,6 @@ who have the "Allow to read analytic costs" permission from the
3539
```analytic_amount_security`` <https://github.com/OCA/account-analytic/tree/18.0/analytic_amount_security>`__
3640
module.
3741

38-
.. IMPORTANT::
39-
This is an alpha version, the data model and design can change at any time without warning.
40-
Only for development or testing purpose, do not use in production.
41-
`More details on development status <https://odoo-community.org/page/development-status>`_
42-
4342
**Table of contents**
4443

4544
.. contents::
@@ -71,7 +70,7 @@ Bug Tracker
7170
Bugs are tracked on `GitHub Issues <https://github.com/OCA/timesheet/issues>`_.
7271
In case of trouble, please check there if your issue has already been reported.
7372
If you spotted it first, help us to smash it by providing a detailed and welcomed
74-
`feedback <https://github.com/OCA/timesheet/issues/new?body=module:%20hr_timesheet_amount_security%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
73+
`feedback <https://github.com/OCA/timesheet/issues/new?body=module:%20hr_timesheet_amount_security%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
7574

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

@@ -113,6 +112,6 @@ Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:
113112

114113
|maintainer-EmilioPascual| |maintainer-rafaelbn|
115114

116-
This module is part of the `OCA/timesheet <https://github.com/OCA/timesheet/tree/18.0/hr_timesheet_amount_security>`_ project on GitHub.
115+
This module is part of the `OCA/timesheet <https://github.com/OCA/timesheet/tree/19.0/hr_timesheet_amount_security>`_ project on GitHub.
117116

118117
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

hr_timesheet_amount_security/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"name": "HR Timesheet Amount Security",
55
"summary": "Add security restrictions to timesheet amount fields",
6-
"version": "18.0.1.0.0",
6+
"version": "19.0.1.0.0",
77
"development_status": "Alpha",
88
"category": "Human Resources/Timesheets",
99
"website": "https://github.com/OCA/timesheet",

hr_timesheet_amount_security/readme/CONTEXT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ in timesheet reports. In many organizations, regular employees should be able to
33
see time tracking information but not the monetary costs associated with that time.
44

55
The module leverages the `group_allow_read_analytic_amount` group from the
6-
[`analytic_amount_security`](https://github.com/OCA/account-analytic/tree/18.0/analytic_amount_security)
6+
[`analytic_amount_security`](https://github.com/OCA/account-analytic/tree/19.0/analytic_amount_security)
77
module to restrict access to:
88

99
- Amount field in Timesheets Analysis Report

hr_timesheet_amount_security/static/description/index.html

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
55
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
6-
<title>HR Timesheet Amount Security</title>
6+
<title>README.rst</title>
77
<style type="text/css">
88

99
/*
@@ -360,27 +360,26 @@
360360
</style>
361361
</head>
362362
<body>
363-
<div class="document" id="hr-timesheet-amount-security">
364-
<h1 class="title">HR Timesheet Amount Security</h1>
363+
<div class="document">
365364

365+
366+
<a class="reference external image-reference" href="https://odoo-community.org/get-involved?utm_source=readme">
367+
<img alt="Odoo Community Association" src="https://odoo-community.org/readme-banner-image" />
368+
</a>
369+
<div class="section" id="hr-timesheet-amount-security">
370+
<h1>HR Timesheet Amount Security</h1>
366371
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
367372
!! This file is generated by oca-gen-addon-readme !!
368373
!! changes will be overwritten. !!
369374
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370375
!! source digest: sha256:5ac1633036f36898d3ee2c4f4d38aad4126fa9ec33f334a86c35d7c5d0d7b212
371376
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372-
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Alpha" src="https://img.shields.io/badge/maturity-Alpha-red.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/timesheet/tree/18.0/hr_timesheet_amount_security"><img alt="OCA/timesheet" src="https://img.shields.io/badge/github-OCA%2Ftimesheet-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/timesheet-18-0/timesheet-18-0-hr_timesheet_amount_security"><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/timesheet&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
377+
<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/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/license-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/timesheet/tree/19.0/hr_timesheet_amount_security"><img alt="OCA/timesheet" src="https://img.shields.io/badge/github-OCA%2Ftimesheet-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/timesheet-19-0/timesheet-19-0-hr_timesheet_amount_security"><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/timesheet&amp;target_branch=19.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373378
<p>This module adds security restrictions to timesheet amount fields.</p>
374379
<p>It restricts access to cost-related fields in timesheet reports to users
375380
who have the “Allow to read analytic costs” permission from the
376381
<tt class="docutils literal">`analytic_amount_security</tt> &lt;<a class="reference external" href="https://github.com/OCA/account-analytic/tree/18.0/analytic_amount_security">https://github.com/OCA/account-analytic/tree/18.0/analytic_amount_security</a>&gt;`__
377382
module.</p>
378-
<div class="admonition important">
379-
<p class="first admonition-title">Important</p>
380-
<p class="last">This is an alpha version, the data model and design can change at any time without warning.
381-
Only for development or testing purpose, do not use in production.
382-
<a class="reference external" href="https://odoo-community.org/page/development-status">More details on development status</a></p>
383-
</div>
384383
<p><strong>Table of contents</strong></p>
385384
<div class="contents local topic" id="contents">
386385
<ul class="simple">
@@ -395,7 +394,7 @@ <h1 class="title">HR Timesheet Amount Security</h1>
395394
</ul>
396395
</div>
397396
<div class="section" id="use-cases-context">
398-
<h1><a class="toc-backref" href="#toc-entry-1">Use Cases / Context</a></h1>
397+
<h2><a class="toc-backref" href="#toc-entry-1">Use Cases / Context</a></h2>
399398
<p>This module addresses the need to control which users can view cost
400399
information in timesheet reports. In many organizations, regular
401400
employees should be able to see time tracking information but not the
@@ -413,30 +412,30 @@ <h1><a class="toc-backref" href="#toc-entry-1">Use Cases / Context</a></h1>
413412
while maintaining transparency for time tracking.</p>
414413
</div>
415414
<div class="section" id="bug-tracker">
416-
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
415+
<h2><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h2>
417416
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/timesheet/issues">GitHub Issues</a>.
418417
In case of trouble, please check there if your issue has already been reported.
419418
If you spotted it first, help us to smash it by providing a detailed and welcomed
420-
<a class="reference external" href="https://github.com/OCA/timesheet/issues/new?body=module:%20hr_timesheet_amount_security%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
419+
<a class="reference external" href="https://github.com/OCA/timesheet/issues/new?body=module:%20hr_timesheet_amount_security%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
421420
<p>Do not contact contributors directly about support or help with technical issues.</p>
422421
</div>
423422
<div class="section" id="credits">
424-
<h1><a class="toc-backref" href="#toc-entry-3">Credits</a></h1>
423+
<h2><a class="toc-backref" href="#toc-entry-3">Credits</a></h2>
425424
<div class="section" id="authors">
426-
<h2><a class="toc-backref" href="#toc-entry-4">Authors</a></h2>
425+
<h3><a class="toc-backref" href="#toc-entry-4">Authors</a></h3>
427426
<ul class="simple">
428427
<li>Moduon</li>
429428
</ul>
430429
</div>
431430
<div class="section" id="contributors">
432-
<h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
431+
<h3><a class="toc-backref" href="#toc-entry-5">Contributors</a></h3>
433432
<ul class="simple">
434433
<li>Emilio Pascual <a class="reference external" href="mailto:emilio.pascual&#64;moduon.team">emilio.pascual&#64;moduon.team</a></li>
435434
<li>Rafael Blasco <a class="reference external" href="mailto:rafael.bn&#64;moduon.team">rafael.bn&#64;moduon.team</a></li>
436435
</ul>
437436
</div>
438437
<div class="section" id="maintainers">
439-
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
438+
<h3><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h3>
440439
<p>This module is maintained by the OCA.</p>
441440
<a class="reference external image-reference" href="https://odoo-community.org">
442441
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
@@ -446,10 +445,11 @@ <h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
446445
promote its widespread use.</p>
447446
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainers</a>:</p>
448447
<p><a class="reference external image-reference" href="https://github.com/EmilioPascual"><img alt="EmilioPascual" src="https://github.com/EmilioPascual.png?size=40px" /></a> <a class="reference external image-reference" href="https://github.com/rafaelbn"><img alt="rafaelbn" src="https://github.com/rafaelbn.png?size=40px" /></a></p>
449-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/timesheet/tree/18.0/hr_timesheet_amount_security">OCA/timesheet</a> project on GitHub.</p>
448+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/timesheet/tree/19.0/hr_timesheet_amount_security">OCA/timesheet</a> project on GitHub.</p>
450449
<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>
451450
</div>
452451
</div>
453452
</div>
453+
</div>
454454
</body>
455455
</html>

0 commit comments

Comments
 (0)