Added XML dependencies
This commit is contained in:
parent
30cc1d9922
commit
7a392df70d
|
@ -10,6 +10,7 @@ from rest_framework import serializers
|
|||
|
||||
from orchestra.utils import plugins
|
||||
|
||||
from . import settings
|
||||
from .forms import BankTransferForm, CreditCardForm
|
||||
|
||||
|
||||
|
@ -93,7 +94,7 @@ class BankTransfer(PaymentMethod):
|
|||
),
|
||||
)
|
||||
|
||||
def process(self, transactions)
|
||||
def process(self, transactions):
|
||||
self.set_id()
|
||||
creditor_name = settings.PAYMENTS_DD_CREDITOR_NAME
|
||||
creditor_iban = settings.PAYMENTS_DD_CREDITOR_IBAN
|
||||
|
@ -159,6 +160,8 @@ class BankTransfer(PaymentMethod):
|
|||
schema.assertValid(sepa)
|
||||
# TODO where to save this shit?
|
||||
# TODO new model? Payment with batch support, How this relates to transaction?
|
||||
# TODO positive only amount ?
|
||||
# TODO what with negative amounts? what are amendments?
|
||||
return etree.tostring(page, pretty_print=True, xml_declaration=True)
|
||||
|
||||
|
||||
|
|
|
@ -125,7 +125,9 @@ function install_requirements () {
|
|||
rabbitmq-server \
|
||||
python-dev \
|
||||
bind9utils \
|
||||
python-cracklib"
|
||||
python-cracklib \
|
||||
libxml2-dev \
|
||||
libxslt1-dev"
|
||||
|
||||
PIP="django==1.6.1 \
|
||||
django-celery-email==1.0.4 \
|
||||
|
@ -144,7 +146,8 @@ function install_requirements () {
|
|||
Pygments==1.6 \
|
||||
django-filter==0.7 \
|
||||
passlib==1.6.2 \
|
||||
jsonfield==0.9.22"
|
||||
jsonfield==0.9.22 \
|
||||
lxml==3.3.5"
|
||||
|
||||
if $testing; then
|
||||
APT="${APT} \
|
||||
|
|
Loading…
Reference in a new issue