Skip to content

Commit

Permalink
Merge PR #564 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Mar 5, 2024
2 parents 728064d + 48fd7f8 commit 92fd637
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion stock_picking_product_barcode_report/controllers/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ def report_barcode(
Gs1_128 = barcode.get_barcode_class("gs1_128")
writer = SVGWitoutTextWriter(module_max_height=height)
gs1_128 = Gs1_128(str(value), writer=writer)
image = gs1_128.render()
image = gs1_128.render(
writer_options={"module_width": 0.5, "quiet_zone": 0.5}
)
return request.make_response(
image, headers=[("Content-Type", "image/svg+xml")]
)
Expand Down

0 comments on commit 92fd637

Please sign in to comment.