From 8e691469bab2d0b0d9de7f562e1ab96b310b4012 Mon Sep 17 00:00:00 2001 From: Dave Date: Tue, 2 Jul 2024 10:09:11 +0200 Subject: [PATCH] fix jinja methods for item label for v14 --- msp/hooks.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/msp/hooks.py b/msp/hooks.py index 9362461..3195ce5 100644 --- a/msp/hooks.py +++ b/msp/hooks.py @@ -18,11 +18,11 @@ app_license = "GPLv3" # app_include_css = "/assets/msp/css/msp.css" app_include_js = "/assets/msp/js/customer_quick_entry.js" -jenv = { +jinja = { "methods": [ - "jinja_get_item_price:msp.things.get_item_price_for_label", - "jinja_get_epc_code:msp.things.get_epc_inline", - "jinja_get_qr_code:msp.things.get_qr_code_inline" + "msp.things.get_item_price_for_label", + "msp.things.get_epc_inline", + "msp.things.get_qr_code_inline" ] }