-
-
Notifications
You must be signed in to change notification settings - Fork 784
[17.0][OU-ADD] website_slides: Migration to 17.0 #4558
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
Conversation
|
thanks for your contribution /ocabot migration website_slides Depends on :
|
|
|
||
| @openupgrade.migrate() | ||
| def migrate(env, version): | ||
| openupgrade.load_data(env, "website_slides", "17.0.2.7/noupdate_changes.xml") |
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.
delete template translations
| website_slides / slide.channel / visibility (selection) : selection_keys is now '['connected', 'members', 'public']' ('['members', 'public']') | ||
| # NOTHING TO DO | ||
|
|
||
| website_slides / slide.channel.partner / active (boolean) : NEW hasdefault: default |
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.
better to precreate and fill
| website_slides / slide.channel.partner / active (boolean) : NEW hasdefault: default | ||
| website_slides / slide.channel.partner / completed (boolean) : DEL | ||
| website_slides / slide.channel.partner / last_invitation_date (datetime): NEW | ||
| website_slides / slide.channel.partner / member_status (selection) : NEW required, selection_keys: ['completed', 'invited', 'joined', 'ongoing'] |
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.
needs to fill using completion field:
- 'joined' : enrolled member, not started (
completion== 0) - 'ongoing' : enrolled member, started but never finished (0 <
completion< 100) - 'completed' : enrolled member who completed the course (
completion== 100)
'invited' is new feature.
| DEL ir.rule: website_slides.rule_slide_channel_not_website (noupdate) | ||
| DEL ir.rule: website_slides.rule_slide_slide_not_website (noupdate) |
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.
safely delete
|
Superseded by #4838. |
No description provided.