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

[14.0] shopfloor checkout: Better messages #983

Closed

Conversation

mmequignon
Copy link
Member

Based on #972
Only review shopfloor_checkout commits here, thanks <3

@OCA-git-bot
Copy link
Contributor

Hi @TDu, @simahawk, @guewen, @JuMiSanAr, @sebalix,
some modules you are maintaining are being modified, check this out!

@@ -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):
Copy link
Contributor

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.

Suggested change
def picking_type_is_return(self, picking):
def reserved_for_other_picking_type(self, picking):

Copy link
Contributor

@jbaudoux jbaudoux left a comment

Choose a reason for hiding this comment

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

It looks good !

@mmequignon
Copy link
Member Author

closed in favor of #987

@mmequignon mmequignon closed this Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants