From bb0ffafe4f040f4e69ecff6624ca73cb3db61bd0 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Thu, 3 Sep 2015 11:17:54 +0300 Subject: Fix issue with purchase orders --- servo/templates/products/list_rows.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'servo/templates/products/list_rows.html') diff --git a/servo/templates/products/list_rows.html b/servo/templates/products/list_rows.html index a753687..c8cf5bb 100755 --- a/servo/templates/products/list_rows.html +++ b/servo/templates/products/list_rows.html @@ -34,9 +34,9 @@ {% endwith %}
  • {% trans "Create Sales Order" %}
  • {% trans "Create Purchase Order" %}
  • - {% with request.session.current_po as po %} - {% if po %} -
  • {% trans "Use in Purchase Order" %}
  • + {% with request.session.current_po as po_pk %} + {% if po_pk %} +
  • {% trans "Use in Purchase Order" %}
  • {% endif %} {% endwith %}
  • -- cgit v1.2.3