Juan Carlos

Results 21 issues of 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` ![image](https://user-images.githubusercontent.com/28876647/185458508-18de1591-f37d-49e7-9a35-00b207f15575.png) ```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']...

enhancement

When you Ctrl+Clic over a field definition, you get a lot of unrelated results in "XML descriptor", "Value read", "Value write". ![image](https://user-images.githubusercontent.com/28876647/151565193-1f62e75d-8fc2-4c7c-8391-74a436a318c8.png) ![image](https://user-images.githubusercontent.com/28876647/151564851-d3865519-0e3e-4513-b36a-9812260c3822.png)

enhancement

src/odoo/odoo/addons/payment_adyen/static/src/js/payment_form.js ![image](https://user-images.githubusercontent.com/28876647/172642312-8e0426ae-6b48-4288-9659-54a76c6ace8a.png) src/odoo/odoo/addons/payment_test/static/src/js/payment_form.js ![image](https://user-images.githubusercontent.com/28876647/172642437-ffd1ebd5-6ff4-40d2-acd7-a1afd1c80e05.png)

enhancement

In file `OCA/connector/component/core.py` we can see that Pycharm doesn't give a type on most properties and methods. `AbstractComponent` ![image](https://github.com/odoo-ide/pycharm-odoo/assets/28876647/c3843d8a-f6ad-404e-aa06-b5fd313cf54f) ![image](https://github.com/odoo-ide/pycharm-odoo/assets/28876647/bd5c54e6-802a-4e8a-b252-f171dce891c4) ![image](https://github.com/odoo-ide/pycharm-odoo/assets/28876647/04c1ce2a-9e44-4cf9-9085-16d7221d140a) ![image](https://github.com/odoo-ide/pycharm-odoo/assets/28876647/9cc9a7d3-dbed-433d-b769-ca3a12c5b85e) `WorkContext` ![image](https://github.com/odoo-ide/pycharm-odoo/assets/28876647/4b14a7f9-5d49-4cb8-9dc2-8fcbe733ab6a) Due to this, Pycharm can properly...

enhancement

``` 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)...

pycharm bug

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...

enhancement

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...

enhancement

Odoov15 `odoo/addons/product/report/product_packaging.xml` ![image](https://user-images.githubusercontent.com/28876647/220331297-79b84d9c-cab3-4aff-a7a7-a14b3067a662.png)

duplicate

``` 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...

pycharm bug