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 |
#239797
external
|
ERP5.CodingStyleTest-TestRunner1 |
00:53:21
|
||||||
passed |
#239766
external
|
ERP5.PerformanceTest-TestRunner1 |
00:24:29
|
||||||
failed |
#239853
external
|
ERP5.UnitTest-TestRunner1 |
03:59:36
|
||||||
passed |
#238401
external
retried
|
ERP5.CodingStyleTest-TestRunner1 |
01:44:03
|
||||||
passed |
#239680
external
retried
|
ERP5.CodingStyleTest-TestRunner1 |
06:30:29
|
||||||
passed |
#238402
external
retried
|
ERP5.PerformanceTest-TestRunner1 |
00:24:21
|
||||||
passed |
#239678
external
retried
|
ERP5.PerformanceTest-TestRunner1 |
00:25:09
|
||||||
failed |
#238430
external
retried
|
ERP5.UnitTest-TestRunner1 |
04:35:16
|
||||||
failed |
#239688
external
retried
|
ERP5.UnitTest-TestRunner1 |
17:56:23
|
||||||