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

chat.freenode.net #tryton log beginning Mon Oct 6 00:00:01 CEST 2014
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:18
-!- zodman(~zodman@2604:c00:a:2:0:1:836:1b8) has joined #tryton00:32
-!- TheCowboy`(~TheCowboy@ip68-98-183-236.dc.dc.cox.net) has joined #tryton02:44
-!- digitalsatori(~Thunderbi@114.92.210.36) has joined #tryton04:01
-!- leio(~leio@gentoo/developer/leio) has joined #tryton05:08
-!- frispete(~frispete@p54A91E04.dip0.t-ipconnect.de) has joined #tryton06:40
-!- mar(~marius@v100.nfq.lt) has joined #tryton06:54
-!- yangoon(~mathiasb@p549F0ED8.dip0.t-ipconnect.de) has joined #tryton07:02
-!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton07:41
-!- ronaldm(~ronaldm@197.211.216.214) has joined #tryton08:20
-!- udono(~udono@5.147.65.82) has joined #tryton08:20
-!- udono(~udono@5.147.65.82) has joined #tryton08:29
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:44
-!- jeancavallo(~giovanni@bob75-9-88-181-2-176.fbx.proxad.net) has joined #tryton08:55
-!- corro(~corro@46.22.23.85) has joined #tryton09:09
-!- nicoe(~nicoe@175.95-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton09:13
-!- ronaldm(~ronaldm@197.211.216.214) has joined #tryton09:13
-!- bechamel(~Adium@62-197-96-189.teledisnet.be) has joined #tryton09:37
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton09:41
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton09:42
-!- sharoonthomas(~sharoonth@198.61.199.179) has joined #tryton10:00
-!- swayf(~swayf@93.104.202.98) has joined #tryton10:08
-!- pobsteta(~Thunderbi@37.162.188.141) has joined #tryton10:19
-!- sharoonthomas(~sharoonth@198.61.199.179) has joined #tryton10:22
-!- pobsteta(~Thunderbi@37.162.188.141) has joined #tryton11:07
-!- jvblasco(~seba@62.43.196.37.static.user.ono.com) has joined #tryton11:19
-!- sharoonthomas(~sharoonth@198.61.199.179) has joined #tryton11:36
-!- cjbarnes18(~craig@213.131.188.214) has joined #tryton11:40
-!- pobsteta1(~Thunderbi@37.160.29.95) has joined #tryton11:41
-!- newzen(~newzen@190.199.249.17) has joined #tryton11:42
-!- prksh(~prksh@1.39.24.186) has joined #tryton11:45
-!- mariomop(~quassel@181.110.66.209) has joined #tryton12:22
-!- swayf(~swayf@93.104.202.98) has joined #tryton12:49
-!- kstenger(~karla@200.124.209.158) has joined #tryton12:51
-!- ronaldm(~ronaldm@197.211.216.214) has joined #tryton13:19
-!- smarro(~sebastian@190.105.93.196) has joined #tryton13:39
-!- prksh(~prksh@1.39.25.147) has joined #tryton13:41
-!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton13:52
prkshpokoli: I am writing a unittest and I dont see a way to get on_change events called automatically. Any help?14:07
pokoliprksh: use doctest and proteus14:07
prkshclever14:08
prkshbut why not unittest is my question :p14:08
nicoeprksh: proteus calls the right stuffs, in unittest you're "inside" tryton the on_changes are not automatically called.14:10
prkshnicoe: thanks. I am switching to proteus.14:13
pokoliprksh: proteus mimics tryton client, so it's the right tool to test user stories14:15
pokoliprksh: unittest its usefull for testing "server" code14:15
pokoliprksh: and by server code i mean the code that only gets executed on server, for example calculating data, functional fields, etc14:16
prkshpokoli: hmm I realized this :)14:20
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has left #tryton15:05
-!- digitalsatori(~Thunderbi@114.92.210.36) has joined #tryton15:18
-!- gremly(~gremly@190.85.36.58) has joined #tryton16:35
-!- vernichon(~Thunderbi@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton16:53
-!- prksh(~prksh@1.39.26.170) has joined #tryton17:33
-!- Telesight(~anthony@77-175-158-148.FTTH.ispfabriek.nl) has joined #tryton17:39
-!- vezjakv(5a9de821@gateway/web/freenode/ip.90.157.232.33) has joined #tryton18:04
vezjakvHi 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?18:07
vezjakvmy cmd was: $ TRYTOND_CONFIG=dev_trytond.cfg PYTHONPATH=trytond:../support/proteus ../support/tryton-tools/localize_modules.py -l sl_SI -d demo31si trytond/trytond/modules18:09
cedkvezjakv: -d must be now: postgresql://demo31si18:09
cedkvezjakv: -d must be now: postgresql:///demo31si18:09
vezjakvcedk: my translation db is sqlite://, it seems that ``path=...``  is not read since it complains demo31si.sqlite is not found18:12
vezjakvi 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 that18:16
cedkvezjakv: I guess this could be done in proteus18:18
cedkvezjakv: it should call update_etc without parameter if no configfile is given18:19
vezjakvcedk: yes, this solves the problem :)18:22
vezjakvcedk: should I file an issue for proteus?18:22
cedkvezjakv: yes18:25
vezjakvcedk: 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 login18:28
vezjakvcedk: is [ldap_authentication] uri= mandatory if ldap_authentication installed?18:29
cedkvezjakv: already known: https://bugs.tryton.org/issue423218:29
vezjakvcedk: oh, I should first look for existing issues, sorry.18:32
vezjakvcedk: 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?18:36
cedkvezjakv: simplest is to remove from ir.module table18:46
vezjakvcedk: ok, thnx18:47
-!- swayf(~swayf@ipbcc17c06.dynamic.kabel-deutschland.de) has joined #tryton19:25
-!- smarro(~sebastian@190.105.93.196) has joined #tryton20:15
-!- martynushka(~martynush@unaffiliated/martynushka) has joined #tryton20:44
-!- TheCowboy`(~TheCowboy@wsip-98-191-208-111.dc.dc.cox.net) has joined #tryton20:56
-!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton21:12
-!- TheCowboy`(~TheCowboy@wsip-98-191-208-111.dc.dc.cox.net) has joined #tryton21:12
plantianif create a return sale for a sale is it possible to tell that the original sale was returned from the client interface?22:24
cedkplantian: not for now but nicoe is working on something22:35
-!- martynushka(~martynush@unaffiliated/martynushka) has joined #tryton22:35
-!- notzippy(~sabayonus@d207-216-251-90.bchsia.telus.net) has joined #tryton22:36
nicoeplantian: There is indeed this issue https://bugs.tryton.org/issue405022:36
plantiannicoe: why is it line by line instead of just sale to return sale ?  won't the lines sometimes be customized in the return?22:41
cedkplantian: everything should always be at line level22:43
plantianif user is editing the line and accidentally deletes it then the relationship between the 2 sales is lost22:45
plantianie. delete line instead of decrement, re-create line with correct quantity and continue22:45
plantianjust saying, seems like it will happen and then you cannot look up return sale from original sale22:45
nicoeplantian: if the user makes a mistake and removes the original sale there is an issue also22:46
plantiannicoe: i don't think sales can be removed22:47
plantiani 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 returned22:47
nicoeplantian: OK I understand what you mean by delete the line22:47
plantiani'm using tryton 2.8 so maybe it is old version22:48
nicoeAFAIK there is no link yet between a sale and a return22:49
cedkof course line could not be deleted if linked to an other one22:52
plantianbut what if only half of sale is returned, the other lines would need to be zero ?22:55
cedkplantian: as it is line by line, you just don't create the line22:56
cedkindeed I finaly think that deleted lines should even not be avoided22:57
plantiancedk: 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?23:02
-!- TheCowboy`(~TheCowboy@wsip-98-191-208-111.dc.dc.cox.net) has joined #tryton23:11
-!- TheCowboy`(~TheCowboy@wsip-98-191-208-111.dc.dc.cox.net) has joined #tryton23:28
martynushkahi, should it be possible to have variants with mutable attributes or is that only for the template product?23:37
cedkplantian: no23:44
cedkplantian: the wizard is just an help23:47
cedkplantian: and filtering in it is not faster than filtering on the return sale23:47

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