base: don't allow selecting draft currencies by default
The initial intention was to "disallow invalidated", without forcing users to validate everything, but it was probably a mistake, if users don't need to validate then validation workflow would be a bit meaningless. This is made after an incident where a user mistakenly cloned a validated currency and the cloned currency was available everywhere in the system. Change to not return draft currencies by default and also change so that all items are tuple, for consistency. That should have no impact and is a bit easier for the test. Also adjust accounting_ui_test, we need to validate currencies for the tests and clear cache if we validated some (but we don't need to clear cache if we validate accounts, because account caches is more clever and does not need to clear all cache)
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
External | |||||||||
passed |
#105995
external
|
ERP5.CodingStyleTest-TestRunner1 |
01:30:09
|
||||||
passed |
#106015
external
|
ERP5.PerformanceTest-TestRunner1 |
00:33:11
|
||||||
passed |
#106082
external
|
ERP5.UnitTest-TestRunner1 |
02:10:18
|
||||||
failed |
#105993
external
retried
|
ERP5.UnitTest-TestRunner1 |
02:33:13
|
||||||
canceled |
#106081
external
retried
|
ERP5.UnitTest-TestRunner1 |
|
||||||