From: Thomas Heck Date: Wed, 12 Sep 2012 09:15:37 +0000 (+0200) Subject: Fehler: 'Can't locate object method "id" via package "SL:B::Contact"' in Lieferschein... X-Git-Tag: release-3.0.0beta1~238^2~3 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=bc9fe528427b00e7615793f49f5c5b90be38af1a;p=kivitendo-erp.git Fehler: 'Can't locate object method "id" via package "SL:B::Contact"' in Lieferschein(Verkauf) behoben. aus Commit 5896615180704b3dddba46f4064a47ff1f094c3c --- 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 %]