On Thursday, October 29, 2015 at 10:27:21 AM UTC-5, Jesús Martín Jiménez wrote: > > > > 2015-10-29 15:25 GMT+01:00 Fabyc <[email protected] <javascript:>>: > >> On Thursday, October 29, 2015 at 3:40:04 AM UTC-5, Cédric Krier wrote: >> >>> On 2015-10-27 13:11, Fabyc wrote: >>> > Hi. >>> > >>> > I would like to know how can I get the total of products there are in >>> all >>> > warehouses? >>> > >>> > I tried this solution [1] but in the new location of type "View" only >>> shows >>> > "0" products. >>> > This new location is parent of all the warehouses. >>> >>> This is strange. Is the warehouse has quantities? >>> >> >> Yes, it has. You can see in the images the data I have for testing [1] >> [2] [3]. The >> location of type view displays "0". >> >> [1] http://s28.postimg.org/jcwmf28pp/01_locations.jpg >> [2] http://s16.postimg.org/4biubhmed/02_products_by_locations.jpg >> [3] http://s2.postimg.org/53dzejx21/03_product_by_locations.jpg >> > > Maybe your are adding products of custormer and provider warehouses, and > then, it is correct. >
You're right. If those warehouses are included, the total of products is "0". I removed both warehouses from Parent View and it displays correctly the total of products. :) Thank you very much Jesús and Cédric. -- Best regards > > >> >> Could you check if the MPTT (left, right) are correct? >> >> >> I did it and it is OK. >> >> >>> If not the simple >>> way to fix them is to update the database against stock module. >>> >> >> I did it and I still have the problem. >> >> Thanks >> >> -- >> Best regards >> >> >>> >>> -- >>> Cédric Krier - B2CK SPRL >>> Email/Jabber: [email protected] >>> Tel: +32 472 54 46 59 >>> Website: http://www.b2ck.com/ >>> >> > > > -- > > Jesús Martín > > Zikzakmedia SL > C/ de Sant Jaume, 9, baixos, 2ª > 08720 Vilafranca del Penedès > ☏ 93 890 21 08 >
