Changeset 2874
- Timestamp:
- 7 Dec 2007, 08:03:12 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/Payment.py
r2859 r2874 36 36 logger = logging.getLogger('PaymentsFolder.updatePayments') 37 37 #import pdb;pdb.set_trace() 38 wftool = self.portal_workflow 38 39 for payment in self.aq_parent.objectValues(): 39 40 d = {} … … 75 76 # msg = " ".join(["%s: %s" % (key,value) for key,value in d.items()]) 76 77 # logger.info(msg) 78 79 review_state = wftool.getInfoFor(payment,'review_state',None) 80 if review_state == "closed": 81 wftool.doActionFor(payment,'open') 77 82 doc.edit(mapping = d) 83 if review_state == "closed": 84 wftool.doActionFor(payment,'close') 78 85 79 86 InitializeClass(PaymentsFolder)
Note: See TracChangeset for help on using the changeset viewer.