-
-
Notifications
You must be signed in to change notification settings - Fork 314
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
[17.0][IMP] mis_builder: enforce unique style name #656
[17.0][IMP] mis_builder: enforce unique style name #656
Conversation
Hi @sbidoul, |
@@ -133,6 +132,10 @@ def check_positive_val(self): | |||
hide_always_inherit = fields.Boolean(default=True) | |||
hide_always = fields.Boolean(default=False) | |||
|
|||
_sql_constraints = [ | |||
("style_name_event_uniq", "unique(name)", "Style name should be unique") |
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.
("style_name_event_uniq", "unique(name)", "Style name should be unique") | |
("style_name_uniq", "unique(name)", "Style name should be unique") |
A little detail.
019288f
to
f12a94f
Compare
/ocabot merge minor |
Hey, thanks for contributing! Proceeding to merge this for you. |
It looks like something changed on |
Congratulations, your PR was merged at 57ef952. Thanks a lot for contributing to OCA. ❤️ |
No description provided.