Added XML dependencies

This commit is contained in:
Marc 2014-07-29 14:37:25 +00:00
parent 30cc1d9922
commit 7a392df70d
2 changed files with 9 additions and 3 deletions

View File

@ -10,6 +10,7 @@ from rest_framework import serializers
from orchestra.utils import plugins from orchestra.utils import plugins
from . import settings
from .forms import BankTransferForm, CreditCardForm from .forms import BankTransferForm, CreditCardForm
@ -93,7 +94,7 @@ class BankTransfer(PaymentMethod):
), ),
) )
def process(self, transactions) def process(self, transactions):
self.set_id() self.set_id()
creditor_name = settings.PAYMENTS_DD_CREDITOR_NAME creditor_name = settings.PAYMENTS_DD_CREDITOR_NAME
creditor_iban = settings.PAYMENTS_DD_CREDITOR_IBAN creditor_iban = settings.PAYMENTS_DD_CREDITOR_IBAN
@ -159,6 +160,8 @@ class BankTransfer(PaymentMethod):
schema.assertValid(sepa) schema.assertValid(sepa)
# TODO where to save this shit? # TODO where to save this shit?
# TODO new model? Payment with batch support, How this relates to transaction? # 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) return etree.tostring(page, pretty_print=True, xml_declaration=True)

View File

@ -125,7 +125,9 @@ function install_requirements () {
rabbitmq-server \ rabbitmq-server \
python-dev \ python-dev \
bind9utils \ bind9utils \
python-cracklib" python-cracklib \
libxml2-dev \
libxslt1-dev"
PIP="django==1.6.1 \ PIP="django==1.6.1 \
django-celery-email==1.0.4 \ django-celery-email==1.0.4 \
@ -144,7 +146,8 @@ function install_requirements () {
Pygments==1.6 \ Pygments==1.6 \
django-filter==0.7 \ django-filter==0.7 \
passlib==1.6.2 \ passlib==1.6.2 \
jsonfield==0.9.22" jsonfield==0.9.22 \
lxml==3.3.5"
if $testing; then if $testing; then
APT="${APT} \ APT="${APT} \