lp://staging/~credativ/banking-addons/6.0-hsbc-validations

Created by Chris Halls and last modified

Ongoing work to tighten the validation rules for paymul. Currently working on 6.0.

There are some differences to the implementation on 6.1 - this does not truncate data (so the user has full control over what is sent) or override payment info fields (so that the module does not break other payment order generation modules)

Get this branch:
bzr branch lp://staging/~credativ/banking-addons/6.0-hsbc-validations
Members of credativ can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
credativ
Project:
Banking Addons
Status:
Development

Recent revisions

101. By Tristan Hill

[REF] improve error message

100. By Tristan Hill

[FIX] catch no partner address in both parts

99. By Chris Halls

[IMP] account_banking_uk_hsbc: Address information is not necessary for BACS

Following feedback from HSBC, we are told the address information
in NAD+BE can be omitted for BACS. This means the user does not need
to worry about entering address data in a format that the bank
will accept.

98. By Chris Halls

[FIX] account_banking_uk_hsbc: Show account holder name in BIC error message

To make it easier to work out which entry has the problem

97. By Chris Halls

[FIX] account_banking_uk_hsbc: Fix error when changing account number without valid bank country

To prevent this traceback:

  File "account_banking/account_banking.py", line 1232, in onchange_acc_number
    if country.code in sepa.IBAN.countries:
UnboundLocalError: local variable 'country' referenced before assignment

96. By Chris Halls

[FIX] account_banking_uk_hsbc: Add permissions to allow access to HSBC exports

Using Accounting / Payments group

95. By Chris Halls

[ADD] account_banking_uk_hsbc: Add UK sort code test cases

94. By Chris Halls

[REF] account_banking_uk_hsbc: Factor out some test data

Account data and name/address data are held in class instance variables,
so that small changes can be applied before generating the Paymul file

93. By Chris Halls

[FIX] account_banking_uk_hsbc: Handle interchange exceptions

Throw an osv.except_osv in the case of str(interchange) throwing an
exception

92. By Chris Halls

[IMP] account_banking_uk_hsbc: Prevent different payment modes in the same order

The code doesn't look like it can cope with this scenario properly, so
prevent it for now.

Note the UI button is on the form so this can not normally be done from the
UI.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://staging/banking-addons/6.1
This branch contains Public information 
Everyone can see this information.

Subscribers