pycharm-odoo
pycharm-odoo copied to clipboard
PyCharm plugin for Odoo
https://github.com/odoo/odoo/blob/5f78893ad6cf199ce0da72335ce65835d9cd37d9/addons/crm/wizard/crm_lead_to_opportunity_views.xml#L34 The `res_partner_many2one` widget is defined in the `partner_autocomplete` module with `auto_install=True`.
Hi Not a huge issue, but is it possible to show "Choose Declaration" popup for models in the same way as you're doing for fields? Fields include class name, helps...
This issue was discovered while I supported Eslam Rezk about his issue with the Odoo plugin via email.  His project contains both editions of the odoo...
https://user-images.githubusercontent.com/11208291/202080628-4ddd6435-7630-4db6-b1a4-4ac79c3fa7e8.mov Module name in the import completion should follow Odoo framework like `@web/views/kanban/kanban_view`.
https://github.com/odoo/odoo/blob/45b5bbfcf7e154e97cbc52013f874208998f573f/addons/product/data/product_demo.xml#L787 Ref: https://github.com/odoo/odoo/blob/45b5bbfcf7e154e97cbc52013f874208998f573f/odoo/addons/base/models/ir_property.py#L72
https://github.com/odoo/odoo/blob/ec929f787f629940cd38a4ed25e5012335e2483d/addons/sale/views/sale_order_views.xml#L493
https://github.com/odoo/odoo/blob/ec929f787f629940cd38a4ed25e5012335e2483d/addons/sale/views/sale_order_views.xml#L494 `[('parent.state', 'not in', ['draft', 'sent', 'sale'])]`: `parent` is a reference to the record context of the parent view. Ref: 1. https://github.com/odoo/odoo/blob/ec929f787f629940cd38a4ed25e5012335e2483d/addons/web/static/src/views/fields/field.js#L132 2. https://github.com/odoo/odoo/blob/ec929f787f629940cd38a4ed25e5012335e2483d/addons/web/static/src/core/domain.js#L203 3. https://github.com/odoo/odoo/blob/ec929f787f629940cd38a4ed25e5012335e2483d/addons/web/static/src/views/relational_model.js#L469
https://github.com/odoo/odoo/blob/341dff9b5a0d41e8794d081f0aacb9c667afb871/odoo/addons/base/tests/test_orm.py#L201 - Field references for code completion and navigation - Granularity completion
https://github.com/odoo/odoo/blob/a8055d3637c06ee1b91c7f1ac7330fe9cd2c38d2/addons/crm/models/crm_lead.py#L129
https://github.com/odoo/odoo/blob/a8055d3637c06ee1b91c7f1ac7330fe9cd2c38d2/addons/crm/models/crm_lead.py#L119 Ref: https://github.com/odoo/odoo/blob/a8055d3637c06ee1b91c7f1ac7330fe9cd2c38d2/odoo/fields.py#L3188