Changeset 3469


Ignore:
Timestamp:
25 Apr 2008, 15:59:45 (17 years ago)
Author:
joachim
Message:

delete payment in payments_catalog if payment-object is deleted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/WAeUPTables.py

    r3408 r3469  
    16761676        if pt != 'Payment':
    16771677            return
     1678        if event_type == 'sys_del_object' and mt == 'CPS Proxy Folder':
     1679            self.deleteRecord(object.getContent().order_id)
    16781680        if mt == 'CPS Proxy Folder':
    16791681            return # is handled only for the real object
    1680         if event_type == 'sys_del_object':
    1681             self.deleteRecord(object.order_id)
    16821682        if event_type not in ('sys_modify_object'):
    16831683            return
Note: See TracChangeset for help on using the changeset viewer.