Changeset 9984 for main/waeup.kofa/trunk/src/waeup/kofa/payments
- Timestamp:
- 24 Feb 2013, 08:29:24 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/payments
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/payments/interfaces.py
r9864 r9984 55 55 56 56 p_item = schema.TextLine( 57 title = _(u'Payment Item'),57 title = u'', 58 58 default = None, 59 59 required = False, 60 ) 61 62 display_item = schema.TextLine( 63 title = _(u'Payment Item'), 64 required = False, 65 readonly = True, 60 66 ) 61 67 -
main/waeup.kofa/trunk/src/waeup/kofa/payments/payment.py
r9769 r9984 65 65 return utils.PAYMENT_CATEGORIES[self.p_category] 66 66 67 @property 68 def display_item(self): 69 return self.p_item 70 67 71 class OnlinePayment(Payment): 68 72 """This is an online payment. … … 98 102 return 99 103 100 OnlinePayment = attrs_to_fields(OnlinePayment )104 OnlinePayment = attrs_to_fields(OnlinePayment, omit=['display_item'])
Note: See TracChangeset for help on using the changeset viewer.