IRC logs of #tryton for Thursday, 2014-09-25

chat.freenode.net #tryton log beginning Thu Sep 25 00:00:01 CEST 2014
2014-09-25 00:53 -!- uranush(~uranus@ool-18ba6246.dyn.optonline.net) has joined #tryton
2014-09-25 01:43 -!- uranush(~uranus@ool-18ba6246.dyn.optonline.net) has joined #tryton
2014-09-25 01:47 -!- meanmicio(~meanmicio@187-53-17-190.fibertel.com.ar) has joined #tryton
2014-09-25 01:47 -!- meanmicio(~meanmicio@fsf/member/meanmicio) has joined #tryton
2014-09-25 02:36 -!- digitalsatori(~Thunderbi@114.94.137.49) has joined #tryton
2014-09-25 04:15 -!- smarro(~sebastian@190.105.93.196) has joined #tryton
2014-09-25 06:13 -!- uranus(~uranus@ool-18ba6246.dyn.optonline.net) has joined #tryton
2014-09-25 06:41 -!- frispete_(~frispete@p54A91FFD.dip0.t-ipconnect.de) has joined #tryton
2014-09-25 07:02 -!- yangoon(~mathiasb@p549F162E.dip0.t-ipconnect.de) has joined #tryton
2014-09-25 07:02 -!- uranus(~uranus@ool-18ba6246.dyn.optonline.net) has joined #tryton
2014-09-25 07:03 -!- marius__(~marius@v100.nfq.lt) has joined #tryton
2014-09-25 07:17 -!- uranush(~uranus@ool-18ba6246.dyn.optonline.net) has joined #tryton
2014-09-25 07:25 -!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton
2014-09-25 07:37 -!- pobsteta(~Thunderbi@88.160.87.54) has joined #tryton
2014-09-25 07:38 -!- Telesight(~anthony@77-175-159-159.FTTH.ispfabriek.nl) has joined #tryton
2014-09-25 07:49 -!- pjstevns(~Thunderbi@2001:981:7170:1:6dd5:67d5:327e:4e71) has joined #tryton
2014-09-25 07:51 -!- grasbauer(~jan@dslb-188-106-128-196.188.106.pools.vodafone-ip.de) has joined #tryton
2014-09-25 08:00 -!- marius__(~marius@v100.nfq.lt) has joined #tryton
2014-09-25 08:04 -!- bechamel1(~Adium@62-197-96-189.teledisnet.be) has joined #tryton
2014-09-25 08:16 -!- grasbauer(~jan@business-088-079-110-234.static.arcor-ip.net) has joined #tryton
2014-09-25 08:17 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2014-09-25 08:20 -!- VaticanCameos(~pritishc@122.177.223.57) has joined #tryton
2014-09-25 08:21 -!- marius__(~marius@v100.nfq.lt) has joined #tryton
2014-09-25 08:36 -!- Streward(~quassel@85.183.31.24) has joined #tryton
2014-09-25 08:45 -!- corro(~corro@46.22.23.85) has joined #tryton
2014-09-25 08:46 -!- digitalsatori(~Thunderbi@114.94.137.49) has joined #tryton
2014-09-25 08:49 -!- VaticanCameos(~pritishc@122.177.30.132) has joined #tryton
2014-09-25 08:51 -!- vernichon(~Thunderbi@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton
2014-09-25 08:52 -!- nicoe(~nicoe@99.85-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton
2014-09-25 08:52 -!- Streward(~quassel@85.183.31.24) has joined #tryton
2014-09-25 08:54 -!- grasbauer(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton
2014-09-25 09:15 -!- jeancavallo(~giovanni@bob75-9-88-181-2-176.fbx.proxad.net) has joined #tryton
2014-09-25 09:21 -!- VaticanCameos(~pritishc@122.177.30.132) has joined #tryton
2014-09-25 09:28 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton
2014-09-25 09:32 -!- ronaldm(~ronaldm@197.211.216.214) has joined #tryton
2014-09-25 09:47 -!- digitalsatori(~Thunderbi@114.94.137.49) has joined #tryton
2014-09-25 09:58 -!- grasbauer1(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton
2014-09-25 10:06 -!- bechamel(~Adium@109.131.51.68) has joined #tryton
2014-09-25 10:12 -!- grasbauer(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton
2014-09-25 10:30 -!- hiaselhans(~Thunderbi@178.165.132.35.wireless.dyn.drei.com) has joined #tryton
2014-09-25 10:54 -!- swayf(~swayf@93.104.202.98) has joined #tryton
2014-09-25 11:02 -!- gregor`(~gregor@chello062178098236.5.12.vie.surfer.at) has joined #tryton
2014-09-25 11:04 <Guest68082> what is the best method to validate that a numeric field contains only values from 0-100? I've read about pre_validate und validate but they seem to validate late at saving time. I also tryied on_change_<field> but that does not prevent the user from filling in wrong values. What I want is validation after leaving the field. How can I do this ini tryton?
2014-09-25 11:09 <cedk> Guest68082: a domain
2014-09-25 11:17 <Guest68082> cedk: Great thank you! Is it possible to give the user a text message what went wrong with the domain validation?
2014-09-25 11:23 <cedk> Guest68082: no
2014-09-25 11:23 <Guest68082> ok thank you!
2014-09-25 11:23 <cedk> Guest68082: but it seems your field is a percentage so you could use the rate attribute + a label %
2014-09-25 11:23 <cedk> Guest68082: like on taxes
2014-09-25 11:24 -!- ronaldm(~ronaldm@197.211.216.214) has joined #tryton
2014-09-25 11:24 <cedk> Guest68082: otherwise you can put an help text on the field, I guess the user will read it if the field becomes red
2014-09-25 11:27 <Guest68082> I could not find a rate attribute in the docs and in account/tax.py ?
2014-09-25 11:28 <Guest68082> yes it is a percentage
2014-09-25 11:30 <Guest68082> well i found a rate field in tax.pym but it is a "normal" numeric field
2014-09-25 11:30 <pokoli> Guest68082: I think you're searching for factor
2014-09-25 11:30 <pokoli> Guest68082: it's specified on the views
2014-09-25 11:31 <pokoli> Guest68082: See http://hg.tryton.org/modules/account/file/e324929306f5/view/tax_form.xml#l30
2014-09-25 11:33 <cedk> Guest68082: it is factor: http://doc.tryton.org/3.2/trytond/doc/topics/views/index.html?highlight=factor#common-attributes-factor
2014-09-25 11:35 <Guest68082> I tried a factor of 100 in my view, but it seems to only multiply the entered value with 100. It does not seem to add validation.
2014-09-25 11:37 <cedk> Guest68082: no factor is just a factor, you must also add a domain for validation
2014-09-25 11:40 -!- nicoe(~nicoe@2a02:2788:44:e7b:ee55:f9ff:fe7b:f7ac) has joined #tryton
2014-09-25 11:41 <Guest68082> Thank you!
2014-09-25 12:01 <Guest68082> Is there a way to make a generic percentage model field? With default values, digits, domain etc. defined once instead of every Numeric field instance?
2014-09-25 12:32 <cedk> Guest68082: you can create a fields.Percentage that inherit fields.Float with the right default domain, digits etc.
2014-09-25 12:32 <cedk> Guest68082: but for default value and factor you must do it each time or use a class decorator
2014-09-25 12:34 -!- grasbauer(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton
2014-09-25 12:35 <Guest68082> thank you, bit in the domain there is the attribute name required which is not generic.
2014-09-25 12:35 -!- mariomop(~quassel@host127.181-1-160.telecom.net.ar) has joined #tryton
2014-09-25 12:46 <pokoli> cedk: do you think that we can fix https://bugs.tryton.org/issue4213 before 3.4?
2014-09-25 12:52 <cedk> pokoli: until monday
2014-09-25 12:53 <pokoli> cedk: perfect, that was what I imagined, so I think we will be in time :P
2014-09-25 13:06 <cedk> pokoli: once you will push the fix, it is good to send an email on tryton-dev to warn translators
2014-09-25 13:07 <pokoli> cedk: ok, i will do
2014-09-25 13:08 -!- vernichon1(~Thunderbi@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton
2014-09-25 13:37 -!- swayf(~swayf@93.104.202.98) has joined #tryton
2014-09-25 13:43 -!- sharkcz(~sharkcz@2a01:8c00:ffb3:160:250:43ff:fe3c:3b5d) has joined #tryton
2014-09-25 13:50 -!- kstenger(~karla@200.124.209.158) has joined #tryton
2014-09-25 13:52 -!- vernichon(~Thunderbi@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton
2014-09-25 14:07 -!- sharoonthomas(~sharoonth@122.177.170.16) has joined #tryton
2014-09-25 15:25 -!- vernichon(~Thunderbi@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton
2014-09-25 15:29 -!- swayf(~swayf@93.104.202.98) has joined #tryton
2014-09-25 15:42 -!- bechamel(~Adium@ptr-178-50-70-224.dyn.mobistar.be) has joined #tryton
2014-09-25 15:42 -!- swayf(~swayf@93.104.202.98) has joined #tryton
2014-09-25 15:51 -!- vernichon(~Thunderbi@78.234.55.95) has joined #tryton
2014-09-25 15:56 -!- jvblasco(~seba@62.43.196.37.static.user.ono.com) has joined #tryton
2014-09-25 16:12 -!- gremly(~gremly@190.85.36.58) has joined #tryton
2014-09-25 16:28 -!- ytz(~textual@secure2.options-it.com) has joined #tryton
2014-09-25 16:32 -!- grasbauer(~jan@89.15.237.57) has joined #tryton
2014-09-25 16:34 <cedk> grasbauer: any news about recording the TUL?
2014-09-25 16:39 -!- digitalsatori(~Thunderbi@116.234.181.110) has joined #tryton
2014-09-25 16:40 <grasbauer> cedk: I think my friends company will doing the videos - but he still stays on Oktoberfest and isn't available on phone ;)
2014-09-25 16:41 <grasbauer> cedk: he confirmed via sms ...
2014-09-25 16:43 <cedk> grasbauer: it will be good to know on time otherwise I can try to manage to take a camera
2014-09-25 16:44 <grasbauer> cedk: no problem - I have a cam as well ...
2014-09-25 16:46 <grasbauer> cedk: media hardware isn't a problem - but it would be nice to get it handled by professionals
2014-09-25 16:50 -!- bechamel(~Adium@109.131.51.68) has joined #tryton
2014-09-25 16:59 -!- digitalsatori(~Thunderbi@116.234.181.110) has joined #tryton
2014-09-25 17:00 -!- bechamel(~Adium@109.131.51.68) has joined #tryton
2014-09-25 17:03 -!- grasbauer(~jan@89.15.237.57) has joined #tryton
2014-09-25 17:19 -!- gremly(~gremly@190.85.36.58) has joined #tryton
2014-09-25 17:20 -!- gremly(~gremly@190.85.36.58) has joined #tryton
2014-09-25 17:35 -!- grasbauer(~jan@89.15.237.57) has joined #tryton
2014-09-25 18:00 -!- swayf(~swayf@ipbcc17c06.dynamic.kabel-deutschland.de) has joined #tryton
2014-09-25 18:04 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2014-09-25 18:20 -!- meanmicio(~meanmicio@187-53-17-190.fibertel.com.ar) has joined #tryton
2014-09-25 18:20 -!- meanmicio(~meanmicio@fsf/member/meanmicio) has joined #tryton
2014-09-25 18:24 -!- Telesight(~anthony@77-175-159-159.FTTH.ispfabriek.nl) has joined #tryton
2014-09-25 18:59 -!- uranus(~uranus@ool-18ba6246.dyn.optonline.net) has joined #tryton
2014-09-25 19:00 -!- uranush(~uranus@ool-18ba6246.dyn.optonline.net) has joined #tryton
2014-09-25 19:01 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2014-09-25 19:12 -!- prksh(~prksh@180.188.247.176) has joined #tryton
2014-09-25 19:39 -!- yogi_viral(67f04f0d@gateway/web/freenode/ip.103.240.79.13) has joined #tryton
2014-09-25 19:44 -!- yogi_viral(67f04f0d@gateway/web/freenode/ip.103.240.79.13) has left #tryton
2014-09-25 19:50 -!- sharoonthomas(~sharoonth@122.177.203.90) has joined #tryton
2014-09-25 19:51 -!- viral_yogi(67f04f0d@gateway/web/freenode/ip.103.240.79.13) has joined #tryton
2014-09-25 20:04 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has left #tryton
2014-09-25 20:06 -!- smarro(~sebastian@181.47.135.16) has joined #tryton
2014-09-25 20:28 -!- prksh(~prksh@180.188.247.176) has joined #tryton
2014-09-25 21:04 -!- TheCowboy`(~TheCowboy@wsip-98-191-208-111.dc.dc.cox.net) has joined #tryton
2014-09-25 21:05 -!- sharoonthomas(~sharoonth@198.61.199.179) has joined #tryton
2014-09-25 21:12 -!- rpit(~ralf@dslb-092-076-168-072.092.076.pools.vodafone-ip.de) has joined #tryton
2014-09-25 21:17 -!- nicoe(~nicoe@2a02:a03f:303e:2600:ee55:f9ff:fe7b:f7ac) has joined #tryton
2014-09-25 22:12 -!- smarro(~sebastian@host100.190-136-175.telecom.net.ar) has joined #tryton
2014-09-25 22:21 -!- prksh(~prksh@180.188.247.176) has joined #tryton
2014-09-25 23:13 -!- prksh(~prksh@180.188.247.176) has joined #tryton
2014-09-25 23:13 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2014-09-25 23:32 -!- Telesight(~anthony@77-175-159-159.FTTH.ispfabriek.nl) has joined #tryton
2014-09-25 23:45 -!- plantian(~ian@174.134.217.28) has joined #tryton

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