IRC logs of #tryton for Monday, 2010-12-06

chat.freenode.net #tryton log beginning Mon Dec 6 00:00:02 CET 2010
2010-12-06 01:53 -!- FWiesing(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has left #tryton
2010-12-06 03:14 -!- johbo(~joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton
2010-12-06 03:22 -!- jcm(~jcm@cxr69-10-88-172-230-130.fbx.proxad.net) has joined #tryton
2010-12-06 04:11 -!- pepeu(~manuel@201.155.193.192) has joined #tryton
2010-12-06 05:00 -!- johbo(~joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton
2010-12-06 05:14 -!- sharoon(~sharoon@202.129.198.250) has joined #tryton
2010-12-06 05:18 -!- yangoon(~mathiasb@p549F6EF5.dip.t-dialin.net) has joined #tryton
2010-12-06 05:38 -!- sharoon(~sharoon@202.129.198.250) has joined #tryton
2010-12-06 05:58 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2010-12-06 06:26 -!- sharoon(~sharoon@202.129.198.250) has left #tryton
2010-12-06 06:46 -!- sharoon(~sharoon@202.129.198.250) has joined #tryton
2010-12-06 06:47 -!- sharoon(~sharoon@202.129.198.250) has left #tryton
2010-12-06 07:50 -!- paepke(~paepke@p4FEB1995.dip0.t-ipconnect.de) has joined #tryton
2010-12-06 08:27 -!- vladimir_(~vladimir@adsl-dyn-95.95-102-251.t-com.sk) has joined #tryton
2010-12-06 08:31 -!- GasbaKid(~GasbaKid@41.96.86.196) has joined #tryton
2010-12-06 08:31 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-12-06 08:55 -!- jcm(~jcm@symetrie.net) has joined #tryton
2010-12-06 09:05 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton
2010-12-06 09:30 -!- gavinf(~gavinf@196-215-106-210.dynamic.isadsl.co.za) has joined #tryton
2010-12-06 09:30 -!- gavinf(~gavinf@196-215-106-210.dynamic.isadsl.co.za) has left #tryton
2010-12-06 09:30 -!- paepke(~paepke@p4FEB06FA.dip0.t-ipconnect.de) has joined #tryton
2010-12-06 09:41 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-12-06 09:43 -!- sharoon(~sharoon@202.129.198.250) has joined #tryton
2010-12-06 09:48 <plantian> http://bugs.tryton.org/ seems to be upset about something.
2010-12-06 09:49 -!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton
2010-12-06 10:04 -!- Timitos(~kp@88.217.184.172) has joined #tryton
2010-12-06 10:49 <cedk> plantian: restarted
2010-12-06 10:51 -!- nicoe(~nicoe@91.179.104.200) has joined #tryton
2010-12-06 10:53 <plantian> cedk: Thanks.
2010-12-06 10:54 <plantian> cedk: Did you happen to see my email about wizard? I'm still a little confused on how they work.
2010-12-06 10:56 <cedk> plantian: not yet
2010-12-06 10:59 -!- trifon(~trifon@91-67-144-158-dynip.superkabel.de) has joined #tryton
2010-12-06 11:02 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-12-06 11:04 -!- enlightx_(~enlightx@109.52.198.39) has joined #tryton
2010-12-06 11:10 -!- trifon(~trifon@91-67-144-158-dynip.superkabel.de) has joined #tryton
2010-12-06 11:18 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-12-06 11:39 -!- Timitos(~kp@88.217.184.172) has joined #tryton
2010-12-06 12:17 -!- sharkcz(~dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton
2010-12-06 12:31 -!- sharkcz(~dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton
2010-12-06 12:32 -!- paepke(~paepke@p4FEB06FA.dip0.t-ipconnect.de) has left #tryton
2010-12-06 12:33 -!- sharkcz`(~sharkcz@2001:15c0:6747:160::7) has joined #tryton
2010-12-06 12:42 -!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton
2010-12-06 12:44 <plantian> cedk: Sorry to bother you again but is this format incorrect? I can't seem to get it to work I think maybe I need to return a different key maybe -- http://paste.pocoo.org/show/301271/
2010-12-06 12:44 <plantian> The method I'm having trouble with is _check.
2010-12-06 12:45 -!- ikks(~ikks@190.158.122.179) has joined #tryton
2010-12-06 12:46 <plantian> And more specifically the format of the list of dictionaries does not seem to work -- data['form']['stock_lines']
2010-12-06 13:20 -!- sharoon(~sharoon@202.129.198.250) has joined #tryton
2010-12-06 13:22 -!- trifon(~trifon@p4FFB8CD5.dip0.t-ipconnect.de) has joined #tryton
2010-12-06 13:39 -!- jcm(~jcm@cxr69-10-88-172-230-130.fbx.proxad.net) has joined #tryton
2010-12-06 13:40 <cedk> plantian: in fact, I think there is an design error in the wizard
2010-12-06 13:41 <cedk> plantian: it only allow ids from data['form'] for one2many
2010-12-06 13:50 <cedk> plantian: https://bugs.tryton.org/roundup/issue1722
2010-12-06 14:51 -!- pepeu(~manuel@201.155.193.192) has joined #tryton
2010-12-06 15:20 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2010-12-06 15:26 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2010-12-06 16:31 -!- trifon(~trifon@p4FFB8CD5.dip0.t-ipconnect.de) has joined #tryton
2010-12-06 16:36 <cedk> plantian: did you test with the patch?
2010-12-06 16:50 -!- johbo_(~joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton
2010-12-06 16:55 -!- paepke(~paepke@p4FEB06FA.dip0.t-ipconnect.de) has joined #tryton
2010-12-06 17:04 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has left #tryton
2010-12-06 17:20 -!- jcm(~jcm@cxr69-10-88-172-230-130.fbx.proxad.net) has joined #tryton
2010-12-06 17:35 -!- vladimir(~vladimir@213.151.246.136) has joined #tryton
2010-12-06 17:46 -!- paepke(~paepke@p4FEB06FA.dip0.t-ipconnect.de) has left #tryton
2010-12-06 18:42 -!- chrue(~chrue@host-091-097-026-167.ewe-ip-backbone.de) has joined #tryton
2010-12-06 18:44 -!- jbunting(~jbunting@99-5-88-198.lightspeed.nsvltn.sbcglobal.net) has joined #tryton
2010-12-06 18:49 -!- paepke(~paepke@p4FEB06FA.dip0.t-ipconnect.de) has joined #tryton
2010-12-06 19:33 -!- johbo(~joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton
2010-12-06 19:33 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-12-06 19:35 <plantian> cedk: Does anyone know why client could have this error "Not supported: trytond.session/Session" ?
2010-12-06 19:46 -!- enlightx(~enlightx@dynamic-adsl-94-34-210-185.clienti.tiscali.it) has joined #tryton
2010-12-06 19:50 -!- paepke(~paepke@p4FEB06FA.dip0.t-ipconnect.de) has left #tryton
2010-12-06 20:02 -!- trifon(~trifon@91-67-144-158-dynip.superkabel.de) has joined #tryton
2010-12-06 20:08 -!- jbunting(~jbunting@99-5-88-198.lightspeed.nsvltn.sbcglobal.net) has joined #tryton
2010-12-06 20:08 <cedk> plantian: perhaps you return user_id which is a session
2010-12-06 20:09 <cedk> plantian: you must convert into int before
2010-12-06 20:10 <plantian> cedk: I can't seem to find anywhere that I might be doing that, I rebuilt everything from scratch but the error just magically started showing up. Is it possible it could be somewhere that is not trytond.conf AND not in the database?
2010-12-06 20:12 <cedk> plantian: it is surely in the code
2010-12-06 20:12 <plantian> wait nevermidn I am wrong
2010-12-06 20:13 <plantian> cedk: Yes I think it is the stock lines actually but I'm not sure why that started happening because it was before the patch.
2010-12-06 20:13 <cedk> plantian: did you test thet patch?
2010-12-06 20:15 <plantian> Wow okay well I'm confused, there is no reason for that error to stop but it has decided to stop.
2010-12-06 20:17 <plantian> I found the other problem, what are the keys that the action should return in the wizard return ?
2010-12-06 20:18 <cedk> plantian: the field name
2010-12-06 20:19 <plantian> http://paste.pocoo.org/show/301479/
2010-12-06 20:20 <plantian> cedk: So in my example I should return data['form'] instead of data so that field names are at the topmost level of the dictionary returned?
2010-12-06 20:22 <plantian> cedk: It appears to work with patch and returning fields at top level of dictionary. Let me try prepatch to confirm that there even was a problem.
2010-12-06 20:24 <plantian> cedk: Yes I get the unhashable dictionary error but patch fixes it.
2010-12-06 20:24 <plantian> Thanks
2010-12-06 20:25 <plantian> I do not understand the structures/formats of return values in wizards. I want to document them.
2010-12-06 20:35 -!- johbo_(~joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton
2010-12-06 21:15 -!- jcm(~jcm@cxr69-10-88-172-230-130.fbx.proxad.net) has joined #tryton
2010-12-06 21:36 -!- GasbaKid(~GasbaKid@41.96.90.14) has joined #tryton
2010-12-06 22:03 -!- JoePass(~gasbakid@41.96.8.170) has joined #tryton
2010-12-06 22:25 -!- GasbaKid(~GasbaKid@41.96.90.14) has joined #tryton
2010-12-06 22:29 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton
2010-12-06 22:47 <cedk> plantian: it is the same as default method (with the patch) otherwise it was the same as read
2010-12-06 22:51 <plantian> cedk: You mean the return values behave that way? I don't think I've used read before.
2010-12-06 22:52 <cedk> plantian: it is the format for the return values
2010-12-06 22:54 <plantian> I was prototyping something like this -- http://www.laspilitas.com/tryton/check-stock-price-top.jpg http://www.laspilitas.com/tryton/check-stock-price-options.jpg -- Date should really be Stock Date and will be used to calculate products by location.
2010-12-06 22:54 <plantian> Do you think it would be re-usable ?
2010-12-06 22:57 <cedk> plantian: why not but you should describe exactly what it does
2010-12-06 22:59 <cedk> plantian: but I don't understand why you mix stock quantity and price
2010-12-06 22:59 <plantian> cedk: It is a common need to see both at the same time, for either a customer or just for planning.
2010-12-06 23:00 <plantian> Although it must be a customer that does not need a guarantee of course.
2010-12-06 23:00 <cedk> plantian: ok for customer but you just need to get available quantity like in sale order
2010-12-06 23:02 <plantian> Yeah I guess I could see how that would be confusing, well there might be amounts at more than one warehouse and maybe the inventory isn't 100% accurate and the locations would make that obvious.
2010-12-06 23:03 <plantian> Also you might need to go check on the inventory to make sure the condition is still decent and then call the customer back.
2010-12-06 23:04 <plantian> I can see how it could be considered a mutant version of a Draft Sale with stock locations.
2010-12-06 23:04 <plantian> I would be interested if other businesses would never need to know the locations or not. I know my business will want to know the locations.
2010-12-06 23:06 <cedk> plantian: I think knowing the location is ne necessary at this level
2010-12-06 23:06 <cedk> plantian: you just need to know which warehouse
2010-12-06 23:07 <plantian> Well I am 100% sure my business will want to know locations but I don't know about other businesses.
2010-12-06 23:07 <cedk> plantian: most of the time a sale order is done based on stock level of one warehouse
2010-12-06 23:08 <cedk> plantian: and then you can get inter-warehouse shipment to fill missing products
2010-12-06 23:08 <plantian> Yes, but that is just one use-case. Employees might want to quickly look up locations of products inside hte single warehouse.
2010-12-06 23:09 <cedk> plantian: then you can go to product and look at the location tree
2010-12-06 23:09 <plantian> I haven't checked the performance this way but checking the other way is very slow.
2010-12-06 23:10 <plantian> There are so many locations it is annoying to have to open tree and there are so many products that opening products list takes a long time and then opening a single product takes even longer.
2010-12-06 23:11 <cedk> plantian: but you will have the same with your wizard
2010-12-06 23:11 <plantian> cedk: Only if the user tries to browse all products instead of starting with a name.
2010-12-06 23:11 <plantian> OR if the search doesn't match then all products are scanned.
2010-12-06 23:12 <plantian> Most of the time though product search will be much faster.
2010-12-06 23:12 <plantian> I am very excited about paging in 1.8 though. It might help a lot.
2010-12-06 23:17 <cedk> plantian: yes perhaps the limit was to high in previous versions
2010-12-06 23:17 <plantian> cedk: My users have a hard time switching between tabs in the client and knowing when they have left their old tab and are in a new tab. When you add in any kind of performance issue and anything that is inconvenient they quickly become frustrated.
2010-12-06 23:19 <plantian> cedk: I know their behaviour sounds petty but it is hard to motivate people to use software anyways so I just try to make things that make their everyday task easier to perform.
2010-12-06 23:22 <cedk> plantian: no problem with that but we need to think about generality only to put in Tryton
2010-12-06 23:22 <plantian> cedk: With the many locations issue unresolved you can see how many locations can make it hard to find the location with the inventory -- http://www.laspilitas.com/tryton/product-locations.jpg
2010-12-06 23:22 <plantian> I am half-way scrolled down in addition to having to open trees to navigate to leaf location.
2010-12-06 23:23 <cedk> plantian: but the tree has meanful otherwise you did not make it
2010-12-06 23:25 <plantian> cedk: The tree's meaning is utilized in my inventory module by allowing users to take inventory of many storage locations by selecting only one view location.
2010-12-06 23:26 <cedk> plantian: to make a good design, you must first think about what the users need without looking at the current implemenation in Tryton then you will be able to take good design choice
2010-12-06 23:28 <cedk> plantian: but I think a wizard to query pricing is a good idea
2010-12-06 23:29 <cedk> plantian: and I think we should improve the "stock by location" button
2010-12-06 23:30 <plantian> cedk: Yes I might consider doing it separately. I would have to think about the use cases.
2010-12-06 23:32 <plantian> cedk: Finding product by browsing products seem like an unnecessary step though but maybe if buttons were activated from within browse list.
2010-12-06 23:43 <plantian> cedk: I have started introduction wizard documentation and will send it in later I have to take a break. Thanks for the help, I will consider what you have said.
2010-12-06 23:54 -!- GasbaKid(~GasbaKid@41.96.90.14) has joined #tryton

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!