Commit 43bffaa9 authored by Łukasz Nowak's avatar Łukasz Nowak

Catalog slap_state in payment_state column.

parent b75d93f2
...@@ -36,3 +36,7 @@ class Person(ERP5Person): ...@@ -36,3 +36,7 @@ class Person(ERP5Person):
"""Revokes existing certificate""" """Revokes existing certificate"""
self._checkCertificateRequest() self._checkCertificateRequest()
self._revokeCertificate() self._revokeCertificate()
def getPaymentState(self):
"""Allows to catalog slap_date in payment_state column"""
return self.getSlapState()
...@@ -108,3 +108,7 @@ class SoftwareInstance(Item): ...@@ -108,3 +108,7 @@ class SoftwareInstance(Item):
if size != len(visited) + 1: if size != len(visited) + 1:
raise DisconnectedSoftwareTree raise DisconnectedSoftwareTree
return True return True
def getPaymentState(self):
"""Allows to catalog slap_date in payment_state column"""
return self.getSlapState()
366 367
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment