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

16.0 stock_location_lockdown: Silly formatting error in error message #2275

Open
gdgellatly opened this issue Feb 27, 2025 · 0 comments
Open
Labels

Comments

@gdgellatly
Copy link

Module

stock_location_lockdown

Describe the bug

The error message in

raise UserError(
_(
"It is impossible to prohibit this location from\
receiving products as it already contains some."
)
is wrongly formatted. I would fix it, but I also see not only is the source string wrongly formatted so are all the translated ones and not sure the implications.

To Reproduce

Affected versions:

Steps to reproduce the behavior:

  1. Block Stock Entrance in any location with products.

Expected behavior
Display nice message without a big gap in the middle

@gdgellatly gdgellatly added the bug label Feb 27, 2025
@gdgellatly gdgellatly changed the title 16.0 Silly formatting error in error message 16.0 stock_location_lockdown: Silly formatting error in error message Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant