-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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][MIG] sale_confirm_activities_mandatory: Migration to 17.0 #3035
base: 17.0
Are you sure you want to change the base?
[17.0][MIG] sale_confirm_activities_mandatory: Migration to 17.0 #3035
Conversation
7297daa
to
bcd6a5f
Compare
sale_confirm_activities_mandatory/models/mail_activity_mixin.py
Outdated
Show resolved
Hide resolved
@SilvioC2C thanks for your review |
bcd6a5f
to
48293b8
Compare
48293b8
to
5d9499e
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.
LGTM
# SO must have 3 activities (the default one and the 2 validations ones | ||
self.assertEqual(2, len(self.sale_order.activity_ids)) |
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.
Does the comment match the code ?
].action_done_schedule_next() | ||
# no activities left on SO | ||
self.assertEqual(0, len(self.sale_order.activity_ids)) | ||
# user_not_validator should not be able to confirm sale order |
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 is not tested, is it ?
/ocabot migration sale_confirm_activities_mandatory |
Forward-port of:
Depends on: