Juan Carlos
Juan Carlos
For v10: ``` _fields: Dict[str, fields.Field] _ids: List[int] ``` For v11, v12: ``` _ids: List[int] ```
`odoo/addons/portal/models/portal_mixin.py`  ```python def _notify_get_groups(self, msg_vals=None): access_token = self._portal_ensure_token() groups = super(PortalMixin, self)._notify_get_groups(msg_vals=msg_vals) local_msg_vals = dict(msg_vals or {}) if access_token and 'partner_id' in self._fields and self['partner_id']: customer = self['partner_id'] local_msg_vals['access_token']...
When you Ctrl+Clic over a field definition, you get a lot of unrelated results in "XML descriptor", "Value read", "Value write".  
src/odoo/odoo/addons/payment_adyen/static/src/js/payment_form.js  src/odoo/odoo/addons/payment_test/static/src/js/payment_form.js 
In file `OCA/connector/component/core.py` we can see that Pycharm doesn't give a type on most properties and methods. `AbstractComponent`     `WorkContext`  Due to this, Pycharm can properly...
``` java.lang.Throwable: Assertion failed: Text of a single string literal node expected at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:465) at com.jetbrains.python.psi.PyStringLiteralUtil.getContentRange(PyStringLiteralUtil.java:77) at com.jetbrains.python.psi.impl.PyPlainStringElementImpl.getContentRange(PyPlainStringElementImpl.java:49) at com.jetbrains.python.psi.impl.PyStringLiteralDecoder.decodeContent(PyStringLiteralDecoder.java:70) at com.jetbrains.python.psi.impl.PyPlainStringElementImpl.getDecodedFragments(PyPlainStringElementImpl.java:43) at com.jetbrains.python.psi.impl.PyStringLiteralExpressionImpl.lambda$getDecodedFragments$2(PyStringLiteralExpressionImpl.java:78) at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:273) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)...
I'm making this helper module ```python # -*- coding: utf-8 -*- from ast import literal_eval from odoo import api, models from odoo.osv import expression class CustomHelper(models.AbstractModel): # Private attributes _name...
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...
Odoov15 `odoo/addons/product/report/product_packaging.xml` 
``` PyCharm 2023.2.5 (Professional Edition) Build #PY-232.10227.11, built on November 13, 2023 Licensed to Juan Carlos Fernández You have a perpetual fallback license for this version. Subscription is active until...