PDF: Fix incorrect type of position id

This commit is contained in:
Raphael Michel
2019-11-02 12:33:29 +01:00
parent a0ca76f0ec
commit f51521143b

View File

@@ -56,7 +56,7 @@ DEFAULT_VARIABLES = OrderedDict((
("positionid", { ("positionid", {
"label": _("Order position number"), "label": _("Order position number"),
"editor_sample": "1", "editor_sample": "1",
"evaluate": lambda orderposition, order, event: orderposition.positionid "evaluate": lambda orderposition, order, event: str(orderposition.positionid)
}), }),
("item", { ("item", {
"label": _("Product name"), "label": _("Product name"),