pycharm-odoo icon indicating copy to clipboard operation
pycharm-odoo copied to clipboard

Add line markers to navigate to overriding fields in delegating models

Open trinhanhngoc opened this issue 2 years ago • 0 comments

image

In the above screenshot, product.product inherits fields of product.template by delegation mechanism (https://www.odoo.com/documentation/16.0/developer/reference/backend/orm.html#delegation). The plugin already provided line makers (the gutter icon ↑) to navigate to overridden fields: product.product::default_code => product.template::default_code, product.product::active => product.template::active,... We also need the ability to navigate in reverse direction, e.g. product.template::default_code => product.product::default_code.

trinhanhngoc avatar Oct 18 '22 07:10 trinhanhngoc