mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
[IMP] base_user_role: black, isort, prettier
This commit is contained in:
committed by
Bert Van Groenendael
parent
60caa5e166
commit
7f8a4dd17c
@@ -14,16 +14,16 @@ User roles
|
||||
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
|
||||
:alt: License: LGPL-3
|
||||
.. |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
|
||||
.. |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
|
||||
.. |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
|
||||
|
||||
|badge1| |badge2| |badge3| |badge4| |badge5|
|
||||
|badge1| |badge2| |badge3| |badge4| |badge5|
|
||||
|
||||
This module was written to extend the standard functionality regarding users
|
||||
and groups management.
|
||||
@@ -62,19 +62,19 @@ You can also define default roles for a new user by editing the user called
|
||||
|
||||
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 %
|
||||
:align: center
|
||||
|
||||
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 %
|
||||
:align: center
|
||||
|
||||
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 %
|
||||
:align: center
|
||||
|
||||
@@ -152,8 +152,8 @@ promote its widespread use.
|
||||
|
||||
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.
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
{
|
||||
"name": "User roles",
|
||||
"version": "15.0.0.2.1",
|
||||
"version": "16.0.1.0.0",
|
||||
"category": "Tools",
|
||||
"author": "ABF OSIELL, Odoo Community Association (OCA)",
|
||||
"license": "LGPL-3",
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 15.0\n"
|
||||
"Project-Id-Version: Odoo Server 16.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
|
||||
@@ -7,18 +7,18 @@ You can also define default roles for a new user by editing the user called
|
||||
|
||||
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 %
|
||||
:align: center
|
||||
|
||||
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 %
|
||||
:align: center
|
||||
|
||||
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 %
|
||||
:align: center
|
||||
|
||||
@@ -367,7 +367,7 @@ ul.auto-toc {
|
||||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! 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
|
||||
and groups management.
|
||||
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>
|
||||
<p>Roles:</p>
|
||||
<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>
|
||||
<p>Add groups:</p>
|
||||
<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>
|
||||
<p>Add users (with dates or not):</p>
|
||||
<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 class="section" id="usage">
|
||||
@@ -482,7 +482,7 @@ mission is to support the collaborative development of Odoo features and
|
||||
promote its widespread use.</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>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>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user