[IMP] account_journal_restrict_mode: pre-commit auto fixes

This commit is contained in:
LauraCForgeFlow
2024-05-23 11:33:03 +02:00
parent a25f6562f7
commit 23417828e6
8 changed files with 43 additions and 38 deletions

View File

@@ -17,22 +17,22 @@ Account Journal Restrict Mode
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--financial--tools-lightgray.png?logo=github
:target: https://github.com/OCA/account-financial-tools/tree/16.0/account_journal_restrict_mode
:target: https://github.com/OCA/account-financial-tools/tree/17.0/account_journal_restrict_mode
:alt: OCA/account-financial-tools
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_journal_restrict_mode
:target: https://translation.odoo-community.org/projects/account-financial-tools-17-0/account-financial-tools-17-0-account_journal_restrict_mode
: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/account-financial-tools&target_branch=16.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/account-financial-tools&target_branch=17.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
This module enables by default the setting *Lock Posted Entries with Hash* in
all Journals and prevents the setting to be modified.
This module enables by default the setting *Lock Posted Entries with
Hash* in all Journals and prevents the setting to be modified.
The goal is to assure that all journal entries are locked when posted to prevent
them to be modified.
The goal is to assure that all journal entries are locked when posted to
prevent them to be modified.
**Table of contents**
@@ -42,10 +42,11 @@ them to be modified.
Known issues / Roadmap
======================
* Odoo hides the setting *Lock Posted Entries with Hash* on Bank and Cash
Journals, but enabling it does not cause issues in the reconciliation for now.
If the Odoo logic changes at any point, the module may need to be adapted to
only force the setting on other types of journals.
- Odoo hides the setting *Lock Posted Entries with Hash* on Bank and
Cash Journals, but enabling it does not cause issues in the
reconciliation for now. If the Odoo logic changes at any point, the
module may need to be adapted to only force the setting on other
types of journals.
Bug Tracker
===========
@@ -53,7 +54,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-financial-tools/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/account-financial-tools/issues/new?body=module:%20account_journal_restrict_mode%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/account-financial-tools/issues/new?body=module:%20account_journal_restrict_mode%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.
@@ -61,17 +62,17 @@ Credits
=======
Authors
~~~~~~~
-------
* ForgeFlow S.L.
Contributors
~~~~~~~~~~~~
------------
* Jordi Masvidal <jordi.masvidal@forgeflow.com>
- Jordi Masvidal <jordi.masvidal@forgeflow.com>
Maintainers
~~~~~~~~~~~
-----------
This module is maintained by the OCA.
@@ -83,6 +84,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/account-financial-tools <https://github.com/OCA/account-financial-tools/tree/16.0/account_journal_restrict_mode>`_ project on GitHub.
This module is part of the `OCA/account-financial-tools <https://github.com/OCA/account-financial-tools/tree/17.0/account_journal_restrict_mode>`_ 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 @@
- Jordi Masvidal \<<jordi.masvidal@forgeflow.com>\>

View File

@@ -1 +0,0 @@
* Jordi Masvidal <jordi.masvidal@forgeflow.com>

View File

@@ -1,5 +1,5 @@
This module enables by default the setting *Lock Posted Entries with Hash* in
all Journals and prevents the setting to be modified.
This module enables by default the setting *Lock Posted Entries with
Hash* in all Journals and prevents the setting to be modified.
The goal is to assure that all journal entries are locked when posted to prevent
them to be modified.
The goal is to assure that all journal entries are locked when posted to
prevent them to be modified.

View File

@@ -0,0 +1,5 @@
- Odoo hides the setting *Lock Posted Entries with Hash* on Bank and
Cash Journals, but enabling it does not cause issues in the
reconciliation for now. If the Odoo logic changes at any point, the
module may need to be adapted to only force the setting on other types
of journals.

View File

@@ -1,4 +0,0 @@
* Odoo hides the setting *Lock Posted Entries with Hash* on Bank and Cash
Journals, but enabling it does not cause issues in the reconciliation for now.
If the Odoo logic changes at any point, the module may need to be adapted to
only force the setting on other types of journals.

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>
@@ -369,11 +368,11 @@ ul.auto-toc {
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:b7345b32df60a41001389fcd7bf25c52e026a6fed2d88655f95f6ee12ca3d960
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/account-financial-tools/tree/16.0/account_journal_restrict_mode"><img alt="OCA/account-financial-tools" src="https://img.shields.io/badge/github-OCA%2Faccount--financial--tools-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_journal_restrict_mode"><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/account-financial-tools&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 enables by default the setting <em>Lock Posted Entries with Hash</em> in
all Journals and prevents the setting to be modified.</p>
<p>The goal is to assure that all journal entries are locked when posted to prevent
them to be modified.</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/account-financial-tools/tree/17.0/account_journal_restrict_mode"><img alt="OCA/account-financial-tools" src="https://img.shields.io/badge/github-OCA%2Faccount--financial--tools-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-financial-tools-17-0/account-financial-tools-17-0-account_journal_restrict_mode"><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/account-financial-tools&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 enables by default the setting <em>Lock Posted Entries with
Hash</em> in all Journals and prevents the setting to be modified.</p>
<p>The goal is to assure that all journal entries are locked when posted to
prevent them to be modified.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
@@ -390,10 +389,11 @@ them to be modified.</p>
<div class="section" id="known-issues-roadmap">
<h1><a class="toc-backref" href="#toc-entry-1">Known issues / Roadmap</a></h1>
<ul class="simple">
<li>Odoo hides the setting <em>Lock Posted Entries with Hash</em> on Bank and Cash
Journals, but enabling it does not cause issues in the reconciliation for now.
If the Odoo logic changes at any point, the module may need to be adapted to
only force the setting on other types of journals.</li>
<li>Odoo hides the setting <em>Lock Posted Entries with Hash</em> on Bank and
Cash Journals, but enabling it does not cause issues in the
reconciliation for now. If the Odoo logic changes at any point, the
module may need to be adapted to only force the setting on other
types of journals.</li>
</ul>
</div>
<div class="section" id="bug-tracker">
@@ -401,7 +401,7 @@ only force the setting on other types of journals.</li>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/account-financial-tools/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/account-financial-tools/issues/new?body=module:%20account_journal_restrict_mode%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/account-financial-tools/issues/new?body=module:%20account_journal_restrict_mode%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">
@@ -425,7 +425,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/account-financial-tools/tree/16.0/account_journal_restrict_mode">OCA/account-financial-tools</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-financial-tools/tree/17.0/account_journal_restrict_mode">OCA/account-financial-tools</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>