[FIX] base_iban: IBAN constraint trigger
authorAlexis de Lattre <alexis@via.ecp.fr>
Fri, 31 Oct 2014 21:33:58 +0000 (22:33 +0100)
committerMartin Trigaux <me@mart-e.be>
Mon, 3 Nov 2014 19:02:06 +0000 (20:02 +0100)
commitb0e4ff28e9b308ccf9c1efddc2088c4d5522f5fb
treede4a92d1a4f7114979e5cf8f5ccd6f22053e05b5
parent03e9a38a1d1586139d61b753ecfcf7373e6b1f2c
[FIX] base_iban: IBAN constraint trigger

Make sure the constraint on IBAN format is checked when either the state or the account number is changed.
'iban' field was not modified so the check never triggered and could enter invalid IBAN
Fixes #3426
addons/base_iban/base_iban.py