Closed dorcyv closed 11 months ago
Hello @dorcyv , What Odoo plugin version are you using?
Hi @trinhanhngoc The last one
PyCharm 2023.2.2 (Professional Edition) Build #PY-232.9921.89, built on October 1, 2023 Runtime version: 17.0.8+7-b1000.22 aarch64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 14.0 GC: G1 Young Generation, G1 Old Generation Memory: 2048M Cores: 8 Metal Rendering is ON Registry: debugger.new.tool.window.layout=true ide.experimental.ui=true
Non-Bundled Plugins: com.github.copilot (1.3.1.3453) com.intellij.ml.llm (232.9826) dev.ngocta.pycharm-odoo (2023.9.2.232)
@dorcyv , I just tested again. Everything is still working as expected.
Assuming this problem is related to invalid caches, does the problem still exist after editing any __manifest__.py
files?
Yes, the manifest and init.py files are up to date. After a moment however, the plugin seems to reconize the new model. Also, if I invalidate the cache and restart Pycharm, the new model is also reconize
Once the plugin recognized it, I renamed the model and no problems.
I have the same issue on a Linux desktop (last version too).
There is a similar issue (https://github.com/odoo-ide/pycharm-odoo/issues/338). However, I fixed it in the version 2023.3.3.
Hello @dorcyv ,
I just discovered a stupid bug related to caching that caused this problem. The fix will be released this week.
Nice ! Thanks 😁
Hello @dorcyv ,
The new version 2023.9.4 has been released with the fix.
When we create a new model, the plugin does not reconsize it.