예제 #1
0
    def operation(self):
        """Get the operation for this method.
        The operation contains method specific logic when
        creating/deleting a payment.

        :return: the operation associated with the method
        :rtype: object implementing IPaymentOperation
        """
        from stoqlib.domain.payment.operation import get_payment_operation
        return get_payment_operation(self.method_name)
예제 #2
0
    def operation(self):
        """Get the operation for this method.
        The operation contains method specific logic when
        creating/deleting a payment.

        :return: the operation associated with the method
        :rtype: object implementing IPaymentOperation
        """
        from stoqlib.domain.payment.operation import get_payment_operation
        return get_payment_operation(self.method_name)
예제 #3
0
파일: views.py 프로젝트: dionimf/stoq
 def method_description(self):
     return get_payment_operation(self.method_name).description
예제 #4
0
 def method_description(self):
     return get_payment_operation(self.method_name).description
예제 #5
0
 def method_description(self):
     from stoqlib.domain.payment.operation import get_payment_operation
     return get_payment_operation(self.method_name).description
예제 #6
0
 def method_description(self):
     from stoqlib.domain.payment.operation import get_payment_operation
     return get_payment_operation(self.method_name).description