Skip to content

Commit 7286584

Browse files
authored
Merge pull request OCA#1025 from brain-tec/15.0
[t133303] Update project branch with last fixes
2 parents 15284ab + 0ca8350 commit 7286584

File tree

402 files changed

+63706
-188
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

402 files changed

+63706
-188
lines changed

.copier-answers.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
# Do NOT update manually; changes here will be overwritten by Copier
2-
_commit: v1.5.2
2+
_commit: v1.11.1
33
_src_path: gh:oca/oca-addons-repo-template
44
ci: GitHub
55
dependency_installation_mode: PIP
66
generate_requirements_txt: true
7+
github_check_license: true
8+
github_enable_codecov: true
9+
github_enable_makepot: true
10+
github_enable_stale_action: true
11+
github_enforce_dev_status_compatibility: true
712
include_wkhtmltopdf: false
813
odoo_version: 15.0
914
org_name: Odoo Community Association (OCA)
@@ -15,3 +20,4 @@ repo_slug: server-tools
1520
repo_website: https://github.com/OCA/server-tools
1621
travis_apt_packages: []
1722
travis_apt_sources: []
23+

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ build/
1515
develop-eggs/
1616
dist/
1717
eggs/
18-
lib/
1918
lib64/
2019
parts/
2120
sdist/

.pre-commit-config.yaml

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ repos:
2828
language: fail
2929
files: "\\.rej$"
3030
- repo: https://github.com/oca/maintainer-tools
31-
rev: dfba427ba03900b69e0a7f2c65890dc48921d36a
31+
rev: bde63eeb13a64561ef53bb9d609f6b9b87efd301
3232
hooks:
3333
# update the NOT INSTALLABLE ADDONS section above
3434
- id: oca-update-pre-commit-excluded-addons
@@ -50,7 +50,7 @@ repos:
5050
hooks:
5151
- id: black
5252
- repo: https://github.com/pre-commit/mirrors-prettier
53-
rev: v2.4.1
53+
rev: v2.5.1
5454
hooks:
5555
- id: prettier
5656
name: prettier (with plugin-xml)
@@ -61,7 +61,7 @@ repos:
6161
- --plugin=@prettier/plugin-xml
6262
files: \.(css|htm|html|js|json|jsx|less|md|scss|toml|ts|xml|yaml|yml)$
6363
- repo: https://github.com/pre-commit/mirrors-eslint
64-
rev: v7.32.0
64+
rev: v8.4.1
6565
hooks:
6666
- id: eslint
6767
verbose: true
@@ -91,20 +91,20 @@ repos:
9191
- id: mixed-line-ending
9292
args: ["--fix=lf"]
9393
- repo: https://github.com/asottile/pyupgrade
94-
rev: v2.29.0
94+
rev: v2.29.1
9595
hooks:
9696
- id: pyupgrade
9797
args: ["--keep-percent-format"]
9898
- repo: https://github.com/PyCQA/isort
99-
rev: 5.9.3
99+
rev: 5.10.1
100100
hooks:
101101
- id: isort
102102
name: isort except __init__.py
103103
args:
104104
- --settings=.
105105
exclude: /__init__\.py$
106106
- repo: https://github.com/acsone/setuptools-odoo
107-
rev: 3.0.3
107+
rev: 3.1.8
108108
hooks:
109109
- id: setuptools-odoo-make-default
110110
- id: setuptools-odoo-get-requirements
@@ -113,25 +113,21 @@ repos:
113113
- requirements.txt
114114
- --header
115115
- "# generated from manifests external_dependencies"
116-
- repo: https://gitlab.com/PyCQA/flake8
116+
- repo: https://github.com/PyCQA/flake8
117117
rev: 3.9.2
118118
hooks:
119119
- id: flake8
120120
name: flake8
121121
additional_dependencies: ["flake8-bugbear==21.9.2"]
122-
- repo: https://github.com/PyCQA/pylint
123-
rev: v2.11.1
122+
- repo: https://github.com/OCA/pylint-odoo
123+
rev: 7.0.2
124124
hooks:
125-
- id: pylint
125+
- id: pylint_odoo
126126
name: pylint with optional checks
127127
args:
128128
- --rcfile=.pylintrc
129129
- --exit-zero
130130
verbose: true
131-
additional_dependencies: &pylint_deps
132-
- pylint-odoo==5.0.5
133-
- id: pylint
134-
name: pylint with mandatory checks
131+
- id: pylint_odoo
135132
args:
136133
- --rcfile=.pylintrc-mandatory
137-
additional_dependencies: *pylint_deps

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,29 @@ Available addons
2121
----------------
2222
addon | version | maintainers | summary
2323
--- | --- | --- | ---
24-
[auditlog](auditlog/) | 15.0.1.0.0 | | Audit Log
24+
[auditlog](auditlog/) | 15.0.1.2.0 | | Audit Log
25+
[auto_backup](auto_backup/) | 15.0.1.0.0 | | Backups database
26+
[base_conditional_image](base_conditional_image/) | 15.0.1.0.0 | | This module extends the functionality to support conditional images
2527
[base_cron_exclusion](base_cron_exclusion/) | 15.0.1.0.0 | [![LoisRForgeFlow](https://github.com/LoisRForgeFlow.png?size=30px)](https://github.com/LoisRForgeFlow) [![ChrisOForgeFlow](https://github.com/ChrisOForgeFlow.png?size=30px)](https://github.com/ChrisOForgeFlow) | Allow you to select scheduled actions that should not run simultaneously.
2628
[base_exception](base_exception/) | 15.0.1.0.2 | [![hparfr](https://github.com/hparfr.png?size=30px)](https://github.com/hparfr) [![sebastienbeau](https://github.com/sebastienbeau.png?size=30px)](https://github.com/sebastienbeau) | This module provide an abstract model to manage customizable exceptions to be applied on different models (sale order, invoice, ...)
2729
[base_fontawesome](base_fontawesome/) | 15.0.5.15.4 | | Up to date Fontawesome resources.
2830
[base_multi_image](base_multi_image/) | 15.0.1.0.0 | | Allow multiple images for database objects
31+
[base_remote](base_remote/) | 15.0.1.0.0 | | Remote Base
2932
[base_search_fuzzy](base_search_fuzzy/) | 15.0.1.0.0 | | Fuzzy search with the PostgreSQL trigram extension
33+
[base_technical_user](base_technical_user/) | 15.0.1.0.0 | | Add a technical user parameter on the company
3034
[base_time_window](base_time_window/) | 15.0.1.0.0 | | Base model to handle time windows
31-
[base_view_inheritance_extension](base_view_inheritance_extension/) | 15.0.1.0.1 | | Adds more operators for view inheritance
35+
[base_view_inheritance_extension](base_view_inheritance_extension/) | 15.0.1.0.2 | | Adds more operators for view inheritance
3236
[datetime_formatter](datetime_formatter/) | 15.0.1.0.0 | | Helper functions to give correct format to date[time] fields
3337
[dbfilter_from_header](dbfilter_from_header/) | 15.0.1.0.0 | | Filter databases with HTTP headers
3438
[fetchmail_incoming_log](fetchmail_incoming_log/) | 15.0.1.0.0 | | Log all messages received, before they start to be processed.
3539
[fetchmail_notify_error_to_sender](fetchmail_notify_error_to_sender/) | 15.0.1.0.0 | | If fetching mails gives error, send an email to sender
3640
[html_text](html_text/) | 15.0.1.0.0 | | Generate excerpts from any HTML field
41+
[letsencrypt](letsencrypt/) | 15.0.1.0.1 | | Request SSL certificates from letsencrypt.org
3742
[module_auto_update](module_auto_update/) | 15.0.1.0.0 | | Automatically update Odoo modules
43+
[module_change_auto_install](module_change_auto_install/) | 15.0.1.0.0 | [![legalsylvain](https://github.com/legalsylvain.png?size=30px)](https://github.com/legalsylvain) | Customize auto installables modules by configuration
3844
[onchange_helper](onchange_helper/) | 15.0.1.0.1 | | Technical module that ease execution of onchange in Python code
39-
[upgrade_analysis](upgrade_analysis/) | 15.0.2.0.0 | [![StefanRijnhart](https://github.com/StefanRijnhart.png?size=30px)](https://github.com/StefanRijnhart) [![legalsylvain](https://github.com/legalsylvain.png?size=30px)](https://github.com/legalsylvain) | Performs a difference analysis between modules installed on two different Odoo instances
45+
[sentry](sentry/) | 15.0.1.0.0 | [![barsi](https://github.com/barsi.png?size=30px)](https://github.com/barsi) [![naglis](https://github.com/naglis.png?size=30px)](https://github.com/naglis) [![versada](https://github.com/versada.png?size=30px)](https://github.com/versada) [![moylop260](https://github.com/moylop260.png?size=30px)](https://github.com/moylop260) [![fernandahf](https://github.com/fernandahf.png?size=30px)](https://github.com/fernandahf) | Report Odoo errors to Sentry
46+
[upgrade_analysis](upgrade_analysis/) | 15.0.3.0.0 | [![StefanRijnhart](https://github.com/StefanRijnhart.png?size=30px)](https://github.com/StefanRijnhart) [![legalsylvain](https://github.com/legalsylvain.png?size=30px)](https://github.com/legalsylvain) | Performs a difference analysis between modules installed on two different Odoo instances
4047

4148
[//]: # (end addons)
4249

auditlog/README.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ To activate it and/or change the delay, go to the
5858

5959
.. image:: https://raw.githubusercontent.com/OCA/server-tools/15.0/auditlog/static/description/autovacuum.png
6060

61+
There are two possible groups configured to which one may belong. The first
62+
is the Auditlog User group. This group has read-only access to the auditlogs of
63+
individual records through the `View Logs` action. The second group is the
64+
Auditlog Manager group. This group additionally has the right to configure the
65+
auditlog configuration rules.
66+
6167
Known issues / Roadmap
6268
======================
6369

auditlog/__manifest__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33

44
{
55
"name": "Audit Log",
6-
"version": "15.0.1.0.0",
6+
"version": "15.0.1.2.0",
77
"author": "ABF OSIELL, Odoo Community Association (OCA)",
88
"license": "AGPL-3",
99
"website": "https://github.com/OCA/server-tools",
1010
"category": "Tools",
1111
"depends": ["base"],
1212
"data": [
13+
"security/res_groups.xml",
1314
"security/ir.model.access.csv",
1415
"data/ir_cron.xml",
1516
"views/auditlog_view.xml",

auditlog/i18n/am.po

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,21 @@ msgstr ""
5858
msgid "Auditlog - Rule"
5959
msgstr ""
6060

61+
#. module: auditlog
62+
#: model:res.groups,name:auditlog.group_auditlog_manager
63+
msgid "Auditlog Manager"
64+
msgstr ""
65+
66+
#. module: auditlog
67+
#: model:ir.module.category,name:auditlog.security_auditlog_groups
68+
msgid "Auditlog Rights"
69+
msgstr ""
70+
71+
#. module: auditlog
72+
#: model:res.groups,name:auditlog.group_auditlog_user
73+
msgid "Auditlog User"
74+
msgstr ""
75+
6176
#. module: auditlog
6277
#: model:ir.actions.server,name:auditlog.ir_cron_auditlog_autovacuum_ir_actions_server
6378
#: model:ir.cron,cron_name:auditlog.ir_cron_auditlog_autovacuum
@@ -140,6 +155,11 @@ msgstr ""
140155
msgid "Field 'model_id' cannot be empty."
141156
msgstr ""
142157

158+
#. module: auditlog
159+
#: model:ir.model.fields,field_description:auditlog.field_auditlog_rule__fields_to_exclude_ids
160+
msgid "Fields to Exclude"
161+
msgstr ""
162+
143163
#. module: auditlog
144164
#: model:ir.model.fields,field_description:auditlog.field_auditlog_log__line_ids
145165
#: model_terms:ir.ui.view,arch_db:auditlog.view_auditlog_log_form
@@ -258,7 +278,6 @@ msgstr ""
258278
#: model:ir.actions.act_window,name:auditlog.action_auditlog_line
259279
#: model:ir.ui.menu,name:auditlog.menu_auditlog_line
260280
#: model_terms:ir.ui.view,arch_db:auditlog.view_auditlog_line_search
261-
#: model_terms:ir.ui.view,arch_db:auditlog.view_auditlog_line_tree
262281
msgid "Log Lines"
263282
msgstr ""
264283

@@ -528,6 +547,11 @@ msgstr ""
528547
msgid "Users"
529548
msgstr ""
530549

550+
#. module: auditlog
551+
#: model:ir.model.fields,field_description:auditlog.field_auditlog_rule__users_to_exclude_ids
552+
msgid "Users to Exclude"
553+
msgstr ""
554+
531555
#. module: auditlog
532556
#: model_terms:ir.ui.view,arch_db:auditlog.view_auditlog_log_form
533557
msgid "Values"

auditlog/i18n/ar.po

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,21 @@ msgstr ""
6060
msgid "Auditlog - Rule"
6161
msgstr ""
6262

63+
#. module: auditlog
64+
#: model:res.groups,name:auditlog.group_auditlog_manager
65+
msgid "Auditlog Manager"
66+
msgstr ""
67+
68+
#. module: auditlog
69+
#: model:ir.module.category,name:auditlog.security_auditlog_groups
70+
msgid "Auditlog Rights"
71+
msgstr ""
72+
73+
#. module: auditlog
74+
#: model:res.groups,name:auditlog.group_auditlog_user
75+
msgid "Auditlog User"
76+
msgstr ""
77+
6378
#. module: auditlog
6479
#: model:ir.actions.server,name:auditlog.ir_cron_auditlog_autovacuum_ir_actions_server
6580
#: model:ir.cron,cron_name:auditlog.ir_cron_auditlog_autovacuum
@@ -142,6 +157,11 @@ msgstr "الحقل"
142157
msgid "Field 'model_id' cannot be empty."
143158
msgstr ""
144159

160+
#. module: auditlog
161+
#: model:ir.model.fields,field_description:auditlog.field_auditlog_rule__fields_to_exclude_ids
162+
msgid "Fields to Exclude"
163+
msgstr ""
164+
145165
#. module: auditlog
146166
#: model:ir.model.fields,field_description:auditlog.field_auditlog_log__line_ids
147167
#: model_terms:ir.ui.view,arch_db:auditlog.view_auditlog_log_form
@@ -260,7 +280,6 @@ msgstr ""
260280
#: model:ir.actions.act_window,name:auditlog.action_auditlog_line
261281
#: model:ir.ui.menu,name:auditlog.menu_auditlog_line
262282
#: model_terms:ir.ui.view,arch_db:auditlog.view_auditlog_line_search
263-
#: model_terms:ir.ui.view,arch_db:auditlog.view_auditlog_line_tree
264283
msgid "Log Lines"
265284
msgstr ""
266285

@@ -530,6 +549,11 @@ msgstr ""
530549
msgid "Users"
531550
msgstr "المستخدمون"
532551

552+
#. module: auditlog
553+
#: model:ir.model.fields,field_description:auditlog.field_auditlog_rule__users_to_exclude_ids
554+
msgid "Users to Exclude"
555+
msgstr ""
556+
533557
#. module: auditlog
534558
#: model_terms:ir.ui.view,arch_db:auditlog.view_auditlog_log_form
535559
msgid "Values"

auditlog/i18n/auditlog.pot

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,21 @@ msgstr ""
5353
msgid "Auditlog - Rule"
5454
msgstr ""
5555

56+
#. module: auditlog
57+
#: model:res.groups,name:auditlog.group_auditlog_manager
58+
msgid "Auditlog Manager"
59+
msgstr ""
60+
61+
#. module: auditlog
62+
#: model:ir.module.category,name:auditlog.security_auditlog_groups
63+
msgid "Auditlog Rights"
64+
msgstr ""
65+
66+
#. module: auditlog
67+
#: model:res.groups,name:auditlog.group_auditlog_user
68+
msgid "Auditlog User"
69+
msgstr ""
70+
5671
#. module: auditlog
5772
#: model:ir.actions.server,name:auditlog.ir_cron_auditlog_autovacuum_ir_actions_server
5873
#: model:ir.cron,cron_name:auditlog.ir_cron_auditlog_autovacuum
@@ -135,6 +150,11 @@ msgstr ""
135150
msgid "Field 'model_id' cannot be empty."
136151
msgstr ""
137152

153+
#. module: auditlog
154+
#: model:ir.model.fields,field_description:auditlog.field_auditlog_rule__fields_to_exclude_ids
155+
msgid "Fields to Exclude"
156+
msgstr ""
157+
138158
#. module: auditlog
139159
#: model:ir.model.fields,field_description:auditlog.field_auditlog_log__line_ids
140160
#: model_terms:ir.ui.view,arch_db:auditlog.view_auditlog_log_form
@@ -520,6 +540,11 @@ msgstr ""
520540
msgid "Users"
521541
msgstr ""
522542

543+
#. module: auditlog
544+
#: model:ir.model.fields,field_description:auditlog.field_auditlog_rule__users_to_exclude_ids
545+
msgid "Users to Exclude"
546+
msgstr ""
547+
523548
#. module: auditlog
524549
#: model_terms:ir.ui.view,arch_db:auditlog.view_auditlog_log_form
525550
msgid "Values"

auditlog/i18n/bg.po

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,21 @@ msgstr ""
5858
msgid "Auditlog - Rule"
5959
msgstr ""
6060

61+
#. module: auditlog
62+
#: model:res.groups,name:auditlog.group_auditlog_manager
63+
msgid "Auditlog Manager"
64+
msgstr ""
65+
66+
#. module: auditlog
67+
#: model:ir.module.category,name:auditlog.security_auditlog_groups
68+
msgid "Auditlog Rights"
69+
msgstr ""
70+
71+
#. module: auditlog
72+
#: model:res.groups,name:auditlog.group_auditlog_user
73+
msgid "Auditlog User"
74+
msgstr ""
75+
6176
#. module: auditlog
6277
#: model:ir.actions.server,name:auditlog.ir_cron_auditlog_autovacuum_ir_actions_server
6378
#: model:ir.cron,cron_name:auditlog.ir_cron_auditlog_autovacuum
@@ -140,6 +155,11 @@ msgstr ""
140155
msgid "Field 'model_id' cannot be empty."
141156
msgstr ""
142157

158+
#. module: auditlog
159+
#: model:ir.model.fields,field_description:auditlog.field_auditlog_rule__fields_to_exclude_ids
160+
msgid "Fields to Exclude"
161+
msgstr ""
162+
143163
#. module: auditlog
144164
#: model:ir.model.fields,field_description:auditlog.field_auditlog_log__line_ids
145165
#: model_terms:ir.ui.view,arch_db:auditlog.view_auditlog_log_form
@@ -258,7 +278,6 @@ msgstr ""
258278
#: model:ir.actions.act_window,name:auditlog.action_auditlog_line
259279
#: model:ir.ui.menu,name:auditlog.menu_auditlog_line
260280
#: model_terms:ir.ui.view,arch_db:auditlog.view_auditlog_line_search
261-
#: model_terms:ir.ui.view,arch_db:auditlog.view_auditlog_line_tree
262281
msgid "Log Lines"
263282
msgstr ""
264283

@@ -528,6 +547,11 @@ msgstr ""
528547
msgid "Users"
529548
msgstr ""
530549

550+
#. module: auditlog
551+
#: model:ir.model.fields,field_description:auditlog.field_auditlog_rule__users_to_exclude_ids
552+
msgid "Users to Exclude"
553+
msgstr ""
554+
531555
#. module: auditlog
532556
#: model_terms:ir.ui.view,arch_db:auditlog.view_auditlog_log_form
533557
msgid "Values"

0 commit comments

Comments
 (0)