Skip to content

Commit 4556476

Browse files
author
Milan Topuzov
committed
[IMP] pre-commit auto-fixes
1 parent fdcb3af commit 4556476

File tree

2 files changed

+29
-19
lines changed

2 files changed

+29
-19
lines changed

base_user_role_company/README.rst

Lines changed: 10 additions & 6 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
User roles by company
37
=====================
@@ -13,17 +17,17 @@ User roles by company
1317
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
1418
:target: https://odoo-community.org/page/development-status
1519
:alt: Beta
16-
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
20+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
1721
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1822
:alt: License: AGPL-3
1923
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--backend-lightgray.png?logo=github
20-
:target: https://github.com/OCA/server-backend/tree/18.0/base_user_role_company
24+
:target: https://github.com/OCA/server-backend/tree/19.0/base_user_role_company
2125
:alt: OCA/server-backend
2226
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/server-backend-18-0/server-backend-18-0-base_user_role_company
27+
:target: https://translation.odoo-community.org/projects/server-backend-19-0/server-backend-19-0-base_user_role_company
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/server-backend&target_branch=18.0
30+
:target: https://runboat.odoo-community.org/builds?repo=OCA/server-backend&target_branch=19.0
2731
:alt: Try me on Runboat
2832

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

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

@@ -130,6 +134,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
130134
mission is to support the collaborative development of Odoo features and
131135
promote its widespread use.
132136

133-
This module is part of the `OCA/server-backend <https://github.com/OCA/server-backend/tree/18.0/base_user_role_company>`_ project on GitHub.
137+
This module is part of the `OCA/server-backend <https://github.com/OCA/server-backend/tree/19.0/base_user_role_company>`_ project on GitHub.
134138

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

base_user_role_company/static/description/index.html

Lines changed: 19 additions & 13 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>User roles by company</title>
6+
<title>README.rst</title>
77
<style type="text/css">
88

99
/*
@@ -360,16 +360,21 @@
360360
</style>
361361
</head>
362362
<body>
363-
<div class="document" id="user-roles-by-company">
364-
<h1 class="title">User roles by company</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="user-roles-by-company">
370+
<h1>User roles by company</h1>
366371
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
367372
!! This file is generated by oca-gen-addon-readme !!
368373
!! changes will be overwritten. !!
369374
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370375
!! source digest: sha256:22170e229c468ec41046141f10de50f397080458a7de6004f4a453721c02ca2f
371376
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
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/server-backend/tree/18.0/base_user_role_company"><img alt="OCA/server-backend" src="https://img.shields.io/badge/github-OCA%2Fserver--backend-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/server-backend-18-0/server-backend-18-0-base_user_role_company"><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/server-backend&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/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/server-backend/tree/19.0/base_user_role_company"><img alt="OCA/server-backend" src="https://img.shields.io/badge/github-OCA%2Fserver--backend-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/server-backend-19-0/server-backend-19-0-base_user_role_company"><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/server-backend&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>Enable User Roles depending on the Companies selected.</p>
374379
<p>A company specific Role will only be enabled if it is set for <strong>all</strong>
375380
the currently selected companies.</p>
@@ -391,7 +396,7 @@ <h1 class="title">User roles by company</h1>
391396
</ul>
392397
</div>
393398
<div class="section" id="configuration">
394-
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
399+
<h2><a class="toc-backref" href="#toc-entry-1">Configuration</a></h2>
395400
<p>Roles are set on the User form.</p>
396401
<p>The “Company” additional column allows to set a Role as only valid for
397402
specific companies.</p>
@@ -400,7 +405,7 @@ <h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
400405
selection rules.</p>
401406
</div>
402407
<div class="section" id="usage">
403-
<h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
408+
<h2><a class="toc-backref" href="#toc-entry-2">Usage</a></h2>
404409
<p>Select the active companies from the web client widget, near the top
405410
right corner. When doing so, the User’s security Groups are recomputed,
406411
based on the Roles.</p>
@@ -426,23 +431,23 @@ <h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
426431
</ul>
427432
</div>
428433
<div class="section" id="bug-tracker">
429-
<h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
434+
<h2><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h2>
430435
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/server-backend/issues">GitHub Issues</a>.
431436
In case of trouble, please check there if your issue has already been reported.
432437
If you spotted it first, help us to smash it by providing a detailed and welcomed
433-
<a class="reference external" href="https://github.com/OCA/server-backend/issues/new?body=module:%20base_user_role_company%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
438+
<a class="reference external" href="https://github.com/OCA/server-backend/issues/new?body=module:%20base_user_role_company%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
434439
<p>Do not contact contributors directly about support or help with technical issues.</p>
435440
</div>
436441
<div class="section" id="credits">
437-
<h1><a class="toc-backref" href="#toc-entry-4">Credits</a></h1>
442+
<h2><a class="toc-backref" href="#toc-entry-4">Credits</a></h2>
438443
<div class="section" id="authors">
439-
<h2><a class="toc-backref" href="#toc-entry-5">Authors</a></h2>
444+
<h3><a class="toc-backref" href="#toc-entry-5">Authors</a></h3>
440445
<ul class="simple">
441446
<li>Open Source Integrators</li>
442447
</ul>
443448
</div>
444449
<div class="section" id="contributors">
445-
<h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
450+
<h3><a class="toc-backref" href="#toc-entry-6">Contributors</a></h3>
446451
<p><a class="reference external" href="http://opensourceintegrators.com">Open Source Integrators</a></p>
447452
<blockquote>
448453
<ul class="simple">
@@ -465,18 +470,19 @@ <h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
465470
</blockquote>
466471
</div>
467472
<div class="section" id="maintainers">
468-
<h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
473+
<h3><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h3>
469474
<p>This module is maintained by the OCA.</p>
470475
<a class="reference external image-reference" href="https://odoo-community.org">
471476
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
472477
</a>
473478
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
474479
mission is to support the collaborative development of Odoo features and
475480
promote its widespread use.</p>
476-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/server-backend/tree/18.0/base_user_role_company">OCA/server-backend</a> project on GitHub.</p>
481+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/server-backend/tree/19.0/base_user_role_company">OCA/server-backend</a> project on GitHub.</p>
477482
<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>
478483
</div>
479484
</div>
480485
</div>
486+
</div>
481487
</body>
482488
</html>

0 commit comments

Comments
 (0)