IRC logs of #tryton for Thursday, 2013-07-11

chat.freenode.net #tryton log beginning Thu Jul 11 00:00:09 CEST 2013
2013-07-11 08:55 <iamnoob> anyone here encountering the error notice , when creating a new group then adding a access permissions? where the custom modules you install suddenly disappear?
2013-07-11 11:25 <jeancavallo1> Anyone knows of a way to add a context to a button ? I got 4 buttons on the same screen, which call the same wizard. I would want to know (in the wizard) which button was clicked on.
2013-07-11 11:50 <pokoli> jeancavallo1: why 4 buttons for the same wizard? It's a bit strange, don't it?
2013-07-11 12:33 <jeancavallo1> pokoli: I got 4 similar fields on my main object. The id is to use a wizard to update them, and I would like to use buttons ('Update field1', 'Update field 2', ...). I use the same wizard for all as the update mechanisms are very similar, but I need to know which field I am working on to do a proper update.
2013-07-11 12:35 <pokoli> jeancavallo1: why not creating only a button to update all fields?
2013-07-11 12:36 <jeancavallo1> pokoli: I need a wizard to allow the user to input data for the update. To make it simple, it is as though the wizard asks the user for the value to replace the field with.
2013-07-11 12:53 <pokoli> jeancavallo1: so, you ask for the value of the 4 fields, if the value is blank you don't update it
2013-07-11 12:54 <pokoli> jeancavallo1: otherwise create 4 diferent wizards with 4 diferents views
2013-07-11 12:55 <jeancavallo1> pokoli: The reason I want to use the wizard is that the value isn't that easy to get, so... I'll dig some more to see if I can avoid to duplicate the wizard
2013-07-11 12:55 <jeancavallo1> pokoli: thanks
2013-07-11 12:56 <pokoli> jeancavallo1: AFAIK you can create a wizard and extend it 4 times to reuse the code
2013-07-11 12:57 <jeancavallo1> pokoli: Yes, that's my backup plan :)
2013-07-11 13:02 <pokoli> jeancavallo1: Would be great if you can share how you did it :)
2013-07-11 14:06 <jeancavallo1> pokoli: will do

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