On 10/01/13 11:45 +0100, Maximilian Holtzberg wrote: > Am 10.01.2013 11:40, schrieb Cédric Krier: > >On 10/01/13 11:27 +0100, Maximilian Holtzberg wrote: > >>Am 10.01.2013 11:19, schrieb Cédric Krier: > >>>On 10/01/13 11:13 +0100, Maximilian Holtzberg wrote: > >>>>Am 10.01.2013 10:54, schrieb Cédric Krier: > >>>>>On 10/01/13 10:29 +0100, Maximilian Holtzberg wrote: > >>>>>>Am 10.01.2013 10:13, schrieb Cédric Krier: > >>>>>>>On 09/01/13 20:13 +0100, Maximilian Holtzberg wrote: > >>>>>>>>Hi List, > >>>>>>>> > >>>>>>>>I have performance issues with 2.6.0. > >>>>>>>>We created ca. 30 inventories with ca. 1000 lines each. > >>>>>>>>When opening the inventory tree view it takes a long time because the > >>>>>>>>inventory lines are queried. I checked that on stock.inventory.lines > >>>>>>>>loading is set to lazy. > >>>>>>>> > >>>>>>>>Could it be that the new active record pattern introduced some > >>>>>>>>eagerness? > >>>>>>>>Is that already a known issue? > >>>>>>> > >>>>>>>Please give the log of the client rpc queries. > >>>>>>> > >>>>>>How to enable RPC logging? > >>>>> > >>>>>"-v" > >>>>> > >>>>When I use -v I get no RPC logging. > >>> > >>>On the client. > >>> > >>Here is the log: http://pastie.org/5660642 > > > >Ok, the lines field is read from the list view because it is injected by > >the depends of the fields: location, date and company. > >I think it should not be in the depends but the PYSON expression should > >be written in a way to give the right result if lines is missing. > > > Thank you, that opened my eyes!!! > Maybe it can depend on state instead of lines.
No because it is to prevent to change those field once you started to fill the lines. -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46 59 Email/Jabber: [email protected] Website: http://www.b2ck.com/
pgpuFskwf5ulQ.pgp
Description: PGP signature
