Allow to add order position number to PDFs

This commit is contained in:
Raphael Michel
2019-11-01 14:29:48 +01:00
parent 2e9e5a8994
commit 7d72611851

View File

@@ -53,6 +53,11 @@ DEFAULT_VARIABLES = OrderedDict((
"editor_sample": "A1B2C",
"evaluate": lambda orderposition, order, event: orderposition.order.code
}),
("positionid", {
"label": _("Order position number"),
"editor_sample": "1",
"evaluate": lambda orderposition, order, event: orderposition.positionid
}),
("item", {
"label": _("Product name"),
"editor_sample": _("Sample product"),