[IMP] contract_sale: pre-commit auto fixes

This commit is contained in:
jaydeep32
2024-04-15 09:03:58 -04:00
parent 54353c07a1
commit 8c06467525
8 changed files with 48 additions and 47 deletions

View File

@@ -17,22 +17,22 @@ Contract from Sale
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fcontract-lightgray.png?logo=github
:target: https://github.com/OCA/contract/tree/16.0/contract_sale
:target: https://github.com/OCA/contract/tree/17.0/contract_sale
:alt: OCA/contract
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract_sale
:target: https://translation.odoo-community.org/projects/contract-17-0/contract-17-0-contract_sale
: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/contract&target_branch=16.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/contract&target_branch=17.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
This module allows access to contracts for sale employees without account
permissions.
This module allows access to contracts for sale employees without
account permissions.
Employees in sale security group "User: Only Own Documents", can only access
contracts created by themselves.
Employees in sale security group "User: Only Own Documents", can only
access contracts created by themselves.
**Table of contents**
@@ -42,9 +42,9 @@ contracts created by themselves.
Usage
=====
#. Log with an user having sale but not account permissions.
#. Go to Sales > Sales > Contracts.
#. Create a new record or edit another one.
1. Log with an user having sale but not account permissions.
2. Go to Sales > Sales > Contracts.
3. Create a new record or edit another one.
Bug Tracker
===========
@@ -52,7 +52,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/contract/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/contract/issues/new?body=module:%20contract_sale%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/contract/issues/new?body=module:%20contract_sale%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.
@@ -60,26 +60,26 @@ Credits
=======
Authors
~~~~~~~
-------
* Tecnativa
Contributors
~~~~~~~~~~~~
------------
* `Tecnativa <https://www.tecnativa.com>`_:
- `Tecnativa <https://www.tecnativa.com>`__:
* Luis M. Ontalba
* Pedro M. Baeza
* Víctor Martínez
- Luis M. Ontalba
- Pedro M. Baeza
- Víctor Martínez
* Levent Karakaş
* Bejaoui Souheil <souheil.bejaoui@acsone.eu>
* Dhara Solanki <dhara.solanki@initos.com>
* Joan Mateu <joan.mateu@forgeflow.com>
- Levent Karakaş
- Bejaoui Souheil <souheil.bejaoui@acsone.eu>
- Dhara Solanki <dhara.solanki@initos.com>
- Joan Mateu <joan.mateu@forgeflow.com>
Maintainers
~~~~~~~~~~~
-----------
This module is maintained by the OCA.
@@ -91,6 +91,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/contract <https://github.com/OCA/contract/tree/16.0/contract_sale>`_ project on GitHub.
This module is part of the `OCA/contract <https://github.com/OCA/contract/tree/17.0/contract_sale>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View File

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

View File

@@ -0,0 +1,8 @@
- [Tecnativa](https://www.tecnativa.com):
- Luis M. Ontalba
- Pedro M. Baeza
- Víctor Martínez
- Levent Karakaş
- Bejaoui Souheil \<<souheil.bejaoui@acsone.eu>\>
- Dhara Solanki \<<dhara.solanki@initos.com>\>
- Joan Mateu \<<joan.mateu@forgeflow.com>\>

View File

@@ -1,10 +0,0 @@
* `Tecnativa <https://www.tecnativa.com>`_:
* Luis M. Ontalba
* Pedro M. Baeza
* Víctor Martínez
* Levent Karakaş
* Bejaoui Souheil <souheil.bejaoui@acsone.eu>
* Dhara Solanki <dhara.solanki@initos.com>
* Joan Mateu <joan.mateu@forgeflow.com>

View File

@@ -1,5 +1,5 @@
This module allows access to contracts for sale employees without account
permissions.
This module allows access to contracts for sale employees without
account permissions.
Employees in sale security group "User: Only Own Documents", can only access
contracts created by themselves.
Employees in sale security group "User: Only Own Documents", can only
access contracts created by themselves.

View File

@@ -0,0 +1,3 @@
1. Log with an user having sale but not account permissions.
2. Go to Sales \> Sales \> Contracts.
3. Create a new record or edit another one.

View File

@@ -1,3 +0,0 @@
#. Log with an user having sale but not account permissions.
#. Go to Sales > Sales > Contracts.
#. Create a new record or edit another one.

View File

@@ -368,11 +368,11 @@ ul.auto-toc {
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:00fb3cdc565442ffcd3351e97d0516ce6f4ceb55402981b183f7e717a1e23173
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.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/contract/tree/16.0/contract_sale"><img alt="OCA/contract" src="https://img.shields.io/badge/github-OCA%2Fcontract-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract_sale"><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/contract&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>This module allows access to contracts for sale employees without account
permissions.</p>
<p>Employees in sale security group “User: Only Own Documents”, can only access
contracts created by themselves.</p>
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.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/contract/tree/17.0/contract_sale"><img alt="OCA/contract" src="https://img.shields.io/badge/github-OCA%2Fcontract-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/contract-17-0/contract-17-0-contract_sale"><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/contract&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>This module allows access to contracts for sale employees without
account permissions.</p>
<p>Employees in sale security group “User: Only Own Documents”, can only
access contracts created by themselves.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
@@ -399,7 +399,7 @@ contracts created by themselves.</p>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/contract/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/contract/issues/new?body=module:%20contract_sale%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/contract/issues/new?body=module:%20contract_sale%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">
@@ -432,7 +432,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
<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/contract/tree/16.0/contract_sale">OCA/contract</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/contract/tree/17.0/contract_sale">OCA/contract</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>