accounting: Fix "Account Type must be set" constraint not always applying
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.
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
External | |||||||||
passed |
#217124
external
|
ERP5.CodingStyleTest-Master |
|
||||||
passed |
#217105
external
|
ERP5.PerformanceTest-Master |
00:22:44
|
||||||
failed |
#217379
external
|
ERP5.UnitTest-Master |
01:51:43
|
||||||
failed |
#217126
external
|
ERP5.UnitTest-Master.Medusa |
|
||||||
passed |
#217352
external
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:11:26
|
||||||
passed |
#217366
external
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:14:21
|
||||||
failed |
#217174
external
retried
|
ERP5.UnitTest-Master |
02:29:40
|
||||||
failed |
#217237
external
retried
|
ERP5.UnitTest-Master |
02:11:24
|
||||||
failed |
#217121
external
retried
|
ERP5.UnitTest-Master |
|
||||||
failed |
#217317
external
retried
|
ERP5.UnitTest-Master |
02:10:19
|
||||||
passed |
#217099
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:23:22
|
||||||
passed |
#217164
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:09:46
|
||||||
passed |
#217192
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
|
||||||
passed |
#217220
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:16:45
|
||||||
passed |
#217270
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:29:31
|
||||||
passed |
#217332
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:09:04
|
||||||
passed |
#217330
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:35:02
|
||||||
passed |
#217283
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:29:38
|
||||||
passed |
#217201
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:19:03
|
||||||
passed |
#217108
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
|
||||||
passed |
#217180
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:13:19
|
||||||