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

Master web editor translation broken sah #16391

Closed

Conversation

sah-odoo
Copy link
Contributor

@C3POdoo C3POdoo added the RD research & development, internal work label Apr 12, 2017
@@ -542,7 +542,7 @@ def _check_value(self):
mname, fname = trans.name.split(',')
record = trans.env[mname].browse(trans.res_id)
field = record._fields[fname]
if callable(field.translate):
if callable(field.translate) and field.type != 'html':
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do not disable the constrain, fix the error instead

@rdeodoo rdeodoo added the Web editor website editor label Oct 2, 2017
@hmo-odoo
Copy link
Contributor

fixed at 7ada921

@hmo-odoo hmo-odoo closed this Mar 19, 2018
@hmo-odoo hmo-odoo deleted the master-web-editor-translation-broken-sah branch March 19, 2018 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RD research & development, internal work Web editor website editor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants