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

[FIX] base: Fix issues importing translations #7

Open
wants to merge 1 commit into
base: 10.0-odoo-hugely_degraded_performance_in_translation_subquery
Choose a base branch
from

Conversation

FFernandez-PlanetaTIC
Copy link

@FFernandez-PlanetaTIC FFernandez-PlanetaTIC commented Jan 16, 2020

  • Previous commit breaks import (from ONLY needed in where not exists)
  • Avoid duplicates in import (select DISTINCT needed in insert into)

cc @PlanetaTIC

- Previous commit breaks import (from ONLY needed in where not exists)
- Avoid duplicates in import (select DISTINCT needed in insert into)
@FFernandez-PlanetaTIC
Copy link
Author

Hi @eantones ,

791aae0 breaks translations import, no term is imported.

Luckily tests fail:

https://travis-ci.org/OCA/OCB/jobs/637621310#L808

This fixes it and also avoids to import duplicates.

Regards!

@eantones
Copy link
Member

Hi @FFernandez-PlanetaTIC,

I corrected it based on your solution but with minor changes, see OCA#899

Thank you!

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

Successfully merging this pull request may close these issues.

2 participants