Purchase return entry not linked for voucher edit.

This commit is contained in:
Tanshu 2012-12-03 19:33:19 +05:30
parent a4d8ae3c6a
commit cbb004e922

View File

@ -236,6 +236,8 @@ def get_edit_url(request, voucher):
return request.route_url('payment_id', id=voucher.id)
elif voucher.type == 5:
return request.route_url('receipt_id', id=voucher.id)
elif voucher.type == 6:
return request.route_url('purchase_return_id', id=voucher.id)
elif voucher.type == 12:
return request.route_url('salary_deduction_id', id=voucher.id)
else: