[IMP] base_user_role: black, isort, prettier

This commit is contained in:
Arnaud Pineux
2022-08-16 15:50:17 +02:00
parent 5a0cd780d5
commit 1cafb7b57d
5 changed files with 19 additions and 19 deletions

View File

@@ -14,16 +14,16 @@ User roles
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3 :alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--backend-lightgray.png?logo=github .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--backend-lightgray.png?logo=github
:target: https://github.com/OCA/server-backend/tree/15.0/base_user_role :target: https://github.com/OCA/server-backend/tree/16.0/base_user_role
:alt: OCA/server-backend :alt: OCA/server-backend
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/server-backend-15-0/server-backend-15-0-base_user_role :target: https://translation.odoo-community.org/projects/server-backend-16-0/server-backend-16-0-base_user_role
:alt: Translate me on Weblate :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/253/15.0 :target: https://runbot.odoo-community.org/runbot/253/16.0
:alt: Try me on Runbot :alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5| |badge1| |badge2| |badge3| |badge4| |badge5|
This module was written to extend the standard functionality regarding users This module was written to extend the standard functionality regarding users
and groups management. and groups management.
@@ -62,19 +62,19 @@ You can also define default roles for a new user by editing the user called
Roles: Roles:
.. figure:: https://raw.githubusercontent.com/OCA/server-backend/15.0/base_user_role/static/description/roles.png .. figure:: https://raw.githubusercontent.com/OCA/server-backend/16.0/base_user_role/static/description/roles.png
:width: 80 % :width: 80 %
:align: center :align: center
Add groups: Add groups:
.. figure:: https://raw.githubusercontent.com/OCA/server-backend/15.0/base_user_role/static/description/role_groups.png .. figure:: https://raw.githubusercontent.com/OCA/server-backend/16.0/base_user_role/static/description/role_groups.png
:width: 80 % :width: 80 %
:align: center :align: center
Add users (with dates or not): Add users (with dates or not):
.. figure:: https://raw.githubusercontent.com/OCA/server-backend/15.0/base_user_role/static/description/role_users.png .. figure:: https://raw.githubusercontent.com/OCA/server-backend/16.0/base_user_role/static/description/role_users.png
:width: 80 % :width: 80 %
:align: center :align: center
@@ -152,8 +152,8 @@ promote its widespread use.
Current `maintainers <https://odoo-community.org/page/maintainer-role>`__: Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:
|maintainer-sebalix| |maintainer-jcdrubay| |maintainer-novawish| |maintainer-sebalix| |maintainer-jcdrubay| |maintainer-novawish|
This module is part of the `OCA/server-backend <https://github.com/OCA/server-backend/tree/15.0/base_user_role>`_ project on GitHub. This module is part of the `OCA/server-backend <https://github.com/OCA/server-backend/tree/16.0/base_user_role>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View File

@@ -4,7 +4,7 @@
{ {
"name": "User roles", "name": "User roles",
"version": "15.0.0.2.1", "version": "16.0.1.0.0",
"category": "Tools", "category": "Tools",
"author": "ABF OSIELL, Odoo Community Association (OCA)", "author": "ABF OSIELL, Odoo Community Association (OCA)",
"license": "LGPL-3", "license": "LGPL-3",

View File

@@ -4,7 +4,7 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Odoo Server 15.0\n" "Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"

View File

@@ -7,18 +7,18 @@ You can also define default roles for a new user by editing the user called
Roles: Roles:
.. figure:: /OCA/server-backend/15.0/base_user_role/static/description/roles.png .. figure:: /OCA/server-backend/16.0/base_user_role/static/description/roles.png
:width: 80 % :width: 80 %
:align: center :align: center
Add groups: Add groups:
.. figure:: /OCA/server-backend/15.0/base_user_role/static/description/role_groups.png .. figure:: /OCA/server-backend/16.0/base_user_role/static/description/role_groups.png
:width: 80 % :width: 80 %
:align: center :align: center
Add users (with dates or not): Add users (with dates or not):
.. figure:: /OCA/server-backend/15.0/base_user_role/static/description/role_users.png .. figure:: /OCA/server-backend/16.0/base_user_role/static/description/role_users.png
:width: 80 % :width: 80 %
:align: center :align: center

View File

@@ -367,7 +367,7 @@ ul.auto-toc {
!! This file is generated by oca-gen-addon-readme !! !! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !! !! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external" 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" 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" href="https://github.com/OCA/server-backend/tree/15.0/base_user_role"><img alt="OCA/server-backend" src="https://img.shields.io/badge/github-OCA%2Fserver--backend-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/server-backend-15-0/server-backend-15-0-base_user_role"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/253/15.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p><a class="reference external" 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" 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" href="https://github.com/OCA/server-backend/tree/16.0/base_user_role"><img alt="OCA/server-backend" src="https://img.shields.io/badge/github-OCA%2Fserver--backend-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/server-backend-16-0/server-backend-15-0-base_user_role"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/253/16.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p>This module was written to extend the standard functionality regarding users <p>This module was written to extend the standard functionality regarding users
and groups management. and groups management.
It helps creating well-defined user roles and associating them to users.</p> It helps creating well-defined user roles and associating them to users.</p>
@@ -415,15 +415,15 @@ and then associate users to it.</p>
“Default User”.</p> “Default User”.</p>
<p>Roles:</p> <p>Roles:</p>
<div class="figure align-center"> <div class="figure align-center">
<img alt="https://raw.githubusercontent.com/OCA/server-backend/15.0/base_user_role/static/description/roles.png" src="https://raw.githubusercontent.com/OCA/server-backend/15.0/base_user_role/static/description/roles.png" style="width: 80%;" /> <img alt="https://raw.githubusercontent.com/OCA/server-backend/16.0/base_user_role/static/description/roles.png" src="https://raw.githubusercontent.com/OCA/server-backend/16.0/base_user_role/static/description/roles.png" style="width: 80%;" />
</div> </div>
<p>Add groups:</p> <p>Add groups:</p>
<div class="figure align-center"> <div class="figure align-center">
<img alt="https://raw.githubusercontent.com/OCA/server-backend/15.0/base_user_role/static/description/role_groups.png" src="https://raw.githubusercontent.com/OCA/server-backend/15.0/base_user_role/static/description/role_groups.png" style="width: 80%;" /> <img alt="https://raw.githubusercontent.com/OCA/server-backend/16.0/base_user_role/static/description/role_groups.png" src="https://raw.githubusercontent.com/OCA/server-backend/16.0/base_user_role/static/description/role_groups.png" style="width: 80%;" />
</div> </div>
<p>Add users (with dates or not):</p> <p>Add users (with dates or not):</p>
<div class="figure align-center"> <div class="figure align-center">
<img alt="https://raw.githubusercontent.com/OCA/server-backend/15.0/base_user_role/static/description/role_users.png" src="https://raw.githubusercontent.com/OCA/server-backend/15.0/base_user_role/static/description/role_users.png" style="width: 80%;" /> <img alt="https://raw.githubusercontent.com/OCA/server-backend/16.0/base_user_role/static/description/role_users.png" src="https://raw.githubusercontent.com/OCA/server-backend/16.0/base_user_role/static/description/role_users.png" style="width: 80%;" />
</div> </div>
</div> </div>
<div class="section" id="usage"> <div class="section" id="usage">
@@ -482,7 +482,7 @@ mission is to support the collaborative development of Odoo features and
promote its widespread use.</p> promote its widespread use.</p>
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainers</a>:</p> <p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainers</a>:</p>
<p><a class="reference external" href="https://github.com/sebalix"><img alt="sebalix" src="https://github.com/sebalix.png?size=40px" /></a> <a class="reference external" href="https://github.com/jcdrubay"><img alt="jcdrubay" src="https://github.com/jcdrubay.png?size=40px" /></a> <a class="reference external" href="https://github.com/novawish"><img alt="novawish" src="https://github.com/novawish.png?size=40px" /></a></p> <p><a class="reference external" href="https://github.com/sebalix"><img alt="sebalix" src="https://github.com/sebalix.png?size=40px" /></a> <a class="reference external" href="https://github.com/jcdrubay"><img alt="jcdrubay" src="https://github.com/jcdrubay.png?size=40px" /></a> <a class="reference external" href="https://github.com/novawish"><img alt="novawish" src="https://github.com/novawish.png?size=40px" /></a></p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/server-backend/tree/15.0/base_user_role">OCA/server-backend</a> project on GitHub.</p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/server-backend/tree/16.0/base_user_role">OCA/server-backend</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> <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>
</div> </div>