Ignore:
Timestamp:
2 Oct 2012, 07:34:48 (12 years ago)
Author:
Henrik Bettermann
Message:

Check counters (used_num and disabled_num) in test.

Display disabled_num on batchcontainer page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/accesscodes/batching.py

    r9266 r9267  
    187187        items_changed = ''
    188188        # Update state
     189        # Attention: When importing states the counters remain unchanged.
    189190        if row.has_key('state'):
    190191            state = row.get('state', IGNORE_MARKER)
     
    196197                IObjectHistory(obj).addMessage(msg)
    197198            row.pop('state')
    198         # Fire transition
     199        # Trigger transition. Counters are properly changed.
    199200        if row.has_key('transition'):
    200201            transition = row.get('transition', IGNORE_MARKER)
Note: See TracChangeset for help on using the changeset viewer.