odoo-ide / pycharm-odoo

PyCharm plugin for Odoo
https://plugins.jetbrains.com/plugin/13499-odoo
Other
41 stars 5 forks source link

Disable the PyUnusedLocal inspection on hook functions #468

Closed jcfernandez-890825 closed 2 months ago

jcfernandez-890825 commented 3 months ago

On hook functions like this ones:

odoo/addons/l10n_mx_edi_extended/hooks.py

odoo/addons/product_unspsc/hooks.py

odoo/addons/l10n_mx_edi/hooks.py image

Could you disable the PyUnusedLocal inspection ?

So pretty much on any function mentioned in the [...hook] keys inside the __manifest__.py

trinhanhngoc commented 3 months ago

@jcfernandez-890825 ,

👌👌👌👌👌👌👌👌👌👌

trinhanhngoc commented 2 months ago

Hi @jcfernandez-890825 ,

The new version 2024.3.2 has been released with this improvement.