Trịnh Anh Ngọc
Trịnh Anh Ngọc
Multiple elements with same id but in different templates confuse PyCharm. https://github.com/odoo/odoo/blob/de2d544a89f27959ec991defc5354b9ddddd6819/addons/website/views/website_templates.xml#L274 https://github.com/odoo/odoo/blob/de2d544a89f27959ec991defc5354b9ddddd6819/addons/website/views/website_templates.xml#L338
The Odoo plugin already supports config parameter reference for `get_param()`. Hence we also need support for `set_param()`. https://github.com/odoo/odoo/blob/5ca1b68ef9f5b31416cdfbeee6e984ca754d38cd/odoo/addons/base/tests/test_ir_attachment.py#L47
Currently, the documentation for a model does not provide much useful information. The Odoo plugin can provide more information in the documentation, like in the Odoo Settings for example:
PyCharm currently only shows documentation for references resolved to a single definition. https://github.com/odoo/odoo/blob/5ca1b68ef9f5b31416cdfbeee6e984ca754d38cd/addons/account/models/account_account.py#L14
Documentation: https://www.odoo.com/documentation/16.0/developer/reference/frontend/framework_overview.html#environment Environment is defined in `makeEnv()`: https://github.com/odoo/odoo/blob/509bda2202df9f0f582fd020d96e8e1310b9abc7/addons/web/static/src/env.js#L30 - [ ] Type inference for `Component.env`. - [ ] Type inference for `useEnv()` hook. - [ ] Type inference for function's...
https://github.com/odoo/odoo/blob/905009689ba766f6cf4ba4432b5f021931bee233/addons/crm/static/src/views/crm_form/crm_form.js#L16 https://github.com/odoo/odoo/blob/905009689ba766f6cf4ba4432b5f021931bee233/addons/web/static/src/views/form/form_view.js#L17 Upstream JetBrains issue: https://youtrack.jetbrains.com/issue/WEB-37556/ES6-classes-treated-as-objects-when-used-in-object-initializer
https://github.com/odoo/odoo/blob/d534461a38817fe884a1ea10b3ca6eea39d1fca9/addons/sale/models/sale_order_line.py#L986
For unknown contexts such as in prepare methods, we can use the type hint for recordset values introduced in #194. For some common ORM methods such as `create()` and `write()`,...
https://youtrack.jetbrains.com/issues?q=&preview=PY-61315 @east825
**Describe the bug** While debugging an issue related to the method override completion feature in the completion provider, I discovered an issue where the `parseTreeUtils.findNodeByOffset` function returns an incorrect node...