core: keep using default_params from proxy listbox ids
With bf57228a ([erp5_core] RelationField listbox must also fetch default_params value from the relationfield, 2018-05-09), we introduced a regression that listboxs from relation fields "proxy listbox ids" default params where no longer used. As a result, if we have a listbox which define some catalog search with default parameters, like for example the "Suppliers" or "Clients" listboxs from erp5_trade are doing, these parameters were not taken into account. In the case of trade listbox, this was showing all nodes. This changes Base_getRelatedObjectParameter to get catalog search from the proxy listbox if there is one.
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
External | |||||||||
passed |
#237746
external
|
ERP5.CodingStyleTest-TestRunner1 |
01:48:15
|
||||||
passed |
#237751
external
|
ERP5.PerformanceTest-TestRunner1 |
00:24:35
|
||||||
failed |
#237747
external
|
ERP5.UnitTest-TestRunner1 |
06:59:43
|
||||||
failed |
#234789
external
retried
|
ERP5.CodingStyleTest-TestRunner1 |
00:44:15
|
||||||
passed |
#235601
external
retried
|
ERP5.CodingStyleTest-TestRunner1 |
01:28:55
|
||||||
failed |
#234792
external
retried
|
ERP5.PerformanceTest-TestRunner1 |
00:24:35
|
||||||
passed |
#235605
external
retried
|
ERP5.PerformanceTest-TestRunner1 |
00:26:18
|
||||||
failed |
#234790
external
retried
|
ERP5.UnitTest-TestRunner1 |
01:45:39
|
||||||
failed |
#235594
external
retried
|
ERP5.UnitTest-TestRunner1 |
03:36:54
|
||||||