pycharm-odoo
pycharm-odoo copied to clipboard
Type hint for OCA components
Following your advice here https://github.com/odoo-ide/pycharm-odoo/issues/342#issuecomment-1594027932
Could be possible to have type hints for OCA components?
For example, for this
class MyComponent(Component):
_name = 'custom.comp.name'
_usage = 'custom.comp.usage'
I'm thinking of something like odoo.oca_comp_name.custom_comp_name
and/or odoo.oca_comp_usage.custom_comp_usage
What do you think, is it possible?
@jcfernandez-890825 ,
Yes, it's sure possible. Here are my ideas:
-
oca.component.xxx
for compomentxxx