IRC logs of #tryton for Saturday, 2011-01-01 #tryton log beginning Sat Jan 1 00:00:01 CET 2011
2011-01-01 01:41 -!- pepeu(~manuel@ has joined #tryton
2011-01-01 05:19 -!- yangoon( has joined #tryton
2011-01-01 09:37 -!- enlightx( has joined #tryton
2011-01-01 10:13 -!- Vladimirek(~vladimir@ has joined #tryton
2011-01-01 10:43 -!- jcm( has joined #tryton
2011-01-01 14:34 -!- okko( has joined #tryton
2011-01-01 15:04 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-01-01 16:06 -!- enlightx( has joined #tryton
2011-01-01 17:22 -!- elbenfreund( has joined #tryton
2011-01-01 17:28 -!- Vladimirek(~vladimir@ has joined #tryton
2011-01-01 18:46 -!- enlightx( has joined #tryton
2011-01-01 18:55 -!- jcm( has joined #tryton
2011-01-01 18:57 -!- enlightx( has joined #tryton
2011-01-01 19:13 -!- pepeu(~manuel@ has joined #tryton
2011-01-01 20:12 <plantian> Hi is it possible to place more than one action per button, like how the print button has a little drop-down?
2011-01-01 20:19 <plantian> Also I was trying to make a wizard that needed extension but I would also want the original states, for example two wizards that share everything but one state, is that possible? Would it be best to just create a choice state in front of the state and somehow pass vars in xml in the button configuration?
2011-01-01 20:26 <cedk> plantian: extending a wizard is not the same as having two wizards
2011-01-01 20:32 <plantian> cedk: I have a case where I want to allow the wizard to be customized sometimes but most of the time for speed-of-use time there should be defaults filled in and the first state is skipped.
2011-01-01 20:34 <cedk> plantian: I don't see how you can do that
2011-01-01 20:36 <plantian> cedk: Is there a way to pass variables in via button ? Like to set the context maybe.
2011-01-01 20:39 <cedk> plantian: no only the form context
2011-01-01 20:41 <plantian> cedk: What do you mean form context?
2011-01-01 20:43 <cedk> plantian: the context of the form
2011-01-01 20:47 -!- paepke( has joined #tryton
2011-01-01 20:55 <cedk> plantian: why not pre-fill it and just let the user press one more time "Return" ?
2011-01-01 20:57 <plantian> cedk: I have to explain to them why they must do that when they only need to customize it 1/100 times.
2011-01-01 20:57 <plantian> It might be possible though to make them do that.
2011-01-01 20:58 <plantian> You are right I should just do that for now. Maybe later there could be a way to pass data into wizard so that init state can be of type choice and allow for dynamically configurable wizards.
2011-01-01 20:59 <plantian> cedk: There was talk about text search using pyparsing and stuff. Is there a way to override the current search form in all models right now ? Or is that a framework specific thing. Sorry, this I think is my last question.
2011-01-01 21:10 -!- okko( has joined #tryton
2011-01-01 21:30 <cedk> plantian: not for now
2011-01-01 21:30 <plantian> cedk: Okay, thanks.
2011-01-01 21:31 <cedk> plantian: about the wizard, I think that in any way it is to the user to give information about using the short or the long path
2011-01-01 21:32 <cedk> plantian: it can be done with 2 differents buttons
2011-01-01 21:32 <cedk> plantian: or a first popup question
2011-01-01 21:32 <cedk> plantian: etc.
2011-01-01 21:32 <cedk> plantian: but there will be always a step for the user as he must give information about what he wants
2011-01-01 21:33 <plantian> How can I do it with two different buttons ?
2011-01-01 21:33 <cedk> plantian: 2 buttons with 2 wizards
2011-01-01 21:38 <plantian> cedk: Okay I could just use actual python inheritance in parallel to share behaviour although that seems to be working against the framework. For now I think you are right, I will just use only long way.

Generated by 2.17.3 by Marius Gedminas - find it at!