Skip to content

Commit

Permalink
[3829][UPD] dotfiles (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
liuhehe1995 authored Nov 20, 2023
1 parent 3bd34f4 commit 1c2cfa3
Show file tree
Hide file tree
Showing 51 changed files with 190 additions and 151 deletions.
14 changes: 7 additions & 7 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
# Do NOT update manually; changes here will be overwritten by Copier
_commit: v1.17.1
_commit: v1.19.2
_src_path: https://github.com/OCA/oca-addons-repo-template.git
ci: GitHub
dependency_installation_mode: PIP
convert_readme_fragments_to_markdown: true
generate_requirements_txt: true
github_check_license: true
github_ci_extra_env: {}
github_enable_codecov: false
github_enable_makepot: false
github_enable_stale_action: true
github_enable_stale_action: false
github_enforce_dev_status_compatibility: false
include_wkhtmltopdf: false
odoo_test_flavor: OCB
odoo_version: 15.0
org_name: Quartile Limited
org_slug: qrtl
rebel_module_groups: []
repo_description: Custom Modules
repo_name: SST Custom
repo_description: ''
repo_name: SST CUSTOM
repo_slug: sst-custom
repo_website: https://www.quartile.co
travis_apt_packages: []
travis_apt_sources: []
use_pyproject_toml: false
use_ruff: false

2 changes: 2 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
python-version: "3.11"
- name: Get python version
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
- uses: actions/cache@v1
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ __pycache__/
*.py[cod]
/.venv
/.pytest_cache
/.ruff_cache

# C extensions
*.so
Expand Down
8 changes: 6 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ exclude: |
^docs/_templates/.*\.html$|
# Don't bother non-technical authors with formatting issues in docs
readme/.*\.(rst|md)$|
# Ignore build and dist directories in addons
/build/|/dist/|
# You don't usually want a bot to modify your legal texts
(LICENSE.*|COPYING.*)
default_language_version:
Expand All @@ -35,7 +37,7 @@ repos:
language: fail
files: '[a-zA-Z0-9_]*/i18n/en\.po$'
- repo: https://github.com/oca/maintainer-tools
rev: 969238e47c07d0c40573acff81d170f63245d738
rev: f71041f22b8cd68cf7c77b73a14ca8d8cd190a60
hooks:
# update the NOT INSTALLABLE ADDONS section above
- id: oca-update-pre-commit-excluded-addons
Expand All @@ -48,6 +50,8 @@ repos:
- --org-name=qrtl
- --repo-name=sst-custom
- --if-source-changed
- --keep-source-digest
- --convert-fragments-to-markdown
- repo: https://github.com/OCA/odoo-pre-commit-hooks
rev: v0.0.25
hooks:
Expand Down Expand Up @@ -139,7 +143,7 @@ repos:
name: flake8
additional_dependencies: ["flake8-bugbear==21.9.2"]
- repo: https://github.com/OCA/pylint-odoo
rev: 7.0.2
rev: 7.0.5
hooks:
- id: pylint_odoo
name: pylint with optional checks
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

<!-- /!\ do not modify above this line -->

# SST Custom
# SST CUSTOM


Custom Modules

<!-- /!\ do not modify below this line -->

Expand Down
8 changes: 5 additions & 3 deletions account_partial_reconcile_restrict/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ Account Partial Reconcile Restrict

|badge1| |badge2| |badge3|

This module adds permissions to the unlink method of account.partial.reconcile model. Only users who belong to the "Accounting Manager" group can execute the unreconcile operation.
This module adds permissions to the unlink method of
account.partial.reconcile model. Only users who belong to the
"Accounting Manager" group can execute the unreconcile operation.

**Table of contents**

Expand All @@ -43,12 +45,12 @@ Credits
=======

Authors
~~~~~~~
-------

* Quartile Limited

Maintainers
~~~~~~~~~~~
-----------

This module is part of the `qrtl/sst-custom <https://github.com/qrtl/sst-custom/tree/15.0/account_partial_reconcile_restrict>`_ project on GitHub.

Expand Down
3 changes: 3 additions & 0 deletions account_partial_reconcile_restrict/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This module adds permissions to the unlink method of
account.partial.reconcile model. Only users who belong to the
"Accounting Manager" group can execute the unreconcile operation.
1 change: 0 additions & 1 deletion account_partial_reconcile_restrict/readme/DESCRIPTION.rst

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,9 @@ <h1 class="title">Account Partial Reconcile Restrict</h1>
!! source digest: sha256:7fdd9e13b7ee3e09da32f508d449822d39945417bf81892b872f8267b572e975
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/qrtl/sst-custom/tree/15.0/account_partial_reconcile_restrict"><img alt="qrtl/sst-custom" src="https://img.shields.io/badge/github-qrtl%2Fsst--custom-lightgray.png?logo=github" /></a></p>
<p>This module adds permissions to the unlink method of account.partial.reconcile model. Only users who belong to the “Accounting Manager” group can execute the unreconcile operation.</p>
<p>This module adds permissions to the unlink method of
account.partial.reconcile model. Only users who belong to the
“Accounting Manager” group can execute the unreconcile operation.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand Down
12 changes: 6 additions & 6 deletions base_data_import/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ Base Data Import

This module does the following:

- Adds a generic wizard to import a CSV file to create/update records.
- Adds a generic logging models and views for import results.
- Adds a generic wizard to import a CSV file to create/update records.
- Adds a generic logging models and views for import results.

This module is not useful by itself, but is expected to be used as a dependency
of specific data import functions.
This module is not useful by itself, but is expected to be used as a
dependency of specific data import functions.

**Table of contents**

Expand All @@ -49,12 +49,12 @@ Credits
=======

Authors
~~~~~~~
-------

* Quartile Limited

Maintainers
~~~~~~~~~~~
-----------

This module is part of the `qrtl/sst-custom <https://github.com/qrtl/sst-custom/tree/15.0/base_data_import>`_ project on GitHub.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ This module does the following:
- Adds a generic wizard to import a CSV file to create/update records.
- Adds a generic logging models and views for import results.

This module is not useful by itself, but is expected to be used as a dependency
of specific data import functions.
This module is not useful by itself, but is expected to be used as a
dependency of specific data import functions.
4 changes: 2 additions & 2 deletions base_data_import/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,8 @@ <h1 class="title">Base Data Import</h1>
<li>Adds a generic wizard to import a CSV file to create/update records.</li>
<li>Adds a generic logging models and views for import results.</li>
</ul>
<p>This module is not useful by itself, but is expected to be used as a dependency
of specific data import functions.</p>
<p>This module is not useful by itself, but is expected to be used as a
dependency of specific data import functions.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand Down
15 changes: 8 additions & 7 deletions base_technical_features_adj/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@ Technical features group adjustments
|badge1| |badge2| |badge3|

This module limits the visibility of the 'technical_features' attribute
in the preference view, making it accessible exclusively to internal users.
in the preference view, making it accessible exclusively to internal
users.

Background
~~~~~~~~~~
----------

To enhance security, non-internal users' backend access, which includes their ability
to view 'technical_features' and related menu items, should be restricted to uphold the
intended user access levels.
To enhance security, non-internal users' backend access, which includes
their ability to view 'technical_features' and related menu items,
should be restricted to uphold the intended user access levels.

**Table of contents**

Expand All @@ -51,12 +52,12 @@ Credits
=======

Authors
~~~~~~~
-------

* Quartile Limited

Maintainers
~~~~~~~~~~~
-----------

This module is part of the `qrtl/sst-custom <https://github.com/qrtl/sst-custom/tree/15.0/base_technical_features_adj>`_ project on GitHub.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
This module limits the visibility of the 'technical_features' attribute
in the preference view, making it accessible exclusively to internal users.
in the preference view, making it accessible exclusively to internal
users.

Background
~~~~~~~~~~
## Background

To enhance security, non-internal users' backend access, which includes their ability
to view 'technical_features' and related menu items, should be restricted to uphold the
intended user access levels.
To enhance security, non-internal users' backend access, which includes
their ability to view 'technical_features' and related menu items,
should be restricted to uphold the intended user access levels.
9 changes: 5 additions & 4 deletions base_technical_features_adj/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -371,12 +371,13 @@ <h1 class="title">Technical features group adjustments</h1>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/qrtl/sst-custom/tree/15.0/base_technical_features_adj"><img alt="qrtl/sst-custom" src="https://img.shields.io/badge/github-qrtl%2Fsst--custom-lightgray.png?logo=github" /></a></p>
<p>This module limits the visibility of the ‘technical_features’ attribute
in the preference view, making it accessible exclusively to internal users.</p>
in the preference view, making it accessible exclusively to internal
users.</p>
<div class="section" id="background">
<h1>Background</h1>
<p>To enhance security, non-internal users’ backend access, which includes their ability
to view ‘technical_features’ and related menu items, should be restricted to uphold the
intended user access levels.</p>
<p>To enhance security, non-internal users’ backend access, which includes
their ability to view ‘technical_features’ and related menu items,
should be restricted to uphold the intended user access levels.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand Down
8 changes: 4 additions & 4 deletions hr_security_adj/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ HR Security Adjust

|badge1| |badge2| |badge3|

This module adds new user group for hr and give read and write access for hr.employee to the user that
has this group.
This module adds new user group for hr and give read and write access
for hr.employee to the user that has this group.

**Table of contents**

Expand All @@ -44,12 +44,12 @@ Credits
=======

Authors
~~~~~~~
-------

* Quartile Limited

Maintainers
~~~~~~~~~~~
-----------

This module is part of the `qrtl/sst-custom <https://github.com/qrtl/sst-custom/tree/15.0/hr_security_adj>`_ project on GitHub.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
This module adds new user group for hr and give read and write access for hr.employee to the user that
has this group.
This module adds new user group for hr and give read and write access
for hr.employee to the user that has this group.
4 changes: 2 additions & 2 deletions hr_security_adj/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,8 @@ <h1 class="title">HR Security Adjust</h1>
!! source digest: sha256:4217c3bd134d74841e3d8e5a4e7fa8410b44fd5aa59625dda522e6e077f8a2fe
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/qrtl/sst-custom/tree/15.0/hr_security_adj"><img alt="qrtl/sst-custom" src="https://img.shields.io/badge/github-qrtl%2Fsst--custom-lightgray.png?logo=github" /></a></p>
<p>This module adds new user group for hr and give read and write access for hr.employee to the user that
has this group.</p>
<p>This module adds new user group for hr and give read and write access
for hr.employee to the user that has this group.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand Down
10 changes: 6 additions & 4 deletions product_gross_profit_calculation/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ Product Gross Profit Calculation

|badge1| |badge2| |badge3|

This module adds some new fields in product template and calculates gross profit of product.
This module adds some new fields in product template and calculates
gross profit of product.

This module currently does not support the case where there are multiple variants per product template.
This module currently does not support the case where there are multiple
variants per product template.

**Table of contents**

Expand All @@ -45,12 +47,12 @@ Credits
=======

Authors
~~~~~~~
-------

* Quartile Limited

Maintainers
~~~~~~~~~~~
-----------

This module is part of the `qrtl/sst-custom <https://github.com/qrtl/sst-custom/tree/15.0/product_gross_profit_calculation>`_ project on GitHub.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
This module adds some new fields in product template and calculates gross profit of product.
This module adds some new fields in product template and calculates
gross profit of product.

This module currently does not support the case where there are multiple variants per product template.
This module currently does not support the case where there are multiple
variants per product template.
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,10 @@ <h1 class="title">Product Gross Profit Calculation</h1>
!! source digest: sha256:98286b7f552604a404b35ae22981d5ba38e43c3eaec04ebc528dd4dea29f6db5
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/qrtl/sst-custom/tree/15.0/product_gross_profit_calculation"><img alt="qrtl/sst-custom" src="https://img.shields.io/badge/github-qrtl%2Fsst--custom-lightgray.png?logo=github" /></a></p>
<p>This module adds some new fields in product template and calculates gross profit of product.</p>
<p>This module currently does not support the case where there are multiple variants per product template.</p>
<p>This module adds some new fields in product template and calculates
gross profit of product.</p>
<p>This module currently does not support the case where there are multiple
variants per product template.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand Down
7 changes: 4 additions & 3 deletions product_image_security_adj/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ Product Image Security Adj

|badge1| |badge2| |badge3|

This module gives all access to product image of website sale for purchase user.
This module gives all access to product image of website sale for
purchase user.

**Table of contents**

Expand All @@ -43,12 +44,12 @@ Credits
=======

Authors
~~~~~~~
-------

* Quartile Limited

Maintainers
~~~~~~~~~~~
-----------

This module is part of the `qrtl/sst-custom <https://github.com/qrtl/sst-custom/tree/15.0/product_image_security_adj>`_ project on GitHub.

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
This module gives all access to product image of website sale for purchase user.
This module gives all access to product image of website sale for
purchase user.
3 changes: 2 additions & 1 deletion product_image_security_adj/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,8 @@ <h1 class="title">Product Image Security Adj</h1>
!! source digest: sha256:8ce943616a6d8d4458f6bf0b66881917772b0b3e46e4820cb4b85adff20600ae
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/qrtl/sst-custom/tree/15.0/product_image_security_adj"><img alt="qrtl/sst-custom" src="https://img.shields.io/badge/github-qrtl%2Fsst--custom-lightgray.png?logo=github" /></a></p>
<p>This module gives all access to product image of website sale for purchase user.</p>
<p>This module gives all access to product image of website sale for
purchase user.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand Down
Loading

0 comments on commit 1c2cfa3

Please sign in to comment.