IRC logs of #tryton for Wednesday, 2010-10-27

chat.freenode.net #tryton log beginning Wed Oct 27 00:00:02 CEST 2010
-!- trifon(~trifon@91-67-144-158-dynip.superkabel.de) has joined #tryton01:50
-!- digitalsatori(~tony@116.233.244.122) has joined #tryton02:12
-!- trifon(~trifon@91-67-144-158-dynip.superkabel.de) has joined #tryton02:55
-!- trifon(~trifon@91-67-144-158-dynip.superkabel.de) has joined #tryton03:46
-!- sharoon(~sharoon@117.196.129.124) has joined #tryton03:47
-!- plantian(~ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton03:48
-!- digitalsatori(~tony@116.233.244.122) has joined #tryton04:48
-!- yangoon(~mathiasb@p549F7C27.dip.t-dialin.net) has joined #tryton05:18
-!- sharoon(~sharoon@117.196.136.113) has joined #tryton05:59
-!- digitalsatori(~tony@116.233.244.122) has joined #tryton06:29
-!- evernichon(~evernicho@AAnnecy-157-1-110-152.w90-4.abo.wanadoo.fr) has joined #tryton07:04
-!- paepke(~paepke@p4FEB33FB.dip.t-dialin.net) has joined #tryton07:05
-!- evernichon(~evernicho@AAnnecy-157-1-110-152.w90-4.abo.wanadoo.fr) has joined #tryton07:25
-!- trifon(~trifon@91-67-144-158-dynip.superkabel.de) has joined #tryton08:17
-!- evernichon(~evernicho@mailout.fief.ch) has joined #tryton08:18
-!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton08:52
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton09:00
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:37
-!- vladimir(~vladimir@213.151.246.136) has joined #tryton09:49
-!- bechamel(~user@host-85-201-147-56.brutele.be) has joined #tryton09:57
-!- sharoon(~sharoon@117.196.144.122) has joined #tryton10:12
-!- udono(~udono@dynamic-unidsl-85-197-23-235.westend.de) has joined #tryton10:28
-!- Red15(~red15@unaffiliated/red15) has joined #tryton10:29
-!- digitalsatori(~tony@116.233.244.122) has joined #tryton10:31
udonocedk: hi, you ask me yesterday: "bout the first exception, have you a currency on purchase?"10:51
udonocedk: the currency should come from company. In the client I do not need to set the currency.10:52
udonocedk: but to answer your question :-): >>> purchase.currency10:52
udonoproteus.Model.get('currency.currency')(50)10:52
udonocedk:  it is there10:52
-!- trifon(~trifon@p54918DFC.dip0.t-ipconnect.de) has joined #tryton11:23
-!- lem0na(~lem0na@84.40.71.19) has joined #tryton11:51
-!- sharoon(~sharoon@117.196.136.158) has joined #tryton11:52
-!- enlightx_(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton12:29
-!- sharoon(~sharoon@117.196.128.97) has joined #tryton12:55
-!- vladimir(~vladimir@213.151.246.136) has joined #tryton13:04
-!- udono(~udono@dynamic-unidsl-85-197-23-235.westend.de) has joined #tryton13:34
-!- sharoon(~sharoon@117.196.134.151) has joined #tryton14:02
-!- paepke(~paepke@p4FEB0662.dip0.t-ipconnect.de) has joined #tryton14:47
-!- paepke(~paepke@p4FEB0662.dip0.t-ipconnect.de) has left #tryton15:07
-!- lem0na(~lem0na@84.40.71.19) has joined #tryton15:14
-!- woakas(~woakas@pcsp163-59.supercabletv.net.co) has joined #tryton15:26
-!- evernichon(~evernicho@mailout.fief.ch) has left #tryton15:49
-!- gremly(~gremly@200.106.202.91) has joined #tryton16:11
-!- evernichon1(~evernicho@mailout.fief.ch) has joined #tryton16:35
-!- hoRn(~chatzilla@dslb-094-223-177-046.pools.arcor-ip.net) has joined #tryton16:36
hoRnhi16:36
hoRnhow can i set the default for a selection field : BrowseRecordList has no rec_name16:38
-!- jbunting(~jbunting@99-5-88-198.lightspeed.nsvltn.sbcglobal.net) has joined #tryton16:42
hoRnok - via ID16:42
-!- jbunting(~jbunting@99-5-88-198.lightspeed.nsvltn.sbcglobal.net) has left #tryton16:42
-!- digitalsatori(~tony@116.233.244.122) has joined #tryton16:55
-!- digitalsatori(~tony@116.233.244.122) has joined #tryton17:17
udonohoRn: You are talking about many2one widget selection?17:58
udonohoRn: or fields.Selection?17:58
hoRnmany2one - need a id18:06
-!- enlightx(~enlightx@dynamic-adsl-94-34-199-209.clienti.tiscali.it) has joined #tryton20:23
-!- enlightx_(~enlightx@dynamic-adsl-94-34-199-209.clienti.tiscali.it) has joined #tryton20:23
-!- enlightx(~enlightx@dynamic-adsl-94-34-199-209.clienti.tiscali.it) has joined #tryton20:24
-!- heffer(~felix@hyperion.fetzig.org) has joined #tryton20:42
-!- heffer(~felix@fedora/heffer) has joined #tryton20:42
-!- trifon(~trifon@91-67-144-158-dynip.superkabel.de) has joined #tryton20:55
hoRnanybody awake21:16
hoRn?21:16
-!- chrue(~chrue@host-091-097-075-080.ewe-ip-backbone.de) has joined #tryton21:17
-!- evernichon(~evernicho@AAnnecy-157-1-110-152.w90-4.abo.wanadoo.fr) has joined #tryton21:18
-!- heffer(~felix@hyperion.fetzig.org) has joined #tryton21:22
-!- heffer(~felix@fedora/heffer) has joined #tryton21:22
-!- sharkcz(~sharkcz@2001:15c0:6747:160::7) has joined #tryton21:23
hoRn;(21:29
-!- trifon(~trifon@91-67-144-158-dynip.superkabel.de) has joined #tryton21:39
-!- pheller(~pheller@c1fw231.constantcontact.com) has joined #tryton22:22
udonohoRn: don't use ids, set a _rec_name: http://doc.tryton.org/1.6/trytond/doc/ref/models/models.html#trytond.model.Model._rec_name23:18
udonohoRn: use _rec_name, when the model does not have a field called 'name'23:19
hoRnok23:20
hoRnnow i'm searching for an proper way to validate the one2many-childs of an object - my solution is to patch the write-method - this woks23:22
hoRnthe only issue ist to set the fields required on the fly23:23
-!- jbunting(~jbunting@99-5-88-198.lightspeed.nsvltn.sbcglobal.net) has joined #tryton23:25
udonohoRn: setting fields required on the fly is done by fields.XYZ(...,..., states={required: <PYSON STatement which evaluates boolean>})23:26
-!- jbunting(~jbunting@99-5-88-198.lightspeed.nsvltn.sbcglobal.net) has joined #tryton23:26
-!- jbunting(~jbunting@99-5-88-198.lightspeed.nsvltn.sbcglobal.net) has left #tryton23:26
hoRnudono: you know the workflow of the sales_opportunity-model?23:27
hoRnudono: i want to validate some fields in case of the transition23:28
hoRnif the state changes - some fields are going to state required23:28
hoRnthat isn't aproblem with fields in the model - but I'have a Problem to implement this in the lines23:29
hoRnnow i'm think about a flag setting all to incomplete after a check in write()23:31
-!- plantian(~ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton23:35

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