IRC logs of #tryton for Thursday, 2014-05-08

chat.freenode.net #tryton log beginning Thu May 8 00:00:02 CEST 2014
-!- zodman(zodman@foresight/developer/zodman) has joined #tryton00:31
-!- meanmicio(~lfm@fsf/member/meanmicio) has joined #tryton01:47
-!- frispete(~frispete@p54A935BB.dip0.t-ipconnect.de) has joined #tryton02:52
-!- yangoon(~mathiasb@p549F3730.dip0.t-ipconnect.de) has joined #tryton02:52
-!- yangoon(~mathiasb@p549F3730.dip0.t-ipconnect.de) has joined #tryton03:38
-!- frispete(~frispete@p54A935BB.dip0.t-ipconnect.de) has joined #tryton03:39
-!- digitalsatori(~Thunderbi@180.158.132.59) has joined #tryton05:31
-!- plantian(~ian@174.134.217.28) has joined #tryton05:54
-!- sharoonthomas(~sharoonth@122.177.174.158) has joined #tryton06:17
-!- frispete_(~frispete@p54A90617.dip0.t-ipconnect.de) has joined #tryton06:40
-!- sharoonthomas(~sharoonth@122.177.174.158) has joined #tryton06:59
-!- yangoon1(~mathiasb@p549F394C.dip0.t-ipconnect.de) has joined #tryton07:02
-!- digitalsatori(~Thunderbi@180.158.132.59) has joined #tryton07:39
-!- rpit(~ralf@dslb-088-071-189-052.pools.arcor-ip.net) has joined #tryton07:48
-!- mar(~marius@v100.nfq.lt) has joined #tryton07:56
-!- bechamel(~Adium@62-197-96-189.teledisnet.be) has joined #tryton08:20
-!- bechamel(~Adium@62-197-96-189.teledisnet.be) has joined #tryton08:39
-!- JackLeo(~Domas@78.56.188.199) has joined #tryton08:46
JackLeohi, can anyone point me to location where in the docs it's written how to install main modules and have demo data locally?08:48
-!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton08:52
-!- bechamel(~Adium@109.131.37.126) has joined #tryton09:16
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:23
-!- mar(~marius@v100.nfq.lt) has joined #tryton10:28
-!- sharoonthomas(~sharoonth@118.91.181.250) has joined #tryton10:29
-!- grasbauer(~jan@dslb-178-000-013-117.pools.arcor-ip.net) has joined #tryton10:45
-!- nicoe(~nicoe@97.122-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton11:51
-!- sharoonthomas(~sharoonth@118.91.181.250) has joined #tryton12:07
pokoliJackLeo: this is the script used to populate the demo database http://hg.tryton.org/tryton-tools/file/5f31cfd7e596/tryton_demo.py12:12
-!- Shrine(~mark@37.46.136.17) has joined #tryton12:50
-!- sharoonthomas(~sharoonth@118.91.181.250) has joined #tryton12:51
-!- mariomop(~quassel@host246.186-125-117.telecom.net.ar) has joined #tryton12:55
-!- JackLeo(~Domas@78.56.188.199) has joined #tryton12:56
-!- buxy_bak(~rhertzog@mail.vm.ouaza.com) has joined #tryton13:06
-!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton13:14
-!- sharoonthomas(~sharoonth@118.91.181.250) has joined #tryton13:32
-!- priyanka_(765bb5fa@gateway/web/freenode/ip.118.91.181.250) has joined #tryton13:34
-!- udono(~udono@ip-176-199-172-92.unitymediagroup.de) has joined #tryton13:42
-!- smarro(~sebastian@190.105.93.196) has joined #tryton13:42
-!- rpit(~ralf@dslb-088-071-189-052.pools.arcor-ip.net) has joined #tryton13:56
-!- sharkcz(~sharkcz@server.danny.cz) has joined #tryton14:18
-!- sharoonthomas(~sharoonth@118.91.181.250) has joined #tryton14:32
-!- pablovannini(~pablo@host126.186-109-85.telecom.net.ar) has joined #tryton14:41
sharoonthomascedk: when you say that email queue should not be part of tryton, you mean that it should not be part of the core tryton modules or do you mean that it is bad design to have the email queue within tryton ?14:54
cedkbad design14:55
sharoonthomascedk: we use message queue to do this normally, but then the problem is that everything has to check for some condition to ensure that sending email is still valid14:58
sharoonthomascedk: this is because there could be rollbacks14:58
sharoonthomascedk: how do you normally get around rollbacks ?14:58
cedksharoonthomas: you don't14:59
marif I want to add field, that is required for one invoice type, but only for validated+ state, how do I do that? Tryton still allows me to change draft -> validated with required field empty :/15:00
maradd additional checks on state change?15:00
cedkmar: you must show the definition of your Model15:01
marphttp://pastebin.com/50CdyAhm15:03
marhttp://pastebin.com/50CdyAhm15:03
marit's a account.invoice.line Model15:03
cedkmar: it is not complete15:03
marso that's it, standard account.invoice.line and this field added15:04
mari missed the depends part but:15:05
marhttp://pastebin.com/S6kcBnqA15:05
cedkmar: it is normal that it is not checked because your required depends on the parent15:06
cedkcedk: so the line is not modified (and so not checked) when the parent state is changed15:06
marcan I specify check on account.invoice then, on one2many field?15:07
cedkmar: don't understand15:07
marhow do I make account.invoice check account.invoice.line required fields when I change account.invoice state draft->validated?15:08
cedkmar: use a validation15:09
maroverride validate and call invoice.lines.validate()?15:09
cedkmar: why not? But personnaly I will not design application like that15:09
marhow would you do it?15:11
maryou mean my field is in a wrong place?15:11
cedkmar: having something becoming required inside a one2many provides bad UX15:12
marso it's required field, for one invoice type15:13
marjust like unit_price, etc. But I just want to be able to create draft invoice without specifying fields value15:14
-!- digitalsatori(~Thunderbi@116.234.181.110) has joined #tryton15:22
cedkmar: don't understand why such field should be required on validation15:28
-!- digitalsatori(~Thunderbi@116.234.181.110) has joined #tryton15:38
-!- alisonken1lap3(~alisonken@18.18.ultimate-int.uia.net) has joined #tryton16:30
-!- digitalsatori(~Thunderbi@116.234.181.110) has joined #tryton17:12
-!- bechamel1(~Adium@109.131.37.126) has joined #tryton17:44
-!- Telesight(~anthony@77-175-159-159.FTTH.ispfabriek.nl) has joined #tryton17:45
-!- gremly(~gremly@190.85.36.58) has joined #tryton18:11
-!- nicoe(~nicoe@97.122-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton20:19
-!- mar(~marius@84.240.20.35) has joined #tryton21:18
-!- mariomop(~quassel@186.153.73.7) has joined #tryton21:25
-!- bechamel(~Adium@62-197-96-189.teledisnet.be) has joined #tryton21:26
-!- zultron(~zultron@99-190-134-148.lightspeed.austtx.sbcglobal.net) has joined #tryton22:50

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