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

chat.freenode.net #tryton log beginning Thu May 8 00:00:02 CEST 2014
2014-05-08 00:31 -!- zodman(zodman@foresight/developer/zodman) has joined #tryton
2014-05-08 01:47 -!- meanmicio(~lfm@fsf/member/meanmicio) has joined #tryton
2014-05-08 02:52 -!- frispete(~frispete@p54A935BB.dip0.t-ipconnect.de) has joined #tryton
2014-05-08 02:52 -!- yangoon(~mathiasb@p549F3730.dip0.t-ipconnect.de) has joined #tryton
2014-05-08 03:38 -!- yangoon(~mathiasb@p549F3730.dip0.t-ipconnect.de) has joined #tryton
2014-05-08 03:39 -!- frispete(~frispete@p54A935BB.dip0.t-ipconnect.de) has joined #tryton
2014-05-08 05:31 -!- digitalsatori(~Thunderbi@180.158.132.59) has joined #tryton
2014-05-08 05:54 -!- plantian(~ian@174.134.217.28) has joined #tryton
2014-05-08 06:17 -!- sharoonthomas(~sharoonth@122.177.174.158) has joined #tryton
2014-05-08 06:40 -!- frispete_(~frispete@p54A90617.dip0.t-ipconnect.de) has joined #tryton
2014-05-08 06:59 -!- sharoonthomas(~sharoonth@122.177.174.158) has joined #tryton
2014-05-08 07:02 -!- yangoon1(~mathiasb@p549F394C.dip0.t-ipconnect.de) has joined #tryton
2014-05-08 07:39 -!- digitalsatori(~Thunderbi@180.158.132.59) has joined #tryton
2014-05-08 07:48 -!- rpit(~ralf@dslb-088-071-189-052.pools.arcor-ip.net) has joined #tryton
2014-05-08 07:56 -!- mar(~marius@v100.nfq.lt) has joined #tryton
2014-05-08 08:20 -!- bechamel(~Adium@62-197-96-189.teledisnet.be) has joined #tryton
2014-05-08 08:39 -!- bechamel(~Adium@62-197-96-189.teledisnet.be) has joined #tryton
2014-05-08 08:46 -!- JackLeo(~Domas@78.56.188.199) has joined #tryton
2014-05-08 08:48 <JackLeo> hi, can anyone point me to location where in the docs it's written how to install main modules and have demo data locally?
2014-05-08 08:52 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2014-05-08 09:16 -!- bechamel(~Adium@109.131.37.126) has joined #tryton
2014-05-08 09:23 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2014-05-08 10:28 -!- mar(~marius@v100.nfq.lt) has joined #tryton
2014-05-08 10:29 -!- sharoonthomas(~sharoonth@118.91.181.250) has joined #tryton
2014-05-08 10:45 -!- grasbauer(~jan@dslb-178-000-013-117.pools.arcor-ip.net) has joined #tryton
2014-05-08 11:51 -!- nicoe(~nicoe@97.122-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton
2014-05-08 12:07 -!- sharoonthomas(~sharoonth@118.91.181.250) has joined #tryton
2014-05-08 12:12 <pokoli> JackLeo: this is the script used to populate the demo database http://hg.tryton.org/tryton-tools/file/5f31cfd7e596/tryton_demo.py
2014-05-08 12:50 -!- Shrine(~mark@37.46.136.17) has joined #tryton
2014-05-08 12:51 -!- sharoonthomas(~sharoonth@118.91.181.250) has joined #tryton
2014-05-08 12:55 -!- mariomop(~quassel@host246.186-125-117.telecom.net.ar) has joined #tryton
2014-05-08 12:56 -!- JackLeo(~Domas@78.56.188.199) has joined #tryton
2014-05-08 13:06 -!- buxy_bak(~rhertzog@mail.vm.ouaza.com) has joined #tryton
2014-05-08 13:14 -!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton
2014-05-08 13:32 -!- sharoonthomas(~sharoonth@118.91.181.250) has joined #tryton
2014-05-08 13:34 -!- priyanka_(765bb5fa@gateway/web/freenode/ip.118.91.181.250) has joined #tryton
2014-05-08 13:42 -!- udono(~udono@ip-176-199-172-92.unitymediagroup.de) has joined #tryton
2014-05-08 13:42 -!- smarro(~sebastian@190.105.93.196) has joined #tryton
2014-05-08 13:56 -!- rpit(~ralf@dslb-088-071-189-052.pools.arcor-ip.net) has joined #tryton
2014-05-08 14:18 -!- sharkcz(~sharkcz@server.danny.cz) has joined #tryton
2014-05-08 14:32 -!- sharoonthomas(~sharoonth@118.91.181.250) has joined #tryton
2014-05-08 14:41 -!- pablovannini(~pablo@host126.186-109-85.telecom.net.ar) has joined #tryton
2014-05-08 14:54 <sharoonthomas> cedk: 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 ?
2014-05-08 14:55 <cedk> bad design
2014-05-08 14:58 <sharoonthomas> cedk: 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 valid
2014-05-08 14:58 <sharoonthomas> cedk: this is because there could be rollbacks
2014-05-08 14:58 <sharoonthomas> cedk: how do you normally get around rollbacks ?
2014-05-08 14:59 <cedk> sharoonthomas: you don't
2014-05-08 15:00 <mar> if 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 :/
2014-05-08 15:00 <mar> add additional checks on state change?
2014-05-08 15:01 <cedk> mar: you must show the definition of your Model
2014-05-08 15:03 <mar> phttp://pastebin.com/50CdyAhm
2014-05-08 15:03 <mar> http://pastebin.com/50CdyAhm
2014-05-08 15:03 <mar> it's a account.invoice.line Model
2014-05-08 15:03 <cedk> mar: it is not complete
2014-05-08 15:04 <mar> so that's it, standard account.invoice.line and this field added
2014-05-08 15:05 <mar> i missed the depends part but:
2014-05-08 15:05 <mar> http://pastebin.com/S6kcBnqA
2014-05-08 15:06 <cedk> mar: it is normal that it is not checked because your required depends on the parent
2014-05-08 15:06 <cedk> cedk: so the line is not modified (and so not checked) when the parent state is changed
2014-05-08 15:07 <mar> can I specify check on account.invoice then, on one2many field?
2014-05-08 15:07 <cedk> mar: don't understand
2014-05-08 15:08 <mar> how do I make account.invoice check account.invoice.line required fields when I change account.invoice state draft->validated?
2014-05-08 15:09 <cedk> mar: use a validation
2014-05-08 15:09 <mar> override validate and call invoice.lines.validate()?
2014-05-08 15:09 <cedk> mar: why not? But personnaly I will not design application like that
2014-05-08 15:11 <mar> how would you do it?
2014-05-08 15:11 <mar> you mean my field is in a wrong place?
2014-05-08 15:12 <cedk> mar: having something becoming required inside a one2many provides bad UX
2014-05-08 15:13 <mar> so it's required field, for one invoice type
2014-05-08 15:14 <mar> just like unit_price, etc. But I just want to be able to create draft invoice without specifying fields value
2014-05-08 15:22 -!- digitalsatori(~Thunderbi@116.234.181.110) has joined #tryton
2014-05-08 15:28 <cedk> mar: don't understand why such field should be required on validation
2014-05-08 15:38 -!- digitalsatori(~Thunderbi@116.234.181.110) has joined #tryton
2014-05-08 16:30 -!- alisonken1lap3(~alisonken@18.18.ultimate-int.uia.net) has joined #tryton
2014-05-08 17:12 -!- digitalsatori(~Thunderbi@116.234.181.110) has joined #tryton
2014-05-08 17:44 -!- bechamel1(~Adium@109.131.37.126) has joined #tryton
2014-05-08 17:45 -!- Telesight(~anthony@77-175-159-159.FTTH.ispfabriek.nl) has joined #tryton
2014-05-08 18:11 -!- gremly(~gremly@190.85.36.58) has joined #tryton
2014-05-08 20:19 -!- nicoe(~nicoe@97.122-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton
2014-05-08 21:18 -!- mar(~marius@84.240.20.35) has joined #tryton
2014-05-08 21:25 -!- mariomop(~quassel@186.153.73.7) has joined #tryton
2014-05-08 21:26 -!- bechamel(~Adium@62-197-96-189.teledisnet.be) has joined #tryton
2014-05-08 22:50 -!- zultron(~zultron@99-190-134-148.lightspeed.austtx.sbcglobal.net) has joined #tryton

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