-
-
Notifications
You must be signed in to change notification settings - Fork 303
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
[18.0][MIG] mgmtsystem_nonconformity_hazard: Migration to 18.0 #626
[18.0][MIG] mgmtsystem_nonconformity_hazard: Migration to 18.0 #626
Conversation
Currently translated at 100.0% (5 of 5 strings) Translation: management-system-16.0/management-system-16.0-mgmtsystem_nonconformity_hazard Translate-URL: https://translation.odoo-community.org/projects/management-system-16-0/management-system-16-0-mgmtsystem_nonconformity_hazard/it/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/ocabot migration mgmtsystem_nonconformity_hazard
@@ -16,7 +16,7 @@ | |||
<page string="Hazards" name="hazards"> | |||
<field | |||
name="hazard_ids" | |||
attrs="{'readonly':[('state','not in',['draft','analysis'])]}" | |||
readonly="[('state','not in',['draft','analysis'])]" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This domain expression should be transformed to a pythonic expression.
readonly="state not in ('draft', 'analysis')"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ivantodorovich, Thanks for the suggestion! it's fixed.
18fe122
to
df91313
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
/ocabot merge nobump |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at 7e6a826. Thanks a lot for contributing to OCA. ❤️ |
depends on