-
-
Notifications
You must be signed in to change notification settings - Fork 393
[17.0][FIX] stock_picking_product_barcode_report: Fix parameter name in barcode generation (type → barcode_type) #695
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
Conversation
|
Hi @CarlosRoca13, |
ValentinVinagre
left a comment
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.
LGTM 👍🏻
| def report_barcode( | ||
| self, | ||
| type, # pylint: disable=redefined-builtin | ||
| barcode_type, # pylint: disable=redefined-builtin |
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.
You can remove the pylint disable.
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.
Done! Thanks
…code generation (type → barcode_type)
521fa47 to
c8aff03
Compare
pedrobaeza
left a comment
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.
/ocabot merge patch
|
Hey, thanks for contributing! Proceeding to merge this for you. |
|
Congratulations, your PR was merged at 300aa21. Thanks a lot for contributing to OCA. ❤️ |
|
@Anxo82 Could you move it to the next versions if necessary? Thanks 😸 |
Before the fix, barcode images were not rendered correctly in reports when using the gs1_128 format. This was caused by a mismatch between the parameter name used in the report template (type) and the one expected by the controller (barcode_type):

This commit updates the QWeb template to use barcode_type consistently and modifies the controller to accept the correct parameter.
@HaraldPanten @Jaimermaccione
[T-8006]