From bc9fe528427b00e7615793f49f5c5b90be38af1a Mon Sep 17 00:00:00 2001 From: Thomas Heck Date: Wed, 12 Sep 2012 11:15:37 +0200 Subject: [PATCH] Fehler: 'Can't locate object method "id" via package "SL:B::Contact"' in Lieferschein(Verkauf) behoben. aus Commit 5896615180704b3dddba46f4064a47ff1f094c3c --- templates/webpages/do/form_header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/webpages/do/form_header.html b/templates/webpages/do/form_header.html index b9c1d690b..aeb0873ac 100644 --- a/templates/webpages/do/form_header.html +++ b/templates/webpages/do/form_header.html @@ -139,7 +139,7 @@ [%- HTML.escape(row.cp_name) %][%- IF row.cp_abteilung %] ([% HTML.escape(row.cp_abteilung) %])[% END -%] [%- END %] [%- ELSE %] - [% L.select_tag('cp_id', ALL_CONTACTS, default = cp_id, value = 'cp_id', title = 'full_name_dep', with_empty = 1, style='width: 250px') %] + [% L.select_tag('cp_id', ALL_CONTACTS, default = cp_id, value_key = 'cp_id', title_key = 'full_name_dep', with_empty = 1, style='width: 250px') %] [%- END %] -- 2.20.1