Closed JesusZapata closed 7 years ago
@moylop260 This is a small change to avoid false positives
I'm not sure that this is a valid xml for odoo. I mean, official documentation talk us about use both.
Could you check if odoo use the noupdate correctly for this case?
@moylop260
In the documentation of odoo I can't no see noting related with the use of noupdate
Only see the follow help related to noupdate
The tag <data> is only used to set not-updatable data with noupdate=1
And I found the same behavior on the odoo code
@moylop260
I run this change over the module of odoo sales_team
Without this change the output is the follow The pylint-odoo detect four files
After apply this change over the code the output is the follow The pylint-odoo detect two files
Could you create the OCA's PR, please? I'll update this project after merge
I will close this pull request because the pull request in the OCA was merged https://github.com/OCA/pylint-odoo/pull/156 and the change is in the Vauxoo since https://github.com/Vauxoo/pylint-odoo/commit/43a5af59104e9a8cb79396fafde74047acc37522
Detect the children inside the odoo xml tag and only active the check
deprecated-data-xml-node
when exist one tagdata
inside de xmlThis fix skip the follow case
Fix https://github.com/Vauxoo/pylint-odoo/issues/128