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

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

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