Changeset 12152


Ignore:
Timestamp:
5 Dec 2014, 17:13:45 (10 years ago)
Author:
uli
Message:

Fix state.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/branches/uli-payments/src/waeup/ikoba/payments/payment.py

    r12141 r12152  
    7070            payment_date = datetime.utcnow()
    7171        self.payment_date = payment_date
    72         self.payment_state = STATE_PAID
     72        self.state = STATE_PAID
    7373        notify(grok.ObjectModifiedEvent(self))
    7474
     
    7878        Raises ObjectModifiedEvent.
    7979        """
    80         self.payment_state = STATE_FAILED
     80        self.state = STATE_FAILED
    8181        notify(grok.ObjectModifiedEvent(self))
    8282
Note: See TracChangeset for help on using the changeset viewer.