Skip to content

Conversation

@benwillig
Copy link

Description of the issue/feature this PR addresses:
When inheriting from a field and changing its attributes, Odoo will override the translatable fields of ir.model and ir.model.fields, losing all of the translations. This commit preserve the old translations when the term we want to use is the same that we find in english lang

Current behavior before PR:
Changing an attribute when inheriting a field will erase translations loaded by previous modules.

Desired behavior after PR is merged:
Loaded translations are kept if source term is the same.


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

… inherited

When inheriting from a field and changing its attributes, Odoo will override the translatable
fields of ir.model and ir.model.fields, losing all of the translations. This commit preserve the old translations when the term we want to use is the same that we find in english lang
@benwillig
Copy link
Author

@sbidoul I would like to have your point of view about this one before pushing it to odoo.

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