products_by_location return value for any product that were in location
Following Irc discussion 27/02/2019:
14:41 hi, i'm using product_by_location to check inventory at a specific stock_location grouping by product, lot. When checking an empty location, it returns me all the products that were stored at this location with quantity 0... I will not display values with quantity 0 but i'm wondering if in the time it will be resource consuming to get all those values ?
14:44 -!- nicoe [~nicoe@host-85-201-184-151.dynamic.voo.be] a rejoint #tryton
15:10 <cedk> mrichez: it returns a value for any product that were in the location
15:10 <cedk> mrichez: removing them will probably be more expensive than doing nothing
15:11 -!- rpit [~rpit@h-213.61.178.154.host.de.colt.net] a rejoint #tryton
15:13 <mrichez> cedk: ok, so after some years, it could be a long long list
15:17 <cedk> mrichez: it could be cleaned by period if the period did not store 0 value
15:18 <mrichez> cedk: ok thanks
15:19 <cedk> mrichez: could be good to fill a performance request