IRC logs of #tryton for Saturday, 2014-04-05

chat.freenode.net #tryton log beginning Sat Apr 5 00:00:01 CEST 2014
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:54
-!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton04:58
-!- frispete(~frispete@p54A904A6.dip0.t-ipconnect.de) has joined #tryton06:41
-!- yangoon1(~mathiasb@p549F09F3.dip0.t-ipconnect.de) has joined #tryton07:00
-!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton07:50
-!- sharoonthomas(~sharoonth@118.91.181.18) has joined #tryton08:47
-!- sharoonthomas(~sharoonth@118.91.181.18) has left #tryton08:47
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:11
-!- littlebit(~Thunderbi@ulmg-5d8448f1.pool.mediaWays.net) has joined #tryton10:27
-!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton10:31
-!- sharoonthomas(~sharoonth@118.91.181.18) has joined #tryton10:41
-!- Telesight(~anthony@77-175-168-222.FTTH.ispfabriek.nl) has joined #tryton11:14
-!- rafiu(~Adium@cpc67384-walt16-2-0-cust1020.13-2.cable.virginmedia.com) has joined #tryton11:53
-!- sharoonthomas(~sharoonth@118.91.181.18) has joined #tryton11:54
-!- sharoonthomas(~sharoonth@118.91.181.18) has joined #tryton12:34
-!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton12:35
-!- sharoonthomas(~sharoonth@118.91.181.18) has joined #tryton13:54
-!- grasbauer(~jan@dslb-094-223-195-081.pools.arcor-ip.net) has joined #tryton14:50
-!- vernicho1(~Thunderbi@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton16:11
-!- smarro(~sebastian@190.105.85.74) has joined #tryton16:42
-!- sharoonthomas(~sharoonth@118.91.181.18) has joined #tryton17:16
-!- smarro(~sebastian@190.105.85.74) has joined #tryton17:48
-!- gremly(~gremly@190.85.36.58) has joined #tryton17:58
-!- dada-p(53b7122c@gateway/web/freenode/ip.83.183.18.44) has joined #tryton18:41
dada-phi, I have a stupid question: how do I add a line into existing move in code? snippet would be appreciated..18:42
-!- Telesight(~anthony@77-175-168-222.FTTH.ispfabriek.nl) has joined #tryton19:47
-!- littlebit(~Thunderbi@ulmg-5d8448f1.pool.mediaWays.net) has joined #tryton20:19
-!- sharoonthomas(~sharoonth@122.177.61.87) has joined #tryton20:21
-!- sharoonthomas(~sharoonth@122.177.61.87) has joined #tryton20:33
cedkdada-p: just create the line and fill move field with the id of the move20:44
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:50
dada-pcedk: thanks, that works. If I want to change existing line's data, do I need to instantiate it first (browse), change and after save() ?23:09
cedkdada-p: it is a possibility or you can just use write method23:11
cedkdada-p: Tryton has both methods: Active Record and DAO23:13
dada-pcedk: so with 'write' it would be something like move.write([self], changed_line) ?23:19
cedkdada-p: yes23:22
cedkdada-p: usefull when applying the same change to a bunch of records23:40

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