• Jérome Perrin's avatar
    accounting: Fix "Account Type must be set" constraint not always applying · 973ffdef
    Jérome Perrin authored
    This constraint had a TALES expression making it not apply on invalidated
    accounts, but during the transition invalidated -> validated, when the account's
    consistency is checked, the account is still in invalidated state, so that
    check was ignored, making it possible for users to validate an account without
    and account type.
    973ffdef
test.erp5.testAccounting.py 288 KB