changeset f7693a143c69 in modules/stock_package_shipping:default
details:
https://hg.tryton.org/modules/stock_package_shipping?cmd=changeset&node=f7693a143c69
description:
Add option to remove leading and trailing white spaces from char
issue7914
review340511008
diffstat:
stock.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r 9e5409c52b25 -r f7693a143c69 stock.py
--- a/stock.py Sat Sep 10 18:34:29 2022 +0200
+++ b/stock.py Mon Sep 19 21:25:55 2022 +0200
@@ -103,7 +103,8 @@
shipping_label = fields.Binary(
"Shipping Label", readonly=True,
file_id=file_id, store_prefix=store_prefix)
- shipping_label_id = fields.Char("Shipping Label ID", readonly=True)
+ shipping_label_id = fields.Char(
+ "Shipping Label ID", readonly=True, strip=False)
shipping_label_mimetype = fields.Char(
"Shipping Label MIME Type", readonly=True)
shipping_tracking_url = fields.Function(