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

[17.0][MIG] sale_confirm_activities_mandatory: Migration to 17.0 #3035

Open
wants to merge 3 commits into
base: 17.0
Choose a base branch
from

Conversation

yankinmax
Copy link
Contributor

@yankinmax yankinmax force-pushed the 17.0-mig-sale_confirm_activities_mandatory branch 5 times, most recently from 7297daa to bcd6a5f Compare March 22, 2024 10:52
@yankinmax yankinmax mentioned this pull request Mar 22, 2024
67 tasks
@yankinmax
Copy link
Contributor Author

@SilvioC2C thanks for your review

@yankinmax yankinmax force-pushed the 17.0-mig-sale_confirm_activities_mandatory branch from bcd6a5f to 48293b8 Compare March 25, 2024 07:36
@yankinmax yankinmax force-pushed the 17.0-mig-sale_confirm_activities_mandatory branch from 48293b8 to 5d9499e Compare March 25, 2024 10:25
Copy link

@Camille0907 Camille0907 left a comment

Choose a reason for hiding this comment

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

LGTM

Comment on lines +96 to +97
# SO must have 3 activities (the default one and the 2 validations ones
self.assertEqual(2, len(self.sale_order.activity_ids))

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

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 ?

@rousseldenis
Copy link
Sponsor Contributor

/ocabot migration sale_confirm_activities_mandatory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants