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
When attempting to load the views_migration_17 module in a Doodba Odoo 17.0 development environment, the operation fails with the following error:
ERROR devel odoo.addons.views_migration_17.patch_xml_import: FAIL ! [target_addon] (/opt/odoo/auto/addons/[some xml in target_addon]) [Errno 30] Read-only file system: '/opt/odoo/auto/addons/[some xml in target_addon]
The views_migration_17 module is designed to address issues with the attrs attribute in XML views during migrations from Odoo versions prior to v17.
Steps to Reproduce
Affected Version: Odoo 17.0
Reproduction Steps:
Set up an Odoo 17.0 development environment using Doodba.
Add to addons.yaml:
server-tools: '*'
Run:
inv git-aggregate
Run:
docker compose run --rm odoo odoo -d devel -i [some addon you want to fix] --load=base,web,views_migration_17 --stop-after-init
Observe the error message.
Additional Context
This issue appears to be linked to the read-only nature of the /opt/odoo/auto/addons/ directory in the Doodba setup.
This is not a problem of the Doodba copier template, but the module. The module should allow to write on another path, and thus, you invoke it adding a volume with rw permissions.
Issue Description
When attempting to load the
views_migration_17
module in a Doodba Odoo 17.0 development environment, the operation fails with the following error:ERROR devel odoo.addons.views_migration_17.patch_xml_import: FAIL ! [target_addon] (/opt/odoo/auto/addons/[some xml in target_addon]) [Errno 30] Read-only file system: '/opt/odoo/auto/addons/[some xml in target_addon]
The
views_migration_17
module is designed to address issues with theattrs
attribute in XML views during migrations from Odoo versions prior to v17.Steps to Reproduce
Affected Version: Odoo 17.0
Reproduction Steps:
Additional Context
This issue appears to be linked to the read-only nature of the /opt/odoo/auto/addons/ directory in the Doodba setup.
A similar problem was reported in OCA/server-tools#2793
Expected Outcome
A workaround or hack to be able to load views_migration_17.
The text was updated successfully, but these errors were encountered: