IRC logs of #tryton for Thursday, 2014-07-31

chat.freenode.net #tryton log beginning Thu Jul 31 00:00:02 CEST 2014
2014-07-31 04:25 -!- digitalsatori(~Thunderbi@101.87.130.104) has joined #tryton
2014-07-31 05:09 -!- smarro(~sebastian@201.251.135.150) has joined #tryton
2014-07-31 06:38 -!- VaticanCameos(~pritishc@182.68.76.172) has joined #tryton
2014-07-31 06:38 <VaticanCameos> http://doc.tryton.org/1.0/trytond/doc/models.html are these instance attributes of Model classes from tryton 1.0 still around in 3.2?
2014-07-31 06:40 -!- frispete(~frispete@p54A91C94.dip0.t-ipconnect.de) has joined #tryton
2014-07-31 06:45 <VaticanCameos> Hmm, it seems that they are, but split into different classes.
2014-07-31 07:11 -!- VaticanCameos(~pritishc@182.69.47.223) has joined #tryton
2014-07-31 07:43 -!- digitalsatori(~Thunderbi@101.87.130.104) has joined #tryton
2014-07-31 07:56 -!- grasbauer(~jan@dslb-092-078-071-134.092.078.pools.vodafone-ip.de) has joined #tryton
2014-07-31 08:15 -!- pobsteta(~Thunderbi@37.160.58.63) has joined #tryton
2014-07-31 08:54 -!- pjstevns(~Thunderbi@2001:981:7170:1:681a:72a8:67c5:9544) has joined #tryton
2014-07-31 09:02 -!- nicoe(~nicoe@85.26.36.239) has joined #tryton
2014-07-31 09:11 -!- jeancavallo(~giovanni@LPuteaux-656-01-230-52.w80-12.abo.wanadoo.fr) has joined #tryton
2014-07-31 09:28 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2014-07-31 09:40 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2014-07-31 09:51 -!- pobsteta(~Thunderbi@37.161.238.107) has joined #tryton
2014-07-31 10:02 -!- hiaselhans(~Thunderbi@chello084113193201.6.14.vie.surfer.at) has joined #tryton
2014-07-31 10:21 -!- mar(~marius@v100.nfq.lt) has joined #tryton
2014-07-31 11:04 -!- VaticanCameos(~pritishc@182.68.199.205) has joined #tryton
2014-07-31 11:20 -!- lfm(~meanmicio@18.Red-83-42-32.dynamicIP.rima-tde.net) has joined #tryton
2014-07-31 11:39 -!- pobsteta(~Thunderbi@37.161.238.107) has joined #tryton
2014-07-31 11:49 -!- pobsteta(~Thunderbi@37.161.238.107) has joined #tryton
2014-07-31 12:07 -!- pobsteta(~Thunderbi@37.161.238.107) has joined #tryton
2014-07-31 12:48 -!- mariomop(~quassel@host212.186-109-105.telecom.net.ar) has joined #tryton
2014-07-31 13:43 -!- pobsteta(~Thunderbi@37.162.243.23) has joined #tryton
2014-07-31 13:49 -!- kstenger(~karla@200.124.209.158) has joined #tryton
2014-07-31 13:57 -!- jeancavallo(~giovanni@LPuteaux-656-01-230-52.w80-12.abo.wanadoo.fr) has joined #tryton
2014-07-31 14:06 <mar> how do I make field required to fill only in some state?
2014-07-31 14:06 <mar> stateA -> stateB -> stateC, and I want that field would be required in stateB+
2014-07-31 14:07 <mar> but if I set required: Eval('state') == stateB, I'm unable to transition into stateB?
2014-07-31 14:09 <cedk> mar: you must use the states attribute
2014-07-31 14:09 <cedk> mar: http://doc.tryton.org/3.2/trytond/doc/ref/models/fields.html?highlight=states#trytond.model.fields.Field.states
2014-07-31 14:10 <cedk> required is only boolean: http://doc.tryton.org/3.2/trytond/doc/ref/models/fields.html?highlight=required#trytond.model.fields.Field.required
2014-07-31 14:16 <mar> cedk, so I use states, but I still get required err
2014-07-31 14:16 <mar> on transition into stateB
2014-07-31 14:17 <cedk> mar: of course if the field is not set prior to the transition
2014-07-31 14:23 -!- smarro(~sebastian@200.107.230.29) has joined #tryton
2014-07-31 14:31 <cedk> I'm thinking about a kind of prevalidation on the button for this kind of design
2014-07-31 14:45 <mar> I believe invoice_date uses such design
2014-07-31 14:45 <mar> http://hg.tryton.org/trytond/trytond/modules/account_invoice/file/28ca68f43666/invoice.py#l75
2014-07-31 14:56 <cedk> mar: except it is always set
2014-07-31 14:56 <cedk> during the transition
2014-07-31 15:14 -!- frispete_(~frispete@p54A91C94.dip0.t-ipconnect.de) has joined #tryton
2014-07-31 15:14 -!- leio_(~leio@gentoo/developer/leio) has joined #tryton
2014-07-31 15:15 -!- pilou(~pilou@181.204.19.93.rev.sfr.net) has joined #tryton
2014-07-31 15:15 -!- pilou(~pilou@pdpc/supporter/active/pilou) has joined #tryton
2014-07-31 15:15 -!- cthuluh(jca@chomsky.autogeree.net) has joined #tryton
2014-07-31 15:16 -!- zultron(~zultron@99-190-134-148.lightspeed.austtx.sbcglobal.net) has joined #tryton
2014-07-31 15:33 -!- VaticanCameos(~pritishc@182.68.187.4) has joined #tryton
2014-07-31 15:44 -!- pjstevns(~Thunderbi@2001:981:7170:1:681a:72a8:67c5:9544) has joined #tryton
2014-07-31 16:00 -!- newzen(~newzen@190.205.244.127) has joined #tryton
2014-07-31 16:20 -!- gremly(~gremly@190.85.36.58) has joined #tryton
2014-07-31 16:42 -!- jeancavallo(~giovanni@bob75-9-88-181-2-176.fbx.proxad.net) has joined #tryton
2014-07-31 16:43 <kstenger> Hello all, in this domain clause ('company', '=', Eval('context', {}).get('company', -1)), if 'company' is not set in 'context', then the current domain will look for ('company', '=', -1), does this mean all existing companies will match or that none will?
2014-07-31 16:58 <pokoli> kstenger: none
2014-07-31 16:59 <kstenger> thanks pokoli
2014-07-31 16:59 <pokoli> kstenger: sorry, not sure know... xD
2014-07-31 17:00 <kstenger> haha ok :D
2014-07-31 17:00 <pokoli> kstenger: none, none, as will search for company = -1, and all ids are positives on the database
2014-07-31 17:01 <kstenger> ok, I wasn't sure, because on some cases into the xml -1 means "all"
2014-07-31 17:02 <kstenger> so I guess it's just a short for None :)
2014-07-31 17:32 -!- alisonken1lap3(~alisonken@18.18.ultimate-int.uia.net) has joined #tryton
2014-07-31 17:35 -!- digitalsatori(~Thunderbi@116.234.181.110) has joined #tryton
2014-07-31 17:50 -!- ronaldm(~ronaldm@197.221.242.13) has joined #tryton
2014-07-31 18:09 -!- prksh(~prksh@180.188.247.63) has joined #tryton
2014-07-31 18:14 <prksh> hello, I was trying to make integer property field and I got “Not Implemented” error. why so? Why only char, selection, numeric and m2o accepted?
2014-07-31 18:16 <pokoli> prksh: why you need a property?
2014-07-31 18:18 <prksh> pokoli: to save company specific data, thats what it does right?
2014-07-31 18:18 <pokoli> prksh: yes currently, but properties will be removed in the future
2014-07-31 18:19 <pokoli> prksh: have a look at https://groups.google.com/forum/#!topic/tryton-dev/J3sAHStDC_w
2014-07-31 18:22 -!- aasnan(~angel@6.Red-83-56-189.dynamicIP.rima-tde.net) has joined #tryton
2014-07-31 18:26 -!- angelnan(~angel@6.Red-83-56-189.dynamicIP.rima-tde.net) has joined #tryton
2014-07-31 18:27 <prksh> pokoli: Aah! got the idea. So I can implement this even without property.
2014-07-31 18:27 <prksh> pokoli: many thanks
2014-07-31 18:28 <pokoli> prksh: yes you can, you're welcome
2014-07-31 18:38 -!- aasnan(~angel@6.Red-83-56-189.dynamicIP.rima-tde.net) has joined #tryton
2014-07-31 18:40 -!- angelnan(~angel@6.Red-83-56-189.dynamicIP.rima-tde.net) has joined #tryton
2014-07-31 18:40 -!- aasnan(~angel@6.Red-83-56-189.dynamicIP.rima-tde.net) has joined #tryton
2014-07-31 18:42 -!- aasnan(~angel@6.Red-83-56-189.dynamicIP.rima-tde.net) has joined #tryton
2014-07-31 18:58 -!- meanmicio(~meanmicio@fsf/member/meanmicio) has joined #tryton
2014-07-31 20:07 -!- pjstevns(~Thunderbi@2001:981:7170:1:681a:72a8:67c5:9544) has joined #tryton
2014-07-31 21:38 -!- aasnan(~angel@6.Red-83-56-189.dynamicIP.rima-tde.net) has joined #tryton
2014-07-31 21:39 -!- aasnan(~angel@6.Red-83-56-189.dynamicIP.rima-tde.net) has left #tryton
2014-07-31 21:54 -!- Telesight(~anthony@77-175-159-159.FTTH.ispfabriek.nl) has joined #tryton
2014-07-31 22:06 -!- xulfi(~quassel@mbl-109-59-126.dsl.net.pk) has joined #tryton
2014-07-31 22:18 <grasbauer> in whats new in 3.2 is statet that I can write "different values to many sets of records" - but I'm to dumb to pass the right parameters
2014-07-31 22:19 <grasbauer> write([list_of_records], {dictionary_with_values}) writes the values of the dictionary to all records of the list
2014-07-31 22:20 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2014-07-31 22:20 <grasbauer> how to pass diffent records with different values?
2014-07-31 22:25 <kstenger> grasbauer: from this http://doc.tryton.org/3.2/trytond/doc/ref/models/models.html?highlight=write#trytond.model.ModelStorage.write it seems you can pass reconds and values several times
2014-07-31 22:25 <kstenger> records*
2014-07-31 22:26 <grasbauer> kstenger: thats right - stupid question ;)
2014-07-31 22:27 <kstenger> not stupid to me, still learning about tryton here :)
2014-07-31 22:27 <kstenger> good luck with it

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