File tree 7 files changed +33
-21
lines changed
7 files changed +33
-21
lines changed Original file line number Diff line number Diff line change 1
1
# Do NOT update manually; changes here will be overwritten by Copier
2
- _commit : v1.14 .2
2
+ _commit : v1.17 .2
3
3
_src_path : gh:oca/oca-addons-repo-template
4
4
ci : GitHub
5
- dependency_installation_mode : PIP
6
5
generate_requirements_txt : true
7
6
github_check_license : true
8
7
github_ci_extra_env : {}
@@ -11,6 +10,7 @@ github_enable_makepot: true
11
10
github_enable_stale_action : true
12
11
github_enforce_dev_status_compatibility : true
13
12
include_wkhtmltopdf : false
13
+ odoo_test_flavor : Both
14
14
odoo_version : 14.0
15
15
org_name : Odoo Community Association (OCA)
16
16
org_slug : OCA
@@ -19,6 +19,4 @@ repo_description: 'TODO: add repo description.'
19
19
repo_name : donation
20
20
repo_slug : donation
21
21
repo_website : https://github.com/OCA/donation
22
- travis_apt_packages : []
23
- travis_apt_sources : []
24
22
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ globals:
22
22
odoo : readonly
23
23
openerp : readonly
24
24
owl : readonly
25
+ luxon : readonly
25
26
26
27
# Styling is handled by Prettier, so we only need to enable AST rules;
27
28
# see https://github.com/OCA/maintainer-quality-tools/pull/618#issuecomment-558576890
Original file line number Diff line number Diff line change 13
13
pre-commit :
14
14
runs-on : ubuntu-22.04
15
15
steps :
16
- - uses : actions/checkout@v2
16
+ - uses : actions/checkout@v3
17
17
- uses : actions/setup-python@v2
18
+ with :
19
+ python-version : " 3.11"
18
20
- name : Get python version
19
21
run : echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
20
22
- uses : actions/cache@v1
25
27
run : pip install pre-commit
26
28
- name : Run pre-commit
27
29
run : pre-commit run --all-files --show-diff-on-failure --color=always
30
+ env :
31
+ # Consider valid a PR that changes README fragments but doesn't
32
+ # change the README.rst file itself. It's not really a problem
33
+ # because the bot will update it anyway after merge. This way, we
34
+ # lower the barrier for functional contributors that want to fix the
35
+ # readme fragments, while still letting developers get README
36
+ # auto-generated (which also helps functionals when using runboat).
37
+ # DOCS https://pre-commit.com/#temporarily-disabling-hooks
38
+ SKIP : oca-gen-addon-readme
28
39
- name : Check that all files generated by pre-commit are in git
29
40
run : |
30
41
newfiles="$(git ls-files --others --exclude-from=.gitignore)"
Original file line number Diff line number Diff line change 14
14
runs-on : ubuntu-latest
15
15
name : Detect unreleased dependencies
16
16
steps :
17
- - uses : actions/checkout@v2
17
+ - uses : actions/checkout@v3
18
18
- run : |
19
19
for reqfile in requirements.txt test-requirements.txt ; do
20
20
if [ -f ${reqfile} ] ; then
@@ -36,10 +36,10 @@ jobs:
36
36
matrix :
37
37
include :
38
38
- container : ghcr.io/oca/oca-ci/py3.6-odoo14.0:latest
39
- makepot : " true"
40
39
name : test with Odoo
41
40
- container : ghcr.io/oca/oca-ci/py3.6-ocb14.0:latest
42
41
name : test with OCB
42
+ makepot : " true"
43
43
services :
44
44
postgres :
45
45
image : postgres:9.6
50
50
ports :
51
51
- 5432:5432
52
52
steps :
53
- - uses : actions/checkout@v2
53
+ - uses : actions/checkout@v3
54
54
with :
55
55
persist-credentials : false
56
56
- name : Install addons and dependencies
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ exclude: |
12
12
/static/(src/)?lib/|
13
13
# Repos using Sphinx to generate docs don't need prettying
14
14
^docs/_templates/.*\.html$|
15
+ # Don't bother non-technical authors with formatting issues in docs
16
+ readme/.*\.(rst|md)$|
15
17
# You don't usually want a bot to modify your legal texts
16
18
(LICENSE.*|COPYING.*)
17
19
default_language_version :
@@ -33,12 +35,24 @@ repos:
33
35
language : fail
34
36
files : ' [a-zA-Z0-9_]*/i18n/en\.po$'
35
37
- repo : https://github.com/oca/maintainer-tools
36
- rev : ab1d7f6
38
+ rev : 969238e47c07d0c40573acff81d170f63245d738
37
39
hooks :
38
40
# update the NOT INSTALLABLE ADDONS section above
39
41
- id : oca-update-pre-commit-excluded-addons
40
42
- id : oca-fix-manifest-website
41
43
args : ["https://github.com/OCA/donation"]
44
+ - id : oca-gen-addon-readme
45
+ args :
46
+ - --addons-dir=.
47
+ - --branch=14.0
48
+ - --org-name=OCA
49
+ - --repo-name=donation
50
+ - --if-source-changed
51
+ - repo : https://github.com/OCA/odoo-pre-commit-hooks
52
+ rev : v0.0.25
53
+ hooks :
54
+ - id : oca-checks-odoo-module
55
+ - id : oca-checks-po
42
56
- repo : https://github.com/myint/autoflake
43
57
rev : v1.4
44
58
hooks :
Original file line number Diff line number Diff line change @@ -610,7 +610,6 @@ msgstr ""
610
610
611
611
#. module: donation
612
612
#: model:ir.model.fields,help: donation.field_donation_donation__message_has_error
613
- #: model:ir.model.fields,help: donation.field_donation_donation__message_has_sms_error
614
613
msgid "If checked, some messages have a delivery error."
615
614
msgstr ""
616
615
@@ -935,11 +934,6 @@ msgstr ""
935
934
msgid "Responsible User"
936
935
msgstr ""
937
936
938
- #. module: donation
939
- #: model:ir.model.fields,field_description: donation.field_donation_donation__message_has_sms_error
940
- msgid "SMS Delivery error"
941
- msgstr ""
942
-
943
937
#. module: donation
944
938
#: model_terms:ir.ui.view,arch_db: donation.donation_form
945
939
msgid "Save Default Values"
Original file line number Diff line number Diff line change @@ -309,7 +309,6 @@ msgstr ""
309
309
310
310
#. module: donation_base
311
311
#: model:ir.model.fields,help: donation_base.field_donation_tax_receipt__message_has_error
312
- #: model:ir.model.fields,help: donation_base.field_donation_tax_receipt__message_has_sms_error
313
312
msgid "If checked, some messages have a delivery error."
314
313
msgstr ""
315
314
@@ -512,11 +511,6 @@ msgstr ""
512
511
msgid "Responsible User"
513
512
msgstr ""
514
513
515
- #. module: donation_base
516
- #: model:ir.model.fields,field_description: donation_base.field_donation_tax_receipt__message_has_sms_error
517
- msgid "SMS Delivery error"
518
- msgstr ""
519
-
520
514
#. module: donation_base
521
515
#: model_terms:ir.ui.view,arch_db: donation_base.donation_tax_receipt_search
522
516
msgid "Search Donation Tax Receipts"
You can’t perform that action at this time.
0 commit comments