Closed IJOL closed 1 year ago
Hi @IJOL , can you provide additional information like PyCharm version, Odoo plugin version, Odoo version and screenshots of errors?
Sorry, i was completing my initial report, pycharm 2023.1.2 and updated plugin just few minutes ago.. odoo v10
@IJOL Have you tried Invalidate caches?
Tried invalidate and restart without any boxes checked, and we use 3 odoo versions , v10 and v16 have the same problems reported but odoo v12 is not doing the same. the v12 xml opens without issues
@IJOL In this screenshot:
Have you set up the integration
module to depend (directly or indirectly) on the queue_job
module?
of course,
@IJOL Do you also get the same errors in Python files, for example:
self.env['queue.job.channel'] // error: unresolved reference 'queue.job.channel'
v10 and v16 equally failed, v12 not, all the installs configs and so on are more or less the same, they all them run a sane odoo, working as charm, no issues related to odoo in itself, i've just checked that the views in odoo source open in all three without issues, and no the queue.job.channel model is present for sure.. i can open some other xml as example that do not relate to that queue module at all
@IJOL This is my project structure, how about yours?
@IJOL The errors appear in the project addons160
, which I assume depends on the project odoo160
. If true, please check if your Project Dependencies settings are correct.
Ok, you nailed it, was a dependency problem, addons100 and 160 didnt depend in the corresponding odoo1XX, but in addons120 it was correct, many thanks, please delete all those images of my setup please , ;)..
Every xml file in my project now, as i dont remember this being an issue a week or so ago, contains multiple errors like the ones below :
Cannot resolve symbol 'ir.actions.act_window' Cannot resolve symbol 'name' Cannot resolve symbol 'res_model'
and so on, every xml file now has this kind of errors, is annoying because this complicates our precommit checks very much.. pycharm 2023.1.2 and updated plugin just few minutes ago.. odoo v10