[open-ils-commits] r9580 -
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/controllers/acq
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue May 13 11:35:23 EDT 2008
Author: erickson
Date: 2008-05-13 11:35:22 -0400 (Tue, 13 May 2008)
New Revision: 9580
Modified:
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/controllers/acq/po.py
Log:
updated controller to use new JS view
Modified: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/controllers/acq/po.py
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/controllers/acq/po.py 2008-05-13 15:34:58 UTC (rev 9579)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/controllers/acq/po.py 2008-05-13 15:35:22 UTC (rev 9580)
@@ -30,10 +30,7 @@
# Render display of individual PO: list of line items
def view(self, **kwargs):
r = RequestMgr()
- po_mgr = oilsweb.lib.acq.po_manager.PO_Manager(r, poid=kwargs['id'])
- po_mgr.retrieve()
- r.ctx.acq.po.value = po_mgr.po
- r.ctx.acq.provider.value = provider_mgr.retrieve(r, po_mgr.po.provider())
+ r.ctx.acq.po_id.value = kwargs['id']
return r.render('acq/po/view_po.html')
# Create PO from contents of picklist
More information about the open-ils-commits
mailing list