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

neutralize.sql:1: [W7930(file-not-used), ] not used from manifest #464

Closed
yajo opened this issue Jul 27, 2023 · 1 comment
Closed

neutralize.sql:1: [W7930(file-not-used), ] not used from manifest #464

yajo opened this issue Jul 27, 2023 · 1 comment
Labels

Comments

@yajo
Copy link
Member

yajo commented Jul 27, 2023

Module

See OCA/report-print-send#328

Describe the bug

pylint says there:

base_report_to_printer/data/neutralize.sql:1: [W7930(file-not-used), ]  not used from manifest

However, it's expected to have data/neutralize.sql files in v16 that are not declared on manifests. That's a hardcoded path for the neutralization feature. See odoo/odoo#101529 for history.

To Reproduce

Affected versions: 16

Steps to reproduce the behavior:

  1. Add a data/neutralize.sql file to a module

Expected behavior
Pylint happy

@moylop260
Copy link
Collaborator

I saw the CI green

Even I tried to run the following command:

git clone git@github.com:OCA/report-print-send.git -b 16.0 --depth=1 /tmp/report-print-send
pylint --load-plugins=pylint_odoo -d all -e file-not-used /tmp/report-print-send

And I even can not reproduce it

I'm using the following version:

pip freeze |grep pylint-odoo
pylint-odoo==8.0.9

Please, feel free to give more details how it can be reproduce it and re-open it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants