Skip to content

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
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
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.

6 participants