-
-
Notifications
You must be signed in to change notification settings - Fork 197
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
[14.0] shopfloor checkout: Better messages #983
[14.0] shopfloor checkout: Better messages #983
Conversation
Hi @TDu, @simahawk, @guewen, @JuMiSanAr, @sebalix, |
@@ -952,3 +983,13 @@ def lot_change_no_line_found(self): | |||
"message_type": "error", | |||
"body": _("Unable to find a line with the same product but different lot."), | |||
} | |||
|
|||
def picking_type_is_return(self, picking): |
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.
The fact that it is a return is a specific use case. Make the method name more generic.
def picking_type_is_return(self, picking): | |
def reserved_for_other_picking_type(self, picking): |
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.
It looks good !
closed in favor of #987 |
Based on #972
Only review shopfloor_checkout commits here, thanks <3