Skip to content

Commit 8419086

Browse files
[MIG] hr_expense_employee_analytic_default: Migration to 18.0
1 parent 5ceb481 commit 8419086

5 files changed

Lines changed: 34 additions & 30 deletions

File tree

hr_expense_employee_analytic_default/README.rst

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ Expense Employee Analytic Default
1717
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1818
:alt: License: AGPL-3
1919
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fhr--expense-lightgray.png?logo=github
20-
:target: https://github.com/OCA/hr-expense/tree/17.0/hr_expense_employee_analytic_default
20+
:target: https://github.com/OCA/hr-expense/tree/18.0/hr_expense_employee_analytic_default
2121
:alt: OCA/hr-expense
2222
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/hr-expense-17-0/hr-expense-17-0-hr_expense_employee_analytic_default
23+
:target: https://translation.odoo-community.org/projects/hr-expense-18-0/hr-expense-18-0-hr_expense_employee_analytic_default
2424
:alt: Translate me on Weblate
2525
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26-
:target: https://runboat.odoo-community.org/builds?repo=OCA/hr-expense&target_branch=17.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/hr-expense&target_branch=18.0
2727
:alt: Try me on Runboat
2828

2929
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -50,21 +50,21 @@ To configure this module, you need to:
5050
Usage
5151
=====
5252

53-
To use this module, you need to:
53+
To configure this module, you need to:
5454

55-
1. Go to *Expenses* and create a new one.
56-
2. The analytical distribution will be set according to the analytic
57-
distribution model.
58-
3. When changing the employee, the analytical distribution will be
59-
updated.
55+
1. Enable the “Analytic Accounting” permission on the user
56+
2. Go to an employee (or create a new one) and set a work address
57+
3. Go to *Invocing > Configuration > Analytic Accounting \|> Analytic
58+
Distribution Models* and create a record that has as partner the
59+
employee's work address.
6060

6161
Bug Tracker
6262
===========
6363

6464
Bugs are tracked on `GitHub Issues <https://github.com/OCA/hr-expense/issues>`_.
6565
In case of trouble, please check there if your issue has already been reported.
6666
If you spotted it first, help us to smash it by providing a detailed and welcomed
67-
`feedback <https://github.com/OCA/hr-expense/issues/new?body=module:%20hr_expense_employee_analytic_default%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
67+
`feedback <https://github.com/OCA/hr-expense/issues/new?body=module:%20hr_expense_employee_analytic_default%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
6868

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

@@ -79,10 +79,12 @@ Authors
7979
Contributors
8080
------------
8181

82-
- `Tecnativa <https://www.tecnativa.com>`__:
82+
- `Tecnativa <https://www.tecnativa.com>`__:
83+
84+
- Víctor Martínez
85+
- Pedro M. Baeza
8386

84-
- Víctor Martínez
85-
- Pedro M. Baeza
87+
- ``Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>``\ \_
8688

8789
Maintainers
8890
-----------
@@ -105,6 +107,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
105107

106108
|maintainer-victoralmau|
107109

108-
This module is part of the `OCA/hr-expense <https://github.com/OCA/hr-expense/tree/17.0/hr_expense_employee_analytic_default>`_ project on GitHub.
110+
This module is part of the `OCA/hr-expense <https://github.com/OCA/hr-expense/tree/18.0/hr_expense_employee_analytic_default>`_ project on GitHub.
109111

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

hr_expense_employee_analytic_default/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
33
{
44
"name": "Expense Employee Analytic Default",
5-
"version": "17.0.1.0.0",
5+
"version": "18.0.1.0.0",
66
"category": "Human Resources",
77
"website": "https://github.com/OCA/hr-expense",
88
"author": "Tecnativa, Odoo Community Association (OCA)",
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
- [Tecnativa](https://www.tecnativa.com):
22
- Víctor Martínez
33
- Pedro M. Baeza
4+
- `Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>`_
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
To use this module, you need to:
1+
To configure this module, you need to:
22

3-
1. Go to *Expenses* and create a new one.
4-
2. The analytical distribution will be set according to
5-
the analytic distribution model.
6-
3. When changing the employee, the analytical distribution will
7-
be updated.
3+
1. Enable the “Analytic Accounting” permission on the user
4+
2. Go to an employee (or create a new one) and set a work address
5+
3. Go to *Invocing \> Configuration \> Analytic Accounting |>
6+
Analytic Distribution Models* and create a record that has as partner
7+
the employee's work address.

hr_expense_employee_analytic_default/static/description/index.html

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ <h1 class="title">Expense Employee Analytic Default</h1>
369369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370370
!! source digest: sha256:ab96c55a5f8cea8244c3c3c29d53e6333b826592914af9d503103f34cb3cfb1b
371371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372-
<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-expense/tree/17.0/hr_expense_employee_analytic_default"><img alt="OCA/hr-expense" src="https://img.shields.io/badge/github-OCA%2Fhr--expense-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/hr-expense-17-0/hr-expense-17-0-hr_expense_employee_analytic_default"><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-expense&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372+
<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-expense/tree/18.0/hr_expense_employee_analytic_default"><img alt="OCA/hr-expense" src="https://img.shields.io/badge/github-OCA%2Fhr--expense-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/hr-expense-18-0/hr-expense-18-0-hr_expense_employee_analytic_default"><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-expense&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373373
<p>This module allows to create Analytic Distribution Models for employees
374374
to be applied to expenses.</p>
375375
<p><strong>Table of contents</strong></p>
@@ -399,21 +399,21 @@ <h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
399399
</div>
400400
<div class="section" id="usage">
401401
<h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
402-
<p>To use this module, you need to:</p>
402+
<p>To configure this module, you need to:</p>
403403
<ol class="arabic simple">
404-
<li>Go to <em>Expenses</em> and create a new one.</li>
405-
<li>The analytical distribution will be set according to the analytic
406-
distribution model.</li>
407-
<li>When changing the employee, the analytical distribution will be
408-
updated.</li>
404+
<li>Enable the “Analytic Accounting” permission on the user</li>
405+
<li>Go to an employee (or create a new one) and set a work address</li>
406+
<li>Go to <em>Invocing &gt; Configuration &gt; Analytic Accounting |&gt; Analytic
407+
Distribution Models</em> and create a record that has as partner the
408+
employee’s work address.</li>
409409
</ol>
410410
</div>
411411
<div class="section" id="bug-tracker">
412412
<h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
413413
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/hr-expense/issues">GitHub Issues</a>.
414414
In case of trouble, please check there if your issue has already been reported.
415415
If you spotted it first, help us to smash it by providing a detailed and welcomed
416-
<a class="reference external" href="https://github.com/OCA/hr-expense/issues/new?body=module:%20hr_expense_employee_analytic_default%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
416+
<a class="reference external" href="https://github.com/OCA/hr-expense/issues/new?body=module:%20hr_expense_employee_analytic_default%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
417417
<p>Do not contact contributors directly about support or help with technical issues.</p>
418418
</div>
419419
<div class="section" id="credits">
@@ -432,6 +432,7 @@ <h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
432432
<li>Pedro M. Baeza</li>
433433
</ul>
434434
</li>
435+
<li><tt class="docutils literal">Heliconia Solutions Pvt. Ltd. <span class="pre">&lt;https://www.heliconia.io&gt;</span></tt>_</li>
435436
</ul>
436437
</div>
437438
<div class="section" id="maintainers">
@@ -445,7 +446,7 @@ <h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
445446
promote its widespread use.</p>
446447
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
447448
<p><a class="reference external image-reference" href="https://github.com/victoralmau"><img alt="victoralmau" src="https://github.com/victoralmau.png?size=40px" /></a></p>
448-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/hr-expense/tree/17.0/hr_expense_employee_analytic_default">OCA/hr-expense</a> project on GitHub.</p>
449+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/hr-expense/tree/18.0/hr_expense_employee_analytic_default">OCA/hr-expense</a> project on GitHub.</p>
449450
<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>
450451
</div>
451452
</div>

0 commit comments

Comments
 (0)