Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge from 12.0 #2

Open
wants to merge 714 commits into
base: 12.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
714 commits
Select commit Hold shift + click to select a range
92e0794
[UPD] Update report_async.pot
oca-travis May 15, 2020
c96dd93
[UPD] README.rst
OCA-git-bot May 15, 2020
f0b489c
[ADD] setup.py
OCA-git-bot May 15, 2020
860ea84
report_async 12.0.1.0.1
OCA-git-bot May 15, 2020
ffdfff8
[IMP] add format_datetime for report_py3o
May 26, 2020
64fd92e
[FIX] report_qweb_signer: reprint report crash
chienandalu Jun 16, 2020
21e76e7
Merge PR #411 into 12.0
OCA-git-bot Jun 16, 2020
ceab8ba
report_qweb_signer 12.0.1.0.1
OCA-git-bot Jun 16, 2020
103cdd3
Merge PR #391 into 12.0
OCA-git-bot Jun 17, 2020
5dab595
[UPD] Update bi_view_editor.pot
oca-travis Jun 17, 2020
01cb119
[UPD] README.rst
OCA-git-bot Jun 18, 2020
9817e6f
bi_view_editor 12.0.1.1.0
OCA-git-bot Jun 18, 2020
6a75939
Update translation files
oca-transbot Jun 18, 2020
6c6d718
[FIX] bi_sql_editor: allow XML-RPC calls
legalsylvain Jun 20, 2020
e1a83df
Merge PR #412 into 12.0
OCA-git-bot Jun 20, 2020
cb747f1
[UPD] Update bi_sql_editor.pot
oca-travis Jun 20, 2020
188e434
bi_sql_editor 12.0.1.2.1
OCA-git-bot Jun 20, 2020
7f3a863
Update translation files
oca-transbot Jun 20, 2020
8a1866d
Merge PR #394 into 12.0
OCA-git-bot Jun 30, 2020
4cac95c
[UPD] Update kpi_dashboard.pot
oca-travis Jun 30, 2020
dbd2f82
[UPD] Update kpi_dashboard_altair.pot
oca-travis Jun 30, 2020
c54647e
[UPD] Update kpi_dashboard_bokeh.pot
oca-travis Jun 30, 2020
642dbdb
[UPD] README.rst
OCA-git-bot Jun 30, 2020
231a5b1
[ADD] setup.py
OCA-git-bot Jun 30, 2020
793f128
[IMP] kpi_dashboard: Set history & Add compute on the fly & Show valu…
etobella Jul 7, 2020
29e30b6
[IMP] do not show date for 'compute on fly' kpi
legalsylvain Jul 7, 2020
593f7dc
[IMP] kpi_dashboard: Compute on fly, allow to refresh data on fly
etobella Jul 16, 2020
b2638fc
[IMP] kpi_dashboard: Add standard elements on code
etobella Jul 16, 2020
aff958e
[IMP] kpi_dashboard: Allow to set a context on the action
etobella Jul 16, 2020
e018049
Merge PR #416 into 12.0
OCA-git-bot Jul 19, 2020
52f043a
[UPD] Update kpi_dashboard.pot
oca-travis Jul 19, 2020
733d577
kpi_dashboard 12.0.1.2.0
OCA-git-bot Jul 19, 2020
f82821f
[IMP] kpi_dashboard: set new widgets
etobella Jul 29, 2020
2eea8b7
[IMP] kpi_dashboard: Allow to edit context using items
etobella Jul 29, 2020
5efc54f
Added translation using Weblate (Slovak)
jprokop1 Aug 15, 2020
20d5d59
Translated using Weblate (Slovak)
jprokop1 Aug 15, 2020
cada905
Update translation files
oca-transbot Aug 16, 2020
1012db8
Update translation files
oca-transbot Aug 16, 2020
432fef6
Update translation files
oca-transbot Aug 16, 2020
52aa03e
Update translation files
oca-transbot Aug 16, 2020
442f806
Update translation files
oca-transbot Aug 16, 2020
c20d34e
Update translation files
oca-transbot Aug 16, 2020
7fb5883
Update translation files
oca-transbot Aug 16, 2020
1944e8a
Update translation files
oca-transbot Aug 16, 2020
fbcfc2f
Fix website URL in kpi_dashboard module
sfeilmeier Aug 27, 2020
0ff9d1b
Merge PR #425 into 12.0
OCA-git-bot Aug 27, 2020
ee275c0
[IMP] kpi_dashboard: edit color
etobella Jul 29, 2020
045a431
kpi_dashboard 12.0.1.2.1
OCA-git-bot Aug 27, 2020
6152445
Remove duplicate field defined few lines above
hparfr Aug 28, 2020
2fcff8a
Merge PR #426 into 12.0
OCA-git-bot Aug 28, 2020
76fd66a
[UPD] Update report_csv.pot
oca-travis Aug 28, 2020
33ee678
[UPD] Update report_py3o.pot
oca-travis Aug 28, 2020
223ad4c
[UPD] Update report_xlsx.pot
oca-travis Aug 28, 2020
0dd84d9
[UPD] Update report_xml.pot
oca-travis Aug 28, 2020
25bc45f
report_py3o 12.0.2.0.5
OCA-git-bot Aug 28, 2020
84baf5d
Update translation files
oca-transbot Aug 28, 2020
1b4ebef
Update translation files
oca-transbot Aug 28, 2020
431ad82
Update translation files
oca-transbot Aug 28, 2020
f3f2801
[FIX] delete sql view by order desc, to avoid errors if one sql view …
legalsylvain Sep 7, 2020
b45a027
[REF] Clean oca_dependencies.txt, bye dev branches
hugho-ad Sep 8, 2020
7927bda
Merge PR #432 into 12.0
OCA-git-bot Sep 9, 2020
66006d4
Merge PR #423 into 12.0
OCA-git-bot Sep 14, 2020
9fec30d
[UPD] Update kpi_dashboard.pot
oca-travis Sep 14, 2020
dc27916
[UPD] Update kpi_dashboard_altair.pot
oca-travis Sep 14, 2020
9da2b7d
[UPD] Update kpi_dashboard_bokeh.pot
oca-travis Sep 14, 2020
7301a7f
kpi_dashboard 12.0.1.3.0
OCA-git-bot Sep 14, 2020
823edad
[FIX] Fix 'installable' syntax in manifest file
mstuttgart Oct 9, 2020
e16a289
Merge PR #440 into 12.0
OCA-git-bot Oct 13, 2020
9016d63
report_qweb_pdf_watermark 12.0.1.0.1
OCA-git-bot Oct 13, 2020
f8f3941
Translated using Weblate (French)
legalsylvain Oct 19, 2020
b94513b
[FIX] report_qweb_signer
marcelsavegnago Oct 24, 2020
5b4cbb1
Merge PR #448 into 12.0
OCA-git-bot Oct 24, 2020
ac812f0
Translated using Weblate (French)
quentinDupont Oct 25, 2020
adeafc6
[12.0][IMP][report_qr] Allow setting proposed filename
diggy128 Nov 9, 2020
5943750
[FIX] bi_sql_editor : handle correctly translation for action name
legalsylvain Nov 12, 2020
b16edbb
[ADD] Add addons table and translation status
marcelsavegnago Oct 24, 2020
e7c38ec
Merge pull request #449 from Escodoo/12.0-add_addons_table
sbidoul Nov 16, 2020
c1ab63d
[ADD] report_label
ivantodorovich Nov 19, 2020
ba10dcc
Update translation files
oca-transbot Nov 22, 2020
ffa76e1
Merge PR #457 into 12.0
OCA-git-bot Nov 24, 2020
79156d6
[UPD] Update report_label.pot
oca-travis Nov 24, 2020
ffa2e64
[UPD] Update report_wkhtmltopdf_param.pot
oca-travis Nov 24, 2020
20043c7
[UPD] addons table in README.md
OCA-git-bot Nov 24, 2020
1a38c30
[UPD] README.rst
OCA-git-bot Nov 24, 2020
9908b9a
[ADD] icon.png
OCA-git-bot Nov 24, 2020
34c4eee
[ADD] setup.py
OCA-git-bot Nov 24, 2020
5fa8348
Update translation files
oca-transbot Nov 24, 2020
70e64a6
Added translation using Weblate (Portuguese)
pedrocs-exo Dec 17, 2020
8c11f2b
Translated using Weblate (Portuguese)
pedrocs-exo Dec 17, 2020
899ff5d
Translated using Weblate (Portuguese)
pedrocs-exo Dec 17, 2020
329727f
[ADD] report_qweb_encrypt
etobella Sep 16, 2020
16d5125
[ENH] Add option to auto encrypt password based on python syntax
kittiu Dec 26, 2020
0f248e2
Translated using Weblate (Italian)
baba75 Jan 28, 2021
9663c67
Merge PR #459 into 12.0
OCA-git-bot Feb 9, 2021
3581ca8
[UPD] Update report_qweb_encrypt.pot
oca-travis Feb 9, 2021
acb62fd
[UPD] addons table in README.md
OCA-git-bot Feb 9, 2021
e8cd527
[UPD] README.rst
OCA-git-bot Feb 9, 2021
39ed76b
[ADD] setup.py
OCA-git-bot Feb 9, 2021
2069e4d
Make sure value is always set for computed fields
dupski Oct 28, 2019
560fe22
Merge PR #487 into 12.0
OCA-git-bot Mar 1, 2021
56e99df
[UPD] Update report_py3o.pot
oca-travis Mar 1, 2021
a3a8200
[UPD] Update report_py3o_fusion_server.pot
oca-travis Mar 1, 2021
b21ec52
report_py3o_fusion_server 12.0.1.0.1
OCA-git-bot Mar 1, 2021
b03ab94
report_py3o 12.0.2.0.6
OCA-git-bot Mar 1, 2021
f59f144
[UPD] addons table in README.md
OCA-git-bot Mar 1, 2021
9fca768
Update translation files
oca-transbot Mar 1, 2021
34adff7
Update translation files
oca-transbot Mar 1, 2021
cff8ec1
[UPD] Update report_py3o.pot
oca-travis Mar 1, 2021
a947427
[UPD] Update report_py3o_fusion_server.pot
oca-travis Mar 1, 2021
eda2953
Update translation files
oca-transbot Mar 1, 2021
41a2121
Update translation files
oca-transbot Mar 1, 2021
122001d
Added translation using Weblate (Portuguese)
pedrocs-exo Mar 6, 2021
cf522db
Added translation using Weblate (Portuguese)
pedrocs-exo Mar 6, 2021
d6bb04c
Translated using Weblate (Portuguese)
pedrocs-exo Mar 6, 2021
e670d8b
Translated using Weblate (Portuguese)
pedrocs-exo Mar 6, 2021
3e981f6
Added translation using Weblate (Portuguese)
pedrocs-exo Mar 13, 2021
b9e6bc0
Translated using Weblate (Portuguese)
pedrocs-exo Mar 13, 2021
263fa3a
Merge PR #407 into 12.0
OCA-git-bot Mar 16, 2021
93be739
report_py3o 12.0.2.1.0
OCA-git-bot Mar 16, 2021
0418136
[UPD] addons table in README.md
OCA-git-bot Mar 16, 2021
51e1ae0
[FIX] report_qweb_parameter: Don't mess with VAT
pedrobaeza Mar 29, 2021
66a70e0
[UPD] addons table in README.md
OCA-git-bot Mar 29, 2021
fd5b88c
[REF] bi_sql_editor : move function into abstract module
legalsylvain Apr 2, 2021
4d08981
Merge PR #431 into 12.0
OCA-git-bot May 8, 2021
e4ac92c
bi_sql_editor 12.0.1.2.2
OCA-git-bot May 8, 2021
e77aeca
[UPD] addons table in README.md
OCA-git-bot May 8, 2021
2d23164
Merge PR #454 into 12.0
OCA-git-bot May 15, 2021
4dc8a0a
[UPD] README.rst
OCA-git-bot May 15, 2021
5ef74a1
report_qr 12.0.1.1.0
OCA-git-bot May 15, 2021
16ab670
[UPD] addons table in README.md
OCA-git-bot May 15, 2021
ab03f0e
[IMP] bi_sql_editor : conserve cron settings, when setting materializ…
legalsylvain Jun 7, 2021
d691b4b
Translated using Weblate (Danish)
hhgabelgaard Jul 13, 2021
5d78541
Added translation using Weblate (Danish)
hhgabelgaard Jul 13, 2021
ef4c14f
Translated using Weblate (Danish)
hhgabelgaard Jul 13, 2021
477ddbd
Translated using Weblate (Danish)
hhgabelgaard Jul 13, 2021
455cb3b
Added translation using Weblate (Danish)
hhgabelgaard Jul 13, 2021
152b879
Translated using Weblate (Danish)
hhgabelgaard Jul 13, 2021
29d2009
[UPD] addons table in README.md
OCA-git-bot Aug 14, 2021
9061daa
[IMP][FIX] report_xlsx: handle duplicate name exceptions
chienandalu Sep 17, 2021
3925f63
Merge PR #539 into 12.0
OCA-git-bot Sep 20, 2021
7e1eeaf
report_xlsx 12.0.1.0.4
OCA-git-bot Sep 20, 2021
4c79709
[UPD] addons table in README.md
OCA-git-bot Sep 20, 2021
1d7f365
[FIX] report_qweb_signer: noupdate defaults
chienandalu Oct 1, 2021
e3cdb58
Merge PR #542 into 12.0
OCA-git-bot Oct 1, 2021
cde3269
[UPD] addons table in README.md
OCA-git-bot Oct 1, 2021
b8bc33a
[ADD] setup.py
OCA-git-bot Oct 16, 2021
013bf73
Merge PR #455 into 12.0
OCA-git-bot Nov 26, 2021
637d84e
bi_sql_editor 12.0.1.2.3
OCA-git-bot Nov 26, 2021
b87163d
[UPD] addons table in README.md
OCA-git-bot Nov 26, 2021
aeb904b
Merge PR #303 into 12.0
OCA-git-bot Dec 2, 2021
461fe42
[UPD] Update report_py3o.pot
oca-travis Dec 2, 2021
3bf4eca
report_py3o 12.0.2.1.1
OCA-git-bot Dec 2, 2021
d2544b9
[UPD] addons table in README.md
OCA-git-bot Dec 2, 2021
d6eb207
Update translation files
oca-transbot Dec 2, 2021
be4a900
[UPD] Update report_py3o.pot
oca-travis Dec 2, 2021
7770c5b
Update translation files
oca-transbot Dec 2, 2021
25bedbf
[REF] bi_sql_editor : add maintainers
legalsylvain Dec 13, 2021
82bfaa5
Merge PR #558 into 12.0
OCA-git-bot Dec 14, 2021
025fab4
[UPD] addons table in README.md
OCA-git-bot Dec 14, 2021
58e2a80
[UPD] README.rst
OCA-git-bot Dec 14, 2021
091a762
bi_sql_editor 12.0.1.2.4
OCA-git-bot Dec 14, 2021
3eba5fb
[UPD] addons table in README.md
OCA-git-bot Dec 14, 2021
013975e
Merge PR #496 into 12.0
OCA-git-bot Dec 16, 2021
5065d49
bi_sql_editor 12.0.1.2.5
OCA-git-bot Dec 16, 2021
9b9c590
[UPD] addons table in README.md
OCA-git-bot Dec 16, 2021
984fe02
Merge PR #519 into 12.0
OCA-git-bot Dec 16, 2021
b8e4a0b
[WIP] imp bi_sql_editor
legalsylvain Jun 18, 2020
64cce95
[UPD] Update bi_sql_editor.pot
oca-travis Dec 16, 2021
5f022a5
bi_sql_editor 12.0.1.2.6
OCA-git-bot Dec 16, 2021
801adb7
[UPD] addons table in README.md
OCA-git-bot Dec 16, 2021
a703aff
Update translation files
oca-transbot Dec 16, 2021
919032a
[UPD] Update bi_sql_editor.pot
oca-travis Dec 16, 2021
efabba7
Update translation files
oca-transbot Dec 16, 2021
46c5d55
Merge PR #413 into 12.0
OCA-git-bot Dec 16, 2021
b59ec1e
[UPD] Update bi_sql_editor.pot
oca-travis Dec 16, 2021
abd4b74
bi_sql_editor 12.0.1.2.7
OCA-git-bot Dec 16, 2021
fd810f4
[UPD] addons table in README.md
OCA-git-bot Dec 16, 2021
a3bfd34
Update translation files
oca-transbot Dec 16, 2021
68734f6
[UPD] Update bi_sql_editor.pot
oca-travis Dec 16, 2021
f8f4171
Update translation files
oca-transbot Dec 16, 2021
b6083b6
[IMP] bi_sql_editor : use ace widget
legalsylvain Dec 17, 2021
a543b33
Merge PR #567 into 12.0
OCA-git-bot Dec 17, 2021
d77d99f
bi_sql_editor 12.0.1.3.0
OCA-git-bot Dec 17, 2021
80087e8
[UPD] addons table in README.md
OCA-git-bot Dec 17, 2021
0be36d5
Update from template
etobella Jan 25, 2023
e37f2fb
[FIX] report_csv/__manifest__.py: remove csv external dependency
PabloEForgeFlow Jan 25, 2023
f761135
[FIX] report_qweb_signer: add java deb
etobella Jan 25, 2023
76be41e
[IMP] report_py3o: add libreoffice
etobella Jan 25, 2023
e6bf87d
[IMP] report_py3o_fusion_server: add libreoffice
etobella Jan 25, 2023
e937c52
[IMP] report_qweb_signer: Improve parameter
etobella Jan 25, 2023
86bf230
[FIX] bi_view_editor: missing dependancies
etobella Jan 27, 2023
b39498e
Merge PR #715 into 12.0
OCA-git-bot Jan 27, 2023
472f1ec
[UPD] addons table in README.md
OCA-git-bot Jan 27, 2023
94eb192
report_csv 12.0.1.0.1
OCA-git-bot Jan 27, 2023
0ba7e97
report_py3o 12.0.2.1.2
OCA-git-bot Jan 27, 2023
74ce99f
report_qweb_pdf_watermark 12.0.1.0.2
OCA-git-bot Jan 27, 2023
8491b38
bi_view_editor 12.0.1.1.1
OCA-git-bot Jan 27, 2023
14f6dc8
kpi 12.0.1.0.1
OCA-git-bot Jan 27, 2023
9960f3c
report_qweb_element_page_visibility 12.0.1.0.1
OCA-git-bot Jan 27, 2023
75052bf
report_wkhtmltopdf_param 12.0.1.0.1
OCA-git-bot Jan 27, 2023
0951cb8
report_xlsx 12.0.1.0.5
OCA-git-bot Jan 27, 2023
79f344d
report_qweb_signer 12.0.1.1.1
OCA-git-bot Jan 27, 2023
0f4a22d
report_xlsx_helper_demo 12.0.1.1.1
OCA-git-bot Jan 27, 2023
17102cc
report_qweb_parameter 12.0.1.0.2
OCA-git-bot Jan 27, 2023
e962a1e
kpi_dashboard_bokeh 12.0.1.0.1
OCA-git-bot Jan 27, 2023
1c686b1
report_py3o_fusion_server 12.0.1.0.2
OCA-git-bot Jan 27, 2023
14d0f42
[UPD] addons table in README.md
OCA-git-bot Jan 27, 2023
36772dd
[IMP] update dotfiles [ci skip]
OCA-git-bot Mar 13, 2023
c55d871
Translated using Weblate (Italian)
francesco-ooops Mar 21, 2023
4d28637
Translated using Weblate (Italian)
mymage Mar 30, 2023
4529e86
Translated using Weblate (Italian)
mymage Mar 30, 2023
6d0f922
Translated using Weblate (Italian)
mymage Mar 30, 2023
74e8414
Translated using Weblate (Italian)
mymage Mar 30, 2023
2511216
Translated using Weblate (Italian)
mymage Mar 30, 2023
13b6189
Translated using Weblate (Italian)
mymage Mar 30, 2023
2c2bd3b
Translated using Weblate (Italian)
mymage Mar 30, 2023
8101b11
Translated using Weblate (Italian)
mymage Apr 10, 2023
fafe71b
Added translation using Weblate (Italian)
francesco-ooops May 24, 2023
f519ce1
Translated using Weblate (Italian)
francesco-ooops May 24, 2023
f58b537
Translated using Weblate (Italian)
mymage Jun 8, 2023
5bd07ad
Translated using Weblate (Italian)
mymage Jun 20, 2023
cd5fed9
[IMP] report_async: Add schedule time to decide queue eta when async …
HviorForgeFlow Feb 16, 2023
6dc3351
[UPD] copier
MiquelRForgeFlow Aug 21, 2023
270c17e
Merge PR #725 into 12.0
OCA-git-bot Aug 24, 2023
965fd17
[UPD] Update report_async.pot
Aug 24, 2023
3de1f61
report_async 12.0.1.1.0
OCA-git-bot Aug 24, 2023
b2e00e5
[UPD] addons table in README.md
OCA-git-bot Aug 24, 2023
44b257e
Update translation files
weblate Sep 2, 2023
8ebbba5
[UPD] README.rst
OCA-git-bot Sep 3, 2023
733b37f
Update translation files
weblate Oct 9, 2023
72636dd
Update translation files
weblate Oct 9, 2023
379357d
Update translation files
weblate Oct 9, 2023
7c8f29e
Update translation files
weblate Oct 9, 2023
e228891
Update translation files
weblate Oct 9, 2023
830a473
Update translation files
weblate Oct 9, 2023
6fb61f7
Update translation files
weblate Oct 9, 2023
759b48a
Translated using Weblate (Italian)
mymage Oct 11, 2023
db7f7c1
Translated using Weblate (Italian)
mymage Jan 18, 2024
c8b434a
Translated using Weblate (Italian)
mymage Jan 18, 2024
0433d60
Translated using Weblate (Italian)
mymage Mar 15, 2024
9a0f99f
Translated using Weblate (Italian)
mymage Mar 28, 2024
c1865a4
[FIX] bi_sql_editor : prevent to raise an error when creating a cron …
legalsylvain May 31, 2024
76c3c4a
Merge PR #887 into 12.0
OCA-git-bot Jun 5, 2024
0992caa
[BOT] post-merge updates
OCA-git-bot Jun 5, 2024
f98265e
[IMP] report_async: Change schedule_time to Datetime field
RicardCForgeFlow Jul 1, 2024
27e4d3b
[IMP] report_async: add schedule_date field
RicardCForgeFlow Jul 3, 2024
8559848
Merge PR #904 into 12.0
OCA-git-bot Jul 7, 2024
aed6f3b
[UPD] Update report_async.pot
Jul 7, 2024
675d7ec
[BOT] post-merge updates
OCA-git-bot Jul 7, 2024
e685488
Update translation files
weblate Jul 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
27 changes: 27 additions & 0 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Do NOT update manually; changes here will be overwritten by Copier
_commit: v1.15.0
_src_path: https://github.com/OCA/oca-addons-repo-template.git
ci: GitHub
dependency_installation_mode: PIP
generate_requirements_txt: true
github_check_license: true
github_ci_extra_env: {}
github_enable_codecov: true
github_enable_makepot: true
github_enable_stale_action: true
github_enforce_dev_status_compatibility: true
include_wkhtmltopdf: false
odoo_test_flavor: OCB
odoo_version: 12.0
org_name: Odoo Community Association (OCA)
org_slug: OCA
rebel_module_groups: []
repo_description: Report engines for Odoo
repo_name: 'Odoo Alternative Reporting Engine

'
repo_slug: reporting-engine
repo_website: https://github.com/OCA/reporting-engine
travis_apt_packages: []
travis_apt_sources: []

20 changes: 20 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Configuration for known file extensions
[*.{css,js,json,less,md,py,rst,sass,scss,xml,yaml,yml}]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.{json,yml,yaml,rst,md}]
indent_size = 2

# Do not configure editor for libs and autogenerated content
[{*/static/{lib,src/lib}/**,*/static/description/index.html,*/readme/../README.rst}]
charset = unset
end_of_line = unset
indent_size = unset
indent_style = unset
insert_final_newline = false
trim_trailing_whitespace = false
11 changes: 11 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[flake8]
# E123,E133,E226,E241,E242 are ignored by default by pep8 and flake8
# F811 is legal in odoo 8 when we implement 2 interfaces for a method
# F601 pylint support this case with expected tests
# W503 changed by W504 and OCA prefers allow both
# E203: whitespace before ':' (black behaviour and not pep8 compliant)
ignore = E123,E133,E226,E241,E242,F811,F601,W503,W504,E203
max-line-length = 88
per-file-ignores=
__init__.py:F401

37 changes: 37 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: pre-commit

on:
pull_request:
branches:
- "12.0*"
push:
branches:
- "12.0"
- "12.0-ocabot-*"

jobs:
pre-commit:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
python-version: "3.6"
- name: Get python version
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
- uses: actions/cache@v1
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
- name: Install pre-commit
run: pip install pre-commit
- name: Run pre-commit
run: pre-commit run --all-files --show-diff-on-failure --color=always
- name: Check that all files generated by pre-commit are in git
run: |
newfiles="$(git ls-files --others --exclude-from=.gitignore)"
if [ "$newfiles" != "" ] ; then
echo "Please check-in the following files:"
echo "$newfiles"
exit 1
fi
69 changes: 69 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Mark stale issues and pull requests

on:
schedule:
- cron: "0 12 * * 0"

jobs:
stale:
runs-on: ubuntu-latest
steps:
- name: Stale PRs and issues policy
uses: actions/stale@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# General settings.
ascending: true
remove-stale-when-updated: true
# Pull Requests settings.
# 120+30 day stale policy for PRs
# * Except PRs marked as "no stale"
days-before-pr-stale: 120
days-before-pr-close: 30
exempt-pr-labels: "no stale"
stale-pr-label: "stale"
stale-pr-message: >
There hasn't been any activity on this pull request in the past 4 months, so
it has been marked as stale and it will be closed automatically if no
further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply
the "no stale" label.
# Issues settings.
# 180+30 day stale policy for open issues
# * Except Issues marked as "no stale"
days-before-issue-stale: 180
days-before-issue-close: 30
exempt-issue-labels: "no stale,needs more information"
stale-issue-label: "stale"
stale-issue-message: >
There hasn't been any activity on this issue in the past 6 months, so it has
been marked as stale and it will be closed automatically if no further
activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to
apply the "no stale" label.
# 15+30 day stale policy for issues pending more information
# * Issues that are pending more information
# * Except Issues marked as "no stale"
- name: Needs more information stale issues policy
uses: actions/stale@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
ascending: true
only-labels: "needs more information"
exempt-issue-labels: "no stale"
days-before-stale: 15
days-before-close: 30
days-before-pr-stale: -1
days-before-pr-close: -1
remove-stale-when-updated: true
stale-issue-label: "stale"
stale-issue-message: >
This issue needs more information and there hasn't been any activity
recently, so it has been marked as stale and it will be closed automatically
if no further activity occurs in the next 30 days.
If you think this is a mistake, please ask a PSC member to remove the "needs
more information" label.
67 changes: 67 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: tests

on:
pull_request:
branches:
- "12.0*"
push:
branches:
- "12.0"
- "12.0-ocabot-*"

jobs:
unreleased-deps:
runs-on: ubuntu-latest
name: Detect unreleased dependencies
steps:
- uses: actions/checkout@v3
- run: |
for reqfile in requirements.txt test-requirements.txt ; do
if [ -f ${reqfile} ] ; then
result=0
# reject non-comment lines that contain a / (i.e. URLs, relative paths)
grep "^[^#].*/" ${reqfile} || result=$?
if [ $result -eq 0 ] ; then
echo "Unreleased dependencies found in ${reqfile}."
exit 1
fi
fi
done
test:
runs-on: ubuntu-20.04
container: ${{ matrix.container }}
name: ${{ matrix.name }}
strategy:
fail-fast: false
matrix:
include:
- container: ghcr.io/oca/oca-ci/py3.6-ocb12.0:latest
name: test with OCB
makepot: "true"
services:
postgres:
image: postgres:9.6
env:
POSTGRES_USER: odoo
POSTGRES_PASSWORD: odoo
POSTGRES_DB: odoo
ports:
- 5432:5432
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Install addons and dependencies
run: oca_install_addons
- name: Check licenses
run: manifestoo -d . check-licenses
- name: Check development status
run: manifestoo -d . check-dev-status --default-dev-status=Beta
- name: Initialize test db
run: oca_init_test_database
- name: Run tests
run: oca_run_tests
- uses: codecov/codecov-action@v1
- name: Update .pot files
run: oca_export_and_push_pot https://x-access-token:${{ secrets.GIT_PUSH_TOKEN }}@github.com/${{ github.repository }}
if: ${{ matrix.makepot == 'true' && github.event_name == 'push' && github.repository_owner == 'OCA' }}
20 changes: 19 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
/.venv
/.pytest_cache

# C extensions
*.so
Expand All @@ -13,14 +15,14 @@ build/
develop-eggs/
dist/
eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg
*.eggs

# Installer logs
pip-log.txt
Expand All @@ -40,6 +42,19 @@ coverage.xml
# Pycharm
.idea

# Eclipse
.settings

# Visual Studio cache/options directory
.vs/
.vscode

# OSX Files
.DS_Store

# Django stuff:
*.log

# Mr Developer
.mr.developer.cfg
.project
Expand All @@ -54,3 +69,6 @@ docs/_build/
# Backup files
*~
*.swp

# OCA rules
!static/lib/
59 changes: 59 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
exclude: |
(?x)
# NOT INSTALLABLE ADDONS
# END NOT INSTALLABLE ADDONS
# Files and folders generated by bots, to avoid loops
^setup/|/static/description/index\.html$|
# We don't want to mess with tool-generated files
.svg$|/tests/([^/]+/)?cassettes/|^.copier-answers.yml$|^.github/|
# Maybe reactivate this when all README files include prettier ignore tags?
^README\.md$|
# Library files can have extraneous formatting (even minimized)
/static/(src/)?lib/|
# Repos using Sphinx to generate docs don't need prettying
^docs/_templates/.*\.html$|
# You don't usually want a bot to modify your legal texts
(LICENSE.*|COPYING.*)
default_language_version:
python: python3.6
repos:
- repo: https://github.com/oca/maintainer-tools
rev: ab1d7f6
hooks:
# update the NOT INSTALLABLE ADDONS section above
- id: oca-update-pre-commit-excluded-addons
- id: oca-fix-manifest-website
args: ["https://github.com/OCA/reporting-engine"]
- repo: https://github.com/acsone/setuptools-odoo
rev: 3.1.8
hooks:
- id: setuptools-odoo-make-default
- id: setuptools-odoo-get-requirements
args:
- --output
- requirements.txt
- --header
- "# generated from manifests external_dependencies"
- repo: https://github.com/OCA/mirrors-flake8
rev: v3.4.1
hooks:
- id: flake8
name: flake8 excluding __init__.py
exclude: __init__\.py
- repo: https://github.com/pre-commit/mirrors-pylint
rev: v2.5.3
hooks:
- id: pylint
name: pylint with optional checks
args:
- --rcfile=.pylintrc
- --exit-zero
verbose: true
additional_dependencies: &pylint_deps
- pylint-odoo==3.5.0
- id: pylint
name: pylint with mandatory checks
args:
- --rcfile=.pylintrc-mandatory
additional_dependencies: *pylint_deps

Loading