IRC logs of #tryton for Monday, 2014-10-06

chat.freenode.net #tryton log beginning Mon Oct 6 00:00:01 CEST 2014
2014-10-06 00:18 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2014-10-06 00:32 -!- zodman(~zodman@2604:c00:a:2:0:1:836:1b8) has joined #tryton
2014-10-06 02:44 -!- TheCowboy`(~TheCowboy@ip68-98-183-236.dc.dc.cox.net) has joined #tryton
2014-10-06 04:01 -!- digitalsatori(~Thunderbi@114.92.210.36) has joined #tryton
2014-10-06 05:08 -!- leio(~leio@gentoo/developer/leio) has joined #tryton
2014-10-06 06:40 -!- frispete(~frispete@p54A91E04.dip0.t-ipconnect.de) has joined #tryton
2014-10-06 06:54 -!- mar(~marius@v100.nfq.lt) has joined #tryton
2014-10-06 07:02 -!- yangoon(~mathiasb@p549F0ED8.dip0.t-ipconnect.de) has joined #tryton
2014-10-06 07:41 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2014-10-06 08:20 -!- ronaldm(~ronaldm@197.211.216.214) has joined #tryton
2014-10-06 08:20 -!- udono(~udono@5.147.65.82) has joined #tryton
2014-10-06 08:29 -!- udono(~udono@5.147.65.82) has joined #tryton
2014-10-06 08:44 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2014-10-06 08:55 -!- jeancavallo(~giovanni@bob75-9-88-181-2-176.fbx.proxad.net) has joined #tryton
2014-10-06 09:09 -!- corro(~corro@46.22.23.85) has joined #tryton
2014-10-06 09:13 -!- nicoe(~nicoe@175.95-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton
2014-10-06 09:13 -!- ronaldm(~ronaldm@197.211.216.214) has joined #tryton
2014-10-06 09:37 -!- bechamel(~Adium@62-197-96-189.teledisnet.be) has joined #tryton
2014-10-06 09:41 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2014-10-06 09:42 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton
2014-10-06 10:00 -!- sharoonthomas(~sharoonth@198.61.199.179) has joined #tryton
2014-10-06 10:08 -!- swayf(~swayf@93.104.202.98) has joined #tryton
2014-10-06 10:19 -!- pobsteta(~Thunderbi@37.162.188.141) has joined #tryton
2014-10-06 10:22 -!- sharoonthomas(~sharoonth@198.61.199.179) has joined #tryton
2014-10-06 11:07 -!- pobsteta(~Thunderbi@37.162.188.141) has joined #tryton
2014-10-06 11:19 -!- jvblasco(~seba@62.43.196.37.static.user.ono.com) has joined #tryton
2014-10-06 11:36 -!- sharoonthomas(~sharoonth@198.61.199.179) has joined #tryton
2014-10-06 11:40 -!- cjbarnes18(~craig@213.131.188.214) has joined #tryton
2014-10-06 11:41 -!- pobsteta1(~Thunderbi@37.160.29.95) has joined #tryton
2014-10-06 11:42 -!- newzen(~newzen@190.199.249.17) has joined #tryton
2014-10-06 11:45 -!- prksh(~prksh@1.39.24.186) has joined #tryton
2014-10-06 12:22 -!- mariomop(~quassel@181.110.66.209) has joined #tryton
2014-10-06 12:49 -!- swayf(~swayf@93.104.202.98) has joined #tryton
2014-10-06 12:51 -!- kstenger(~karla@200.124.209.158) has joined #tryton
2014-10-06 13:19 -!- ronaldm(~ronaldm@197.211.216.214) has joined #tryton
2014-10-06 13:39 -!- smarro(~sebastian@190.105.93.196) has joined #tryton
2014-10-06 13:41 -!- prksh(~prksh@1.39.25.147) has joined #tryton
2014-10-06 13:52 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2014-10-06 14:07 <prksh> pokoli: I am writing a unittest and I dont see a way to get on_change events called automatically. Any help?
2014-10-06 14:07 <pokoli> prksh: use doctest and proteus
2014-10-06 14:08 <prksh> clever
2014-10-06 14:08 <prksh> but why not unittest is my question :p
2014-10-06 14:10 <nicoe> prksh: proteus calls the right stuffs, in unittest you're "inside" tryton the on_changes are not automatically called.
2014-10-06 14:13 <prksh> nicoe: thanks. I am switching to proteus.
2014-10-06 14:15 <pokoli> prksh: proteus mimics tryton client, so it's the right tool to test user stories
2014-10-06 14:15 <pokoli> prksh: unittest its usefull for testing "server" code
2014-10-06 14:16 <pokoli> prksh: and by server code i mean the code that only gets executed on server, for example calculating data, functional fields, etc
2014-10-06 14:20 <prksh> pokoli: hmm I realized this :)
2014-10-06 15:05 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has left #tryton
2014-10-06 15:18 -!- digitalsatori(~Thunderbi@114.92.210.36) has joined #tryton
2014-10-06 16:35 -!- gremly(~gremly@190.85.36.58) has joined #tryton
2014-10-06 16:53 -!- vernichon(~Thunderbi@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton
2014-10-06 17:33 -!- prksh(~prksh@1.39.26.170) has joined #tryton
2014-10-06 17:39 -!- Telesight(~anthony@77-175-158-148.FTTH.ispfabriek.nl) has joined #tryton
2014-10-06 18:04 -!- vezjakv(5a9de821@gateway/web/freenode/ip.90.157.232.33) has joined #tryton
2014-10-06 18:07 <vezjakv> Hi all, with previous Tryton releases I've used localize_modules.py script together with TRYTOND_CONFIG variable, but newer version seems to not honour this env variable. Is there a new way to use env vars?
2014-10-06 18:09 <vezjakv> my cmd was: $ TRYTOND_CONFIG=dev_trytond.cfg PYTHONPATH=trytond:../support/proteus ../support/tryton-tools/localize_modules.py -l sl_SI -d demo31si trytond/trytond/modules
2014-10-06 18:09 <cedk> vezjakv: -d must be now: postgresql://demo31si
2014-10-06 18:09 <cedk> vezjakv: -d must be now: postgresql:///demo31si
2014-10-06 18:12 <vezjakv> cedk: my translation db is sqlite://, it seems that ``path=...`` is not read since it complains demo31si.sqlite is not found
2014-10-06 18:16 <vezjakv> i did a dirty hack by changing line #18 in localize_modules.py to ``config.set_trytond(database=opts.db, user=opts.user, password=opts.password, config_file=os.environ.get('TRYTOND_CONFIG')``, but I don't want to do that
2014-10-06 18:18 <cedk> vezjakv: I guess this could be done in proteus
2014-10-06 18:19 <cedk> vezjakv: it should call update_etc without parameter if no configfile is given
2014-10-06 18:22 <vezjakv> cedk: yes, this solves the problem :)
2014-10-06 18:22 <vezjakv> cedk: should I file an issue for proteus?
2014-10-06 18:25 <cedk> vezjakv: yes
2014-10-06 18:28 <vezjakv> cedk: I have encountered another issue with ldap_authentication, I had ldap_authentication installed for translation purposes, but I couldn't login after pulling from Tryton repo. It failed on parse_ldap_url, I had to make dummy uri=ldap://localhost in [ldap_authentication] to login
2014-10-06 18:29 <vezjakv> cedk: is [ldap_authentication] uri= mandatory if ldap_authentication installed?
2014-10-06 18:29 <cedk> vezjakv: already known: https://bugs.tryton.org/issue4232
2014-10-06 18:32 <vezjakv> cedk: oh, I should first look for existing issues, sorry.
2014-10-06 18:36 <vezjakv> cedk: and last, maybe a tip for removing (or deactivating) obsoleted modules (e.g. ldap_connection) from existing db. Is there a way to do it from Tryton, or tweaking the db, i.e. chaning/removing record from table directly via SQL?
2014-10-06 18:46 <cedk> vezjakv: simplest is to remove from ir.module table
2014-10-06 18:47 <vezjakv> cedk: ok, thnx
2014-10-06 19:25 -!- swayf(~swayf@ipbcc17c06.dynamic.kabel-deutschland.de) has joined #tryton
2014-10-06 20:15 -!- smarro(~sebastian@190.105.93.196) has joined #tryton
2014-10-06 20:44 -!- martynushka(~martynush@unaffiliated/martynushka) has joined #tryton
2014-10-06 20:56 -!- TheCowboy`(~TheCowboy@wsip-98-191-208-111.dc.dc.cox.net) has joined #tryton
2014-10-06 21:12 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2014-10-06 21:12 -!- TheCowboy`(~TheCowboy@wsip-98-191-208-111.dc.dc.cox.net) has joined #tryton
2014-10-06 22:24 <plantian> if create a return sale for a sale is it possible to tell that the original sale was returned from the client interface?
2014-10-06 22:35 <cedk> plantian: not for now but nicoe is working on something
2014-10-06 22:35 -!- martynushka(~martynush@unaffiliated/martynushka) has joined #tryton
2014-10-06 22:36 -!- notzippy(~sabayonus@d207-216-251-90.bchsia.telus.net) has joined #tryton
2014-10-06 22:36 <nicoe> plantian: There is indeed this issue https://bugs.tryton.org/issue4050
2014-10-06 22:41 <plantian> nicoe: why is it line by line instead of just sale to return sale ? won't the lines sometimes be customized in the return?
2014-10-06 22:43 <cedk> plantian: everything should always be at line level
2014-10-06 22:45 <plantian> if user is editing the line and accidentally deletes it then the relationship between the 2 sales is lost
2014-10-06 22:45 <plantian> ie. delete line instead of decrement, re-create line with correct quantity and continue
2014-10-06 22:45 <plantian> just saying, seems like it will happen and then you cannot look up return sale from original sale
2014-10-06 22:46 <nicoe> plantian: if the user makes a mistake and removes the original sale there is an issue also
2014-10-06 22:47 <plantian> nicoe: i don't think sales can be removed
2014-10-06 22:47 <plantian> i can't even cancel a sale, let alone remove it that is why i was hoping a return sale would be a good solution but i can't tell which sales have been returned
2014-10-06 22:47 <nicoe> plantian: OK I understand what you mean by delete the line
2014-10-06 22:48 <plantian> i'm using tryton 2.8 so maybe it is old version
2014-10-06 22:49 <nicoe> AFAIK there is no link yet between a sale and a return
2014-10-06 22:52 <cedk> of course line could not be deleted if linked to an other one
2014-10-06 22:55 <plantian> but what if only half of sale is returned, the other lines would need to be zero ?
2014-10-06 22:56 <cedk> plantian: as it is line by line, you just don't create the line
2014-10-06 22:57 <cedk> indeed I finaly think that deleted lines should even not be avoided
2014-10-06 23:02 <plantian> cedk: when i click create return sale it creates all the lines by default, you mean the wizard would be changed to sort of filter the lines before the return sale is created?
2014-10-06 23:11 -!- TheCowboy`(~TheCowboy@wsip-98-191-208-111.dc.dc.cox.net) has joined #tryton
2014-10-06 23:28 -!- TheCowboy`(~TheCowboy@wsip-98-191-208-111.dc.dc.cox.net) has joined #tryton
2014-10-06 23:37 <martynushka> hi, should it be possible to have variants with mutable attributes or is that only for the template product?
2014-10-06 23:44 <cedk> plantian: no
2014-10-06 23:47 <cedk> plantian: the wizard is just an help
2014-10-06 23:47 <cedk> plantian: and filtering in it is not faster than filtering on the return sale

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