Activity log for bug #1318668

Date Who What changed Old value New value Message
2014-05-12 14:02:12 Florent Delayen bug added bug
2014-05-12 14:18:14 Florent Delayen description Hi ! With 13000 stock locations, it takes nearly 10 seconds to see the product list view, and another 10 seconds each time you click anywhere related to a product. We analysed that bug, and saw that the fields_view_get request returns our 13000 locations and our warehouses... This problem is related to these two fields (file: stock/product.py): 'location_id': fields.dummy(string='Location', relation='stock.location', type='many2one'), 'warehouse_id': fields.dummy(string='Warehouse', relation='stock.warehouse', type='many2one') Does anybody knows why these fields are dummy ? We replaced those with true many2one fields and the problem is gone. Best regards Hi ! With 13000 stock locations, it takes nearly 10 seconds to see the product list view, and another 10 seconds each time you click anywhere related to a product. We analysed that bug, and saw that the fields_view_get request returns our 13000 locations and our warehouses... This problem is related to these two fields (file: stock/product.py): 'location_id': fields.dummy(string='Location', relation='stock.location', type='many2one'), 'warehouse_id': fields.dummy(string='Warehouse', relation='stock.warehouse', type='many2one') Does anybody knows why these fields are dummy ? We were forced to remove those fields, because even replaced with true many2one it did the same... Best regards
2014-05-12 14:22:58 Florent Delayen description Hi ! With 13000 stock locations, it takes nearly 10 seconds to see the product list view, and another 10 seconds each time you click anywhere related to a product. We analysed that bug, and saw that the fields_view_get request returns our 13000 locations and our warehouses... This problem is related to these two fields (file: stock/product.py): 'location_id': fields.dummy(string='Location', relation='stock.location', type='many2one'), 'warehouse_id': fields.dummy(string='Warehouse', relation='stock.warehouse', type='many2one') Does anybody knows why these fields are dummy ? We were forced to remove those fields, because even replaced with true many2one it did the same... Best regards Hi ! With 13000 stock locations, it takes nearly 10 seconds to see the product list view, and another 10 seconds each time you click anywhere related to a product. We analysed that bug, and saw that the fields_view_get request returns our 13000 locations and our warehouses... This problem is related to these two fields (file: stock/product.py): 'location_id': fields.dummy(string='Location', relation='stock.location', type='many2one'), 'warehouse_id': fields.dummy(string='Warehouse', relation='stock.warehouse', type='many2one') Does anybody knows why these fields are dummy ? Best regards
2014-05-12 14:28:35 Stéphane Bidoul (Acsone) bug added subscriber Stéphane Bidoul (Acsone)