Changeset 2899
- Timestamp:
- 9 Dec 2007, 21:15:26 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/Payment.py
r2898 r2899 109 109 d['date'] = getattr(doc,'date',None) 110 110 111 review_state = wftool.getInfoFor(self ,'review_state',None)111 review_state = wftool.getInfoFor(self.aq_parent,'review_state',None) 112 112 if review_state == "closed": 113 wftool.doActionFor(self ,'open')113 wftool.doActionFor(self.aq_parent,'open') 114 114 doc.edit(mapping = d) 115 115 if review_state == "closed": 116 wftool.doActionFor(self ,'close')116 wftool.doActionFor(self.aq_parent,'close') 117 117 118 118 InitializeClass(Payment)
Note: See TracChangeset for help on using the changeset viewer.