You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Odoo 10 (I believe this would also happen in earlier versions, but in this branch, project_timesheet_analytic_partner is auto_install and not installable which is needed for this issue)
Have erppeek create a database, then install module project_closing.
Actual result:
An Odoo error:
20170531 16:21:48.275 : FAIL : Pending actions:
to install project_timesheet_analytic_partner
This module is marked auto_install and not installable in its manifest file.
Expected result:
erppeek does not care about modules that are not needed by project_closing, and installs it.
Additional details:
If I manually create a new database via the web interface, the project_timesheet_analytic_partner is pending, but I can still successfully install project_closing.
Then I turned to OCA, and asked them about modules being auto_install, and they said it was intentional because these modules are "glue" modules.
I tried various things in erppeek.py in the _upgrade() method (around the "Safety check" comments) and I was planning on making a PR with some fix, but nothing worked and I eventually gave up.
The text was updated successfully, but these errors were encountered:
Not sure how to handle this case.
As a workaround, you can set the state of the culprit module:
pending_install=model('ir.module.module').browse(['state = to install'])
print(pending_install.name)
# Then force the statepending_install.write({'state': 'uninstalled'})
By doing this:
https://github.com/OCA/project.git
Actual result:
An Odoo error:
This module is marked auto_install and not installable in its manifest file.
Expected result:
erppeek does not care about modules that are not needed by project_closing, and installs it.
Additional details:
The text was updated successfully, but these errors were encountered: