erp5_pdm: speed up the Stock view of products

By pre-fetching some catalog entries to retrieve objects UIDs that can directly
be used in the inventory query, to avoid needless (costly) joins and hinting
the catalog to use the resource_section_node_uid index of the stock table.
20 jobs for for_testrunner_3
in 0 seconds, using 0 compute credits, and was queued for 0 seconds