Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0] l10n_eu_nace - migration script #197

Open
edlopen opened this issue Apr 26, 2024 · 1 comment
Open

[16.0] l10n_eu_nace - migration script #197

edlopen opened this issue Apr 26, 2024 · 1 comment

Comments

@edlopen
Copy link
Member

edlopen commented Apr 26, 2024

I'm working on a migration script for that module as I forgot to add one when I migrated the module. Hopefully on Monday I'll push a PR for this issue.

@Lukwos
Copy link

Lukwos commented Oct 3, 2024

I suppose this issue is related to this merged PR : #205

@edlopen I got an error from this migration script if '_ir_translation' does not exist

File "/usr/local/lib/python3.10/dist-packages/odoo/addons/l10n_eu_nace/migrations/16.0.1.0.0/pre-migrate.py", line 26, in migrate
    cr.execute(
  File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 321, in execute
    res = self._obj.execute(query, params)
psycopg2.errors.UndefinedTable: relation "_ir_translation" does not exist
LINE 6:             FROM _ir_translation it

I think it's related to this: https://oca.github.io/openupgradelib/API.html#openupgradelib.openupgrade_160.migrate_translations_to_jsonb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants