[IMP] web_disable_export_group: pre-commit auto fixes

pull/2925/head
prabakaran 2024-08-22 14:03:12 +05:30
parent fced56d79d
commit 72ec86fecb
9 changed files with 70 additions and 65 deletions

View File

@ -17,22 +17,22 @@ Web Disable Export Group
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github
:target: https://github.com/OCA/web/tree/16.0/web_disable_export_group
:target: https://github.com/OCA/web/tree/17.0/web_disable_export_group
:alt: OCA/web
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_disable_export_group
:target: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_disable_export_group
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=16.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=17.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
The standard grants/prevents access to any UI export via *Access to export feature*
group.
The standard grants/prevents access to any UI export via *Access to
export feature* group.
This module adds a new group for the 'Direct Export (xlsx)' feature, leaving the
standard one for only the 'Export All' feature.
This module adds a new group for the 'Direct Export (xlsx)' feature,
leaving the standard one for only the 'Export All' feature.
Admin users can always use the export option.
@ -44,15 +44,16 @@ Admin users can always use the export option.
Configuration
=============
Enable the group *Direct Export* to the users who are allowed to make use of the option
'Export xlsx' from the list view.
Enable the group *Direct Export* to the users who are allowed to make
use of the option 'Export xlsx' from the list view.
Usage
=====
- Users in the *Access to export feature* group or admins can export in any way.
- Users in the *Direct Export (xlsx)* group can only use the default export feature
from the list view.
- Users in the *Access to export feature* group or admins can export in
any way.
- Users in the *Direct Export (xlsx)* group can only use the default
export feature from the list view.
Bug Tracker
===========
@ -60,7 +61,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/web/issues/new?body=module:%20web_disable_export_group%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/web/issues/new?body=module:%20web_disable_export_group%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Do not contact contributors directly about support or help with technical issues.
@ -68,29 +69,29 @@ Credits
=======
Authors
~~~~~~~
-------
* Onestein
* Tecnativa
Contributors
~~~~~~~~~~~~
------------
* `Onestein <https://www.onestein.nl>`_:
- `Onestein <https://www.onestein.nl>`__:
* Dennis Sluijk <d.sluijk@onestein.nl>
* Andrea Stirpe <a.stirpe@onestein.nl>
- Dennis Sluijk <d.sluijk@onestein.nl>
- Andrea Stirpe <a.stirpe@onestein.nl>
* `Tecnativa <https://www.tecnativa.com>`_:
- `Tecnativa <https://www.tecnativa.com>`__:
* David Vidal
* João Marques
* Alexandre Díaz
* Víctor Martínez
* David Vidal
- David Vidal
- João Marques
- Alexandre Díaz
- Víctor Martínez
- David Vidal
Maintainers
~~~~~~~~~~~
-----------
This module is maintained by the OCA.
@ -102,6 +103,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
This module is part of the `OCA/web <https://github.com/OCA/web/tree/16.0/web_disable_export_group>`_ project on GitHub.
This module is part of the `OCA/web <https://github.com/OCA/web/tree/17.0/web_disable_export_group>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View File

@ -4,7 +4,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Web Disable Export Group",
"version": "16.0.1.0.0",
"version": "17.0.1.0.0",
"license": "AGPL-3",
"author": "Onestein, Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/web",

View File

@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"

View File

@ -1,2 +1,2 @@
Enable the group *Direct Export* to the users who are allowed to make use of the option
'Export xlsx' from the list view.
Enable the group *Direct Export* to the users who are allowed to make
use of the option 'Export xlsx' from the list view.

View File

@ -0,0 +1,9 @@
- [Onestein](https://www.onestein.nl):
- Dennis Sluijk \<<d.sluijk@onestein.nl>\>
- Andrea Stirpe \<<a.stirpe@onestein.nl>\>
- [Tecnativa](https://www.tecnativa.com):
- David Vidal
- João Marques
- Alexandre Díaz
- Víctor Martínez
- David Vidal

View File

@ -1,12 +0,0 @@
* `Onestein <https://www.onestein.nl>`_:
* Dennis Sluijk <d.sluijk@onestein.nl>
* Andrea Stirpe <a.stirpe@onestein.nl>
* `Tecnativa <https://www.tecnativa.com>`_:
* David Vidal
* João Marques
* Alexandre Díaz
* Víctor Martínez
* David Vidal

View File

@ -1,7 +1,7 @@
The standard grants/prevents access to any UI export via *Access to export feature*
group.
The standard grants/prevents access to any UI export via *Access to
export feature* group.
This module adds a new group for the 'Direct Export (xlsx)' feature, leaving the
standard one for only the 'Export All' feature.
This module adds a new group for the 'Direct Export (xlsx)' feature,
leaving the standard one for only the 'Export All' feature.
Admin users can always use the export option.

View File

@ -1,3 +1,4 @@
- Users in the *Access to export feature* group or admins can export in any way.
- Users in the *Direct Export (xlsx)* group can only use the default export feature
from the list view.
- Users in the *Access to export feature* group or admins can export in
any way.
- Users in the *Direct Export (xlsx)* group can only use the default
export feature from the list view.

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
@ -9,10 +8,11 @@
/*
:Author: David Goodger (goodger@python.org)
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
Despite the name, some widely supported CSS2 features are used.
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
@ -275,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code {
margin-left: 2em ;
margin-right: 2em }
pre.code .ln { color: grey; } /* line numbers */
pre.code .ln { color: gray; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@ -301,7 +301,7 @@ span.option {
span.pre {
white-space: pre }
span.problematic {
span.problematic, pre.problematic {
color: red }
span.section-subtitle {
@ -369,11 +369,11 @@ ul.auto-toc {
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:53eeef451e7dbe8a9904efe9a17051a08f19242c695fd057ea6cde108866f101
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/web/tree/16.0/web_disable_export_group"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_disable_export_group"><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/web&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>The standard grants/prevents access to any UI export via <em>Access to export feature</em>
group.</p>
<p>This module adds a new group for the Direct Export (xlsx) feature, leaving the
standard one for only the Export All feature.</p>
<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/web/tree/17.0/web_disable_export_group"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_disable_export_group"><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/web&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>The standard grants/prevents access to any UI export via <em>Access to
export feature</em> group.</p>
<p>This module adds a new group for the Direct Export (xlsx) feature,
leaving the standard one for only the Export All feature.</p>
<p>Admin users can always use the export option.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
@ -391,15 +391,16 @@ standard one for only the Export All feature.</p>
</div>
<div class="section" id="configuration">
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
<p>Enable the group <em>Direct Export</em> to the users who are allowed to make use of the option
Export xlsx from the list view.</p>
<p>Enable the group <em>Direct Export</em> to the users who are allowed to make
use of the option Export xlsx from the list view.</p>
</div>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
<ul class="simple">
<li>Users in the <em>Access to export feature</em> group or admins can export in any way.</li>
<li>Users in the <em>Direct Export (xlsx)</em> group can only use the default export feature
from the list view.</li>
<li>Users in the <em>Access to export feature</em> group or admins can export in
any way.</li>
<li>Users in the <em>Direct Export (xlsx)</em> group can only use the default
export feature from the list view.</li>
</ul>
</div>
<div class="section" id="bug-tracker">
@ -407,7 +408,7 @@ from the list view.</li>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/web/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/web/issues/new?body=module:%20web_disable_export_group%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/web/issues/new?body=module:%20web_disable_export_group%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
@ -440,11 +441,13 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<a class="reference external image-reference" href="https://odoo-community.org">
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
</a>
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/web/tree/16.0/web_disable_export_group">OCA/web</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/web/tree/17.0/web_disable_export_group">OCA/web</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>