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

TA#67305 [16.0][MIG] report_aeroo #64

Merged
merged 20 commits into from
Oct 25, 2024

[16.0][MIG] main : activate TU

eb7d931
Select commit
Loading
Failed to load commit list.
Merged

TA#67305 [16.0][MIG] report_aeroo #64

[16.0][MIG] main : activate TU
eb7d931
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Oct 25, 2024 in 0s

16 new issues (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 11
- Added 16
           

Complexity increasing per file
==============================
- report_aeroo/barcode/qr.py  1
- report_aeroo/controllers/portal.py  3
- report_aeroo/namespace.py  2
- report_aeroo/models/ir_actions_report.py  3
- report_aeroo/tests/test_email_template.py  2
- report_aeroo/models/aeroo_template_line.py  2
- report_aeroo/models/mail_template.py  9
- report_aeroo/extra_functions.py  3
- report_aeroo/tests/test_report_aeroo.py  2
- report_aeroo/models/aeroo_mimetype.py  1
- report_aeroo/tests/test_report_aeroo_company_eval.py  2
- report_aeroo/demo/lorem.py  11
- report_aeroo/static/src/js/action_manager.js  6
- report_aeroo/tests/test_report_aeroo_multi.py  2
- report_aeroo/tests/test_report_aeroo_access.py  2
- report_aeroo/models/aeroo_filename_line.py  1
- report_aeroo/tests/test_report_aeroo_lang_eval.py  2
- report_aeroo/tests/test_load_views.py  4
- report_aeroo/tests/test_extra_functions.py  2
         

Complexity decreasing per file
==============================
+ report_aeroo/controllers/main.py  -3
         

Clones added
============
- report_aeroo/barcode/code39.py  1
         

See the complete overview on Codacy

Annotations

Check notice on line 6 in Dockerfile

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Dockerfile#L6

Delete the apt-get lists after installing something

Check warning on line 6 in Dockerfile

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Dockerfile#L6

Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`

Check notice on line 8 in report_aeroo/__init__.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

report_aeroo/__init__.py#L8

'.tests' imported but unused (F401)

Check notice on line 5 in report_aeroo/controllers/__init__.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

report_aeroo/controllers/__init__.py#L5

'.main' imported but unused (F401)

Check notice on line 32 in report_aeroo/demo/__init__.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

report_aeroo/demo/__init__.py#L32

'parser' imported but unused (F401)

Check warning on line 228 in report_aeroo/extra_functions.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

report_aeroo/extra_functions.py#L228

Redefining built-in 'format'

Check notice on line 5 in report_aeroo/models/__init__.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

report_aeroo/models/__init__.py#L5

'.aeroo_filename_line' imported but unused (F401)

Check warning on line 10 in report_aeroo/models/ir_actions_report.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

report_aeroo/models/ir_actions_report.py#L10

Consider possible security implications associated with subprocess module.

Check warning on line 500 in report_aeroo/models/ir_actions_report.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

report_aeroo/models/ir_actions_report.py#L500

Unused variable 'filename'

Check warning on line 515 in report_aeroo/models/ir_actions_report.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

report_aeroo/models/ir_actions_report.py#L515

subprocess call - check for execution of untrusted input.

Check warning on line 744 in report_aeroo/models/ir_actions_report.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

report_aeroo/models/ir_actions_report.py#L744

Redefining built-in 'format'

Check warning on line 41 in report_aeroo/models/mail_template.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

report_aeroo/models/mail_template.py#L41

Unused variable 'content_type'

Check notice on line 23 in report_aeroo/static/src/js/action_manager.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

report_aeroo/static/src/js/action_manager.js#L23

Replace `················` with `··········`

Check notice on line 25 in report_aeroo/static/src/js/action_manager.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

report_aeroo/static/src/js/action_manager.js#L25

Replace `····················report_id·` with `··········report_id`

Check notice on line 26 in report_aeroo/static/src/js/action_manager.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

report_aeroo/static/src/js/action_manager.js#L26

Delete `··········`

Check notice on line 49 in report_aeroo/static/src/js/action_manager.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

report_aeroo/static/src/js/action_manager.js#L49

Replace `.category("ir.actions.report·handlers").add("aeroo_handler",·aerooReportHandler);` with `⏎··.category("ir.actions.report·handlers")⏎··.add("aeroo_handler",·aerooReportHandler);⏎`