IRC logs of #tryton for Sunday, 2010-10-24

chat.freenode.net #tryton log beginning Sun Oct 24 00:00:02 CEST 2010
2010-10-24 00:15 <cedk> yangoon: did you look at the design?
2010-10-24 00:25 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-10-24 00:26 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-10-24 01:24 -!- pepeu(~manuel@187.137.76.236) has joined #tryton
2010-10-24 01:42 -!- chrue1(~chrue@dyndsl-091-096-002-095.ewe-ip-backbone.de) has joined #tryton
2010-10-24 02:09 -!- zodman(~zodman@foresight/developer/zodman) has joined #tryton
2010-10-24 03:58 -!- digitalsatori(~tony@116.233.244.122) has joined #tryton
2010-10-24 04:55 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2010-10-24 05:19 -!- yangoon(~mathiasb@p549F7E2E.dip.t-dialin.net) has joined #tryton
2010-10-24 05:32 -!- sharkcz(~sharkcz@2001:15c0:6747:160::6) has joined #tryton
2010-10-24 05:55 -!- zodman(~zodman@foresight/developer/zodman) has joined #tryton
2010-10-24 06:54 -!- sharoon(~sharoon@117.196.141.128) has joined #tryton
2010-10-24 07:06 -!- zodman(~zodman@foresight/developer/zodman) has joined #tryton
2010-10-24 09:10 -!- enlightx(~enlightx@dynamic-adsl-94-34-196-186.clienti.tiscali.it) has joined #tryton
2010-10-24 09:28 -!- digitalsatori(~tony@116.233.244.122) has joined #tryton
2010-10-24 10:22 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-10-24 10:32 -!- sharoon_(~sharoon@117.196.146.111) has joined #tryton
2010-10-24 10:41 -!- okko(4dfb8c5f@gateway/web/freenode/ip.77.251.140.95) has joined #tryton
2010-10-24 10:46 -!- Timitos(~kp@88.217.184.172) has joined #tryton
2010-10-24 11:01 -!- Timitos(~kp@88.217.184.172) has joined #tryton
2010-10-24 11:23 -!- jbunting(~jbunting@99-5-88-198.lightspeed.nsvltn.sbcglobal.net) has joined #tryton
2010-10-24 11:52 -!- jbunting(~jbunting@99-5-88-198.lightspeed.nsvltn.sbcglobal.net) has joined #tryton
2010-10-24 12:23 -!- paepke(~paepke@p4FEB6969.dip.t-dialin.net) has joined #tryton
2010-10-24 13:06 -!- vladimir_(~vladimir@213.151.246.136) has joined #tryton
2010-10-24 13:46 -!- insider_(~Bubby@p57A4D59A.dip.t-dialin.net) has joined #tryton
2010-10-24 13:46 <insider_> http://www.drogendealer.de/cgi-bin/dd.cgi?IjBYHwvm
2010-10-24 13:48 -!- vladimir_(~vladimir@213.151.246.136) has joined #tryton
2010-10-24 14:58 -!- chrue(~chrue@dyndsl-091-096-002-095.ewe-ip-backbone.de) has joined #tryton
2010-10-24 15:06 -!- chrue(~chrue@dyndsl-091-096-002-095.ewe-ip-backbone.de) has joined #tryton
2010-10-24 15:41 -!- Gerald_E(~quassel@ip-240-3.pel.cz) has joined #tryton
2010-10-24 15:44 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-10-24 16:42 -!- enlightx(~enlightx@dynamic-adsl-94-34-196-186.clienti.tiscali.it) has joined #tryton
2010-10-24 17:23 -!- chrue(~chrue@dyndsl-091-096-002-095.ewe-ip-backbone.de) has joined #tryton
2010-10-24 18:03 -!- gavinf(~gavinf@196-215-106-202.dynamic.isadsl.co.za) has joined #tryton
2010-10-24 18:04 -!- gavinf(~gavinf@196-215-106-202.dynamic.isadsl.co.za) has left #tryton
2010-10-24 18:43 -!- Gerald_E(~quassel@ip-240-3.pel.cz) has joined #tryton
2010-10-24 19:20 -!- sharoon(~sharoon@59.99.9.203) has joined #tryton
2010-10-24 20:06 -!- ikks(~ikks@190.158.112.13) has joined #tryton
2010-10-24 20:14 -!- udono(~udono@dynamic-unidsl-85-197-20-248.westend.de) has joined #tryton
2010-10-24 20:18 <udono> cedk: Hi, I have problems to create a purchase. It seems that product.products is missing attributes from inherits_
2010-10-24 20:19 <cedk> udono: I don't understand
2010-10-24 20:19 <udono> cedk: I installed purchase module
2010-10-24 20:20 <udono> cedk: then I update the product with: Product = Model.get('product.product')
2010-10-24 20:20 <udono> product = Product()
2010-10-24 20:21 <udono> product.purchasable
2010-10-24 20:21 <udono> brings AttributeError: 'product.product' object has no attribute 'purchasable'
2010-10-24 20:21 <cedk> udono: I guess the model is not updated
2010-10-24 20:22 <udono> cedk: Is the model updated when I call Product = Model.get('product.product'); product = Product(); after Installation of the purchase module?
2010-10-24 20:23 <cedk> udono: no
2010-10-24 20:24 <udono> cedk: but reload doesn't work either ...
2010-10-24 20:24 <udono> how can I update the model?
2010-10-24 20:26 <cedk> udono: nothing is intended
2010-10-24 20:26 <udono> cedk: do not understand your answer
2010-10-24 20:27 <cedk> udono: you could remove it from _MODELS
2010-10-24 20:28 <udono> cedk: can not find _MODELS in local()
2010-10-24 20:28 <udono> ... namespace
2010-10-24 20:28 <cedk> udono: you must import it
2010-10-24 20:31 <cedk> udono: but better will be to create a method to clear the _MODELS cache
2010-10-24 20:31 <udono> cedk: yes, you are right
2010-10-24 20:31 <udono> cedk: I can try
2010-10-24 20:32 <udono> cedk: I would put it in class Model?
2010-10-24 20:40 <cedk> udono: why not
2010-10-24 20:40 <udono> cedk: I name it reset
2010-10-24 20:40 <udono> Model.reset([*model-name])
2010-10-24 20:40 <udono> Model.reset() = clears the cache to []
2010-10-24 20:41 <udono> Model.reset('account.invoice') deletes account.invoice from cache
2010-10-24 20:42 <udono> Model.reset('account.invoice', 'product.product') deletes both from cache
2010-10-24 20:42 <udono> cedk:
2010-10-24 20:44 <cedk> udono: ok
2010-10-24 21:18 -!- hoRn(~chatzilla@dslb-094-223-177-046.pools.arcor-ip.net) has joined #tryton
2010-10-24 21:18 <hoRn> Hi
2010-10-24 21:21 <hoRn> someone has a sympathetic ear?
2010-10-24 21:40 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-10-24 21:57 -!- yangoon_rm(~mathiasb@p549F7E2E.dip.t-dialin.net) has joined #tryton
2010-10-24 22:17 -!- hoRn(~chatzilla@dslb-094-223-177-046.pools.arcor-ip.net) has joined #tryton
2010-10-24 22:46 -!- ikks(~ikks@190.158.112.13) has joined #tryton
2010-10-24 23:40 -!- yangoon_rm(~mathiasb@p549F7E2E.dip.t-dialin.net) has joined #tryton
2010-10-24 23:41 <udono> cedk: http://codereview.appspot.com/2620042

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