IRC logs of #tryton for Tuesday, 2011-01-04

chat.freenode.net #tryton log beginning Tue Jan 4 00:00:01 CET 2011
yangoonplantian: if you want to do it the generic way, place the wizard in an additional module depending on the two others00:34
plantianyangoon: Okay, yes I have 3 modules now.  Base module for wizard layout.  Then module for stock extension and module for price list extension of wizard.  Is it possible to not link wizard into the menu though until either the stock or price list is in use ?00:36
plantianIe. Can the stock extension module check to see if the menu entry point has been created by the price list extension module yet or not ?00:36
-!- elbenfreund(~elbenfreu@p54B96130.dip.t-dialin.net) has joined #tryton00:38
yangoonplantian: if you put the two other modules in the depends of the wizard module you shouldbe done00:42
yangoonplantian: and for the menu entry point, just out it into the wizard module00:43
yangoons/out/put/00:43
plantianThe two modules depend on the wizard module though, not the other way around.00:43
plantianIt is a dynamic lookup of stock and pricing for product.  So you select products and then lookup the pricing for price lists and the current stock location and quantities.00:44
yangoonplantian: I would do it the other way: depend the wizard on the other modules00:45
yangoonplantian: or put it alltogether in one module00:45
plantianyangoon: Yes I might be forced to do that.  I didn't want to force people to use product_price_list and stock modules though.  I wanted them to be optional.  So I would have product_lookup, product_lookup_stock and product_lookup_price_list.  Does my original strategy make sense?  Even if it is too much work.00:46
yangoonplantian: did you think to extend the wizard in the respective modules?00:48
plantianyangoon: Yes the wizard forms have more fields and more functionality but the same states.00:49
yangoonplantian: so you could overload the wizard class?00:50
plantianYes the wizard is overloaded but the wizard in the base module, product_lookup is not really usable it is just a skeleton to be used by extensions.00:50
yangoonplantian: you can place a hint in __tryton__.py and|or README to reflect the need of installation of additional modules, which is ok for me00:53
plantianyangoon: Yes you're right, I think I am prone to over-engineering.00:54
yangoon:-)00:54
plantianI just thought there would be a way to hide wizard until other modules were installed but I will just say to install one of hte extensions with the base.00:54
plantianIt is very difficult to make modules re-usable.00:55
yangoonyeah, it is a great challenge to create generic modules00:56
yangoonof course you could do a lookup if a module is installed, but I think it is too much effort for this problem00:58
plantianyangoon: Yes, I think I will go with README suggestion.01:01
yangoonplantian: leaving, cu soon01:02
plantianyangoon: okay thanks for discussion, ttyl01:02
yangoonexit01:03
-!- gremly(~gremly@200.106.202.91) has joined #tryton01:05
-!- woakas(~woakas@200.106.202.91) has joined #tryton01:13
-!- gavinf(~gavinf@196-210-248-58.dynamic.isadsl.co.za) has joined #tryton01:34
-!- ebanders(~ebanders@c-66-41-121-0.hsd1.mn.comcast.net) has joined #tryton02:39
-!- yangoon(~mathiasb@p549F6866.dip.t-dialin.net) has joined #tryton05:20
-!- ebanders(~ebanders@c-66-41-121-0.hsd1.mn.comcast.net) has joined #tryton06:18
-!- enlightx(~enlightx@dynamic-adsl-94-34-169-161.clienti.tiscali.it) has joined #tryton07:24
-!- trifon(~trifon@79-100-36-253.btc-net.bg) has joined #tryton07:26
-!- okko(~okko@62.58.29.41) has joined #tryton08:03
-!- nicoe(~nicoe@193.200.42.57) has joined #tryton08:16
-!- nicoe(~nicoe@193.200.42.57) has left #tryton08:17
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton08:22
-!- sharkcz(~dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton08:31
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:46
-!- Vladimirek(~vladimir@213.151.246.136) has joined #tryton08:50
-!- nicoe(~nicoe@193.200.42.57) has joined #tryton09:08
-!- jcm(~jcm@symetrie.net) has joined #tryton09:08
-!- okko(~okko@62.58.29.41) has joined #tryton09:26
-!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton09:43
-!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton09:45
-!- okko(~okko@62.58.29.41) has joined #tryton09:47
-!- Hydrant(~aj@unaffiliated/hydrant) has joined #tryton09:47
-!- dba(~daniel@178.63.150.30) has joined #tryton09:47
-!- cheche(cheche@188.85.213.151) has joined #tryton09:47
-!- haggai(~halls@brooke.credativ.ltd.uk) has joined #tryton09:47
-!- btQuark(~quark@static.133.47.46.78.clients.your-server.de) has joined #tryton09:48
-!- sejo(~SeJo@exherbo/developer/sejo) has joined #tryton09:48
-!- blast_hardcheese(~blast_har@dsl092-043-124.lax1.dsl.speakeasy.net) has joined #tryton09:48
-!- sharkcz`(~sharkcz@2001:15c0:6747:160:250:43ff:fe3c:3b5d) has joined #tryton10:14
-!- paepke(~paepke@p4FEB2A95.dip0.t-ipconnect.de) has joined #tryton10:58
-!- okko(~okko@62.58.29.41) has joined #tryton12:19
-!- sharkcz(~sharkcz@2001:15c0:6747:160:250:43ff:fe3c:3b5d) has joined #tryton13:01
-!- sharkcz(~sharkcz@2001:15c0:6747:160:250:43ff:fe3c:3b5d) has joined #tryton13:08
-!- vincentvdl(~Gebruiker@62.58.29.41) has joined #tryton13:59
-!- pepeu(~manuel@201.155.193.192) has joined #tryton14:38
-!- elbenfreund(~elbenfreu@p54B97471.dip.t-dialin.net) has joined #tryton14:58
-!- gremly(~gremly@200.106.202.91) has joined #tryton15:12
-!- vincentvdl(~Gebruiker@62.58.29.41) has left #tryton15:20
-!- okko(~okko@83.232.81.68) has joined #tryton15:23
-!- nicoe(~nicoe@193.200.42.57) has left #tryton15:57
-!- nicoe(~nicoe@193.200.42.57) has joined #tryton16:41
Hydrantcedk: ping16:55
HydrantI've been working on writing up a kinda case-study (shamelessly based on what I need to do with my company)... and I will write up a draft of what I wanted to do... and how these issues were dealt with by Tryton16:56
HydrantI hope this kinda thing can be useful to others who want to see Tryton in action, by a case study16:56
Hydrantperhaps it can be trimmed and made into an article or something... I'm still putting things together, and I'll share it once I'm done16:57
cedkHydrant: ok great16:58
Hydrantwhere is the best place to share this?  A mailing list I presume?16:58
HydrantOr should I just start a case study on the wiki16:58
cedkHydrant: I guess mailing list17:04
-!- pheller(~pheller@c1fw239.constantcontact.com) has joined #tryton17:08
-!- Vladimirek(~vladimir@213.151.246.136) has joined #tryton17:15
-!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has left #tryton17:23
-!- nicoe(~nicoe@193.200.42.57) has left #tryton17:51
-!- okko(~okko@62.58.29.41) has joined #tryton18:03
-!- paepke(~paepke@p4FEB2A95.dip0.t-ipconnect.de) has left #tryton18:09
-!- chrue(~chrue@host-091-097-071-222.ewe-ip-backbone.de) has joined #tryton19:10
-!- paepke(~paepke@p4FEB48ED.dip.t-dialin.net) has joined #tryton19:17
-!- enlightx(~enlightx@dynamic-adsl-94-34-169-161.clienti.tiscali.it) has joined #tryton19:18
-!- paepke_(~paepke@p4FEB48ED.dip.t-dialin.net) has joined #tryton19:37
-!- lem0na(~lem0na@95.87.233.210) has joined #tryton19:37
-!- paepke(~paepke@p4FEB48ED.dip.t-dialin.net) has joined #tryton19:43
-!- pheller(~pheller@c1fw239.constantcontact.com) has joined #tryton20:31
-!- nicoe(~nicoe@193.200.42.57) has joined #tryton20:57
-!- nicoe(~nicoe@193.200.42.57) has left #tryton20:58
-!- pheller(~pheller@c1fw239.constantcontact.com) has joined #tryton21:03
-!- Vladimirek(~vladimir@213.151.246.136) has joined #tryton21:25
-!- pheller(~pheller@c1fw239.constantcontact.com) has joined #tryton21:37
-!- Timitos(~kp@88.217.184.172) has joined #tryton21:41
-!- jcm(~jcm@cxr69-10-88-172-230-130.fbx.proxad.net) has joined #tryton22:26
-!- ebanders(~ebanders@c-66-41-121-0.hsd1.mn.comcast.net) has joined #tryton22:30
-!- Vladimirek(~vladimir@213.151.246.136) has joined #tryton23:02

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!