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

chat.freenode.net #tryton log beginning Sun Oct 24 00:00:02 CEST 2010
cedkyangoon: did you look at the design?00:15
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:25
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:26
-!- pepeu(~manuel@187.137.76.236) has joined #tryton01:24
-!- chrue1(~chrue@dyndsl-091-096-002-095.ewe-ip-backbone.de) has joined #tryton01:42
-!- zodman(~zodman@foresight/developer/zodman) has joined #tryton02:09
-!- digitalsatori(~tony@116.233.244.122) has joined #tryton03:58
-!- gremly(~gremly@200.106.202.91) has joined #tryton04:55
-!- yangoon(~mathiasb@p549F7E2E.dip.t-dialin.net) has joined #tryton05:19
-!- sharkcz(~sharkcz@2001:15c0:6747:160::6) has joined #tryton05:32
-!- zodman(~zodman@foresight/developer/zodman) has joined #tryton05:55
-!- sharoon(~sharoon@117.196.141.128) has joined #tryton06:54
-!- zodman(~zodman@foresight/developer/zodman) has joined #tryton07:06
-!- enlightx(~enlightx@dynamic-adsl-94-34-196-186.clienti.tiscali.it) has joined #tryton09:10
-!- digitalsatori(~tony@116.233.244.122) has joined #tryton09:28
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton10:22
-!- sharoon_(~sharoon@117.196.146.111) has joined #tryton10:32
-!- okko(4dfb8c5f@gateway/web/freenode/ip.77.251.140.95) has joined #tryton10:41
-!- Timitos(~kp@88.217.184.172) has joined #tryton10:46
-!- Timitos(~kp@88.217.184.172) has joined #tryton11:01
-!- jbunting(~jbunting@99-5-88-198.lightspeed.nsvltn.sbcglobal.net) has joined #tryton11:23
-!- jbunting(~jbunting@99-5-88-198.lightspeed.nsvltn.sbcglobal.net) has joined #tryton11:52
-!- paepke(~paepke@p4FEB6969.dip.t-dialin.net) has joined #tryton12:23
-!- vladimir_(~vladimir@213.151.246.136) has joined #tryton13:06
-!- insider_(~Bubby@p57A4D59A.dip.t-dialin.net) has joined #tryton13:46
insider_http://www.drogendealer.de/cgi-bin/dd.cgi?IjBYHwvm13:46
-!- vladimir_(~vladimir@213.151.246.136) has joined #tryton13:48
-!- chrue(~chrue@dyndsl-091-096-002-095.ewe-ip-backbone.de) has joined #tryton14:58
-!- chrue(~chrue@dyndsl-091-096-002-095.ewe-ip-backbone.de) has joined #tryton15:06
-!- Gerald_E(~quassel@ip-240-3.pel.cz) has joined #tryton15:41
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton15:44
-!- enlightx(~enlightx@dynamic-adsl-94-34-196-186.clienti.tiscali.it) has joined #tryton16:42
-!- chrue(~chrue@dyndsl-091-096-002-095.ewe-ip-backbone.de) has joined #tryton17:23
-!- gavinf(~gavinf@196-215-106-202.dynamic.isadsl.co.za) has joined #tryton18:03
-!- gavinf(~gavinf@196-215-106-202.dynamic.isadsl.co.za) has left #tryton18:04
-!- Gerald_E(~quassel@ip-240-3.pel.cz) has joined #tryton18:43
-!- sharoon(~sharoon@59.99.9.203) has joined #tryton19:20
-!- ikks(~ikks@190.158.112.13) has joined #tryton20:06
-!- udono(~udono@dynamic-unidsl-85-197-20-248.westend.de) has joined #tryton20:14
udonocedk: Hi, I have problems to create a purchase. It seems that product.products is missing attributes from inherits_20:18
cedkudono: I don't understand20:19
udonocedk: I installed purchase module20:19
udonocedk: then I update the product with: Product = Model.get('product.product')20:20
udonoproduct = Product()20:20
udonoproduct.purchasable20:21
udonobrings AttributeError: 'product.product' object has no attribute 'purchasable'20:21
cedkudono: I guess the model is not updated20:21
udonocedk: Is the model updated when I call Product = Model.get('product.product'); product = Product(); after Installation of the purchase module?20:22
cedkudono: no20:23
udonocedk: but reload doesn't work either ...20:24
udonohow can I update the model?20:24
cedkudono: nothing is intended20:26
udonocedk: do not understand your answer20:26
cedkudono: you could remove it from _MODELS20:27
udonocedk: can not find _MODELS in local()20:28
udono... namespace20:28
cedkudono: you must import it20:28
cedkudono: but better will be to create a method to clear the _MODELS cache20:31
udonocedk: yes, you are right20:31
udonocedk: I can try20:31
udonocedk: I would put it in class Model?20:32
cedkudono: why not20:40
udonocedk: I name it reset20:40
udonoModel.reset([*model-name])20:40
udonoModel.reset() = clears the cache to []20:40
udonoModel.reset('account.invoice') deletes account.invoice from cache20:41
udonoModel.reset('account.invoice', 'product.product') deletes both from cache20:42
udonocedk:20:42
cedkudono: ok20:44
-!- hoRn(~chatzilla@dslb-094-223-177-046.pools.arcor-ip.net) has joined #tryton21:18
hoRnHi21:18
hoRnsomeone has a sympathetic ear?21:21
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton21:40
-!- yangoon_rm(~mathiasb@p549F7E2E.dip.t-dialin.net) has joined #tryton21:57
-!- hoRn(~chatzilla@dslb-094-223-177-046.pools.arcor-ip.net) has joined #tryton22:17
-!- ikks(~ikks@190.158.112.13) has joined #tryton22:46
-!- yangoon_rm(~mathiasb@p549F7E2E.dip.t-dialin.net) has joined #tryton23:40
udonocedk: http://codereview.appspot.com/262004223:41

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