IRC logs of #tryton for Monday, 2016-06-20

chat.freenode.net #tryton log beginning Mon Jun 20 00:00:01 CEST 2016
2016-06-20 00:28 -!- zmijunkie1(~Adium@i59F5D53A.versanet.de) has joined #tryton
2016-06-20 02:36 -!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-06-20 03:07 -!- kstenger(~karla@r190-133-94-25.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-06-20 05:33 -!- VaticanCameos(~VaticanCa@182.68.197.178) has joined #tryton
2016-06-20 05:34 -!- frispete_(~frispete@p54A91C74.dip0.t-ipconnect.de) has joined #tryton
2016-06-20 08:24 -!- trymiracle(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-06-20 08:24 -!- prayashm(~prayashm@14.139.207.163) has joined #tryton
2016-06-20 08:24 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-06-20 08:39 -!- udono(~udono@ip-178-202-239-138.hsi09.unitymediagroup.de) has joined #tryton
2016-06-20 08:44 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2016-06-20 08:55 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-06-20 08:59 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-06-20 09:03 -!- zmijunkie(~Adium@b2b-78-94-52-226.unitymedia.biz) has joined #tryton
2016-06-20 09:06 -!- zmijunkie1(~Adium@b2b-78-94-52-226.unitymedia.biz) has joined #tryton
2016-06-20 09:25 -!- shrox(shrox@nat/iiit/x-xjehseamgnkloivs) has joined #tryton
2016-06-20 09:26 -!- gr8dude(~alex@host-static-188-214-203-7.moldtelecom.md) has joined #tryton
2016-06-20 09:27 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2016-06-20 10:28 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2016-06-20 10:31 <pokoli> cedk: i will add the german translation posted by udono on the neso new, so you don't have to worry about it :)
2016-06-20 10:32 <cedk> pokoli: ok
2016-06-20 10:32 <udono> pokoli: Thanks!
2016-06-20 10:35 <pokoli> udono: thanks to you for the translations :)
2016-06-20 10:39 -!- prayashm(~prayashm@14.139.207.163) has joined #tryton
2016-06-20 10:39 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-06-20 11:07 -!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton
2016-06-20 11:07 -!- nicoe(~nicoe@2001:6f8:3aa:2:ee55:f9ff:fe7b:f7ac) has joined #tryton
2016-06-20 11:47 -!- xcodinas(5b7e4c02@gateway/web/freenode/ip.91.126.76.2) has joined #tryton
2016-06-20 13:08 -!- prayashm(~prayashm@14.139.207.163) has joined #tryton
2016-06-20 13:08 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-06-20 13:34 <pokoli> cedk: may this error http://pastebin.com/BcbcdJyz be related to changeset 3a17f8e704a7 ?
2016-06-20 13:34 <pokoli> I'm executing the stock lot test with this patch https://tryton-rietveld.appspot.com/27401002
2016-06-20 13:35 <pokoli> curriosly, the moves returned from function have an empty context, but the ones from copy have the transaction context
2016-06-20 13:35 <pokoli> returned from function -> from fucntional field outgoing_moves
2016-06-20 13:44 -!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-06-20 14:04 -!- udono(~udono@tmo-109-133.customers.d1-online.com) has joined #tryton
2016-06-20 14:21 -!- tony_(67fecb7c@gateway/web/freenode/ip.103.254.203.124) has joined #tryton
2016-06-20 14:22 <tony_> hello, I am getting country ID only from Address module
2016-06-20 14:22 <tony_> how can I change country for address
2016-06-20 14:23 <pokoli> tony_: sorry but i don't understand. What are you trying to change?
2016-06-20 14:24 <tony_> may be user wants to change party address,that's why
2016-06-20 14:28 -!- prayashm(~prayashm@14.139.207.163) has joined #tryton
2016-06-20 14:28 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-06-20 14:32 <cedk> pokoli: which function?
2016-06-20 14:33 <cedk> pokoli: but definitly you can not mix records for saving
2016-06-20 14:36 <cedk> pokoli: also it looks like the rpc doesn't set correctly the context
2016-06-20 14:37 -!- shrox(shrox@nat/iiit/x-vgoakyayldbjjbma) has joined #tryton
2016-06-20 14:38 <tony_> i can able to edit city,street,zip but not country & subdivision because response have id rather than value
2016-06-20 14:40 <cedk> tony_: this is many2one so yes it is id
2016-06-20 14:42 <cedk> pokoli: https://bugs.tryton.org/issue5654
2016-06-20 14:46 <tony_> so how can I changed country?
2016-06-20 14:46 <cedk> tony_: like any field by putting a correct value
2016-06-20 14:50 <tony_> sorry I am not getting you
2016-06-20 14:51 <tony_> I have a country id, now I want to change it
2016-06-20 14:51 <tony_> is there any list of country id?
2016-06-20 14:52 <cedk> tony_: yes in the country table
2016-06-20 14:59 -!- prayashm(~prayashm@14.139.207.163) has joined #tryton
2016-06-20 14:59 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-06-20 15:00 -!- zmijunkie(~Adium@b2b-78-94-52-226.unitymedia.biz) has joined #tryton
2016-06-20 15:05 -!- kstenger(~karla@r190-133-238-46.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-06-20 15:17 -!- prayashm(~prayashm@14.139.207.163) has joined #tryton
2016-06-20 15:17 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-06-20 15:18 <pokoli> cedk: thanks, but i does not solve the issue, now the context is correctly set, but check_access is different from the new instances due to http://hg.tryton.org/trytond/file/tip/trytond/model/modelview.py#l624
2016-06-20 15:22 <cedk> pokoli: I'm wondering if the RPC instance should have _check_access set or not
2016-06-20 15:24 <cedk> pokoli: but any way for your code, you can not mix records like that
2016-06-20 15:25 <cedk> pokoli: even if we manage to get the same context, nothing guarantee the context will always be the same
2016-06-20 15:26 <prayashm> cedk: While writing the proposal you had suggested to highlight the required fields in All Fields Section of CSV Import. Should I just mark them selected (to be moved into Fields to Import section), or just show them in a different color using http://getbootstrap.com/components/#list-group-contextual-classes ?
2016-06-20 15:29 <tony_> how to access country table?
2016-06-20 15:30 <tony_> is it same like party table?
2016-06-20 15:30 <pokoli> cedk: you are right, only way to enforce the context is the same is re-browsing, but I dont think it's if its the proper way
2016-06-20 15:30 <pokoli> tony_: you have to get it from the pool.
2016-06-20 15:31 <cedk> tony_: everything is the same
2016-06-20 15:31 <tony_> via JSON RPC call?
2016-06-20 15:32 <pokoli> tony_: yes if you are on client side
2016-06-20 15:32 <cedk> prayashm: we don't use color any more because it is bad design for accessibility
2016-06-20 15:32 <cedk> prayashm: I think we should forget it for now as GTK client does not support it
2016-06-20 15:33 <prayashm> cedk: Understood. Thanks
2016-06-20 15:37 <pokoli> cedk: solved using write instead of save :) thanks
2016-06-20 15:53 -!- prayashm(~prayashm@14.139.207.163) has joined #tryton
2016-06-20 15:53 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-06-20 16:30 -!- pelox(~rail@gusl/staff/risturiz) has joined #tryton
2016-06-20 16:36 -!- perilla(~perilla@corp-190-57-169-210-cue.puntonet.ec) has joined #tryton
2016-06-20 16:56 <cedk> shrox: on your repository it is not clear what should be looked?
2016-06-20 17:22 -!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-06-20 17:56 -!- kstenger(~karla@r190-133-238-46.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-06-20 17:58 <shrox> cedk: Hey, have a look at converterClean.py - https://github.com/shrox/test-gsoc/blob/master/converterClean.py
2016-06-20 18:00 <shrox> cedk: I will clean it up today. And finish a few remaining things including working on generating the manifest.xml file
2016-06-20 18:01 <shrox> cedk: And maybe then I can submit a review by tomorrow (assuming it's reached that stage)
2016-06-20 18:01 <cedk> shrox: OK, but it is strange to publish many copies of the same script
2016-06-20 18:04 <shrox> cedk: Yeah, they'll be gone soon haha
2016-06-20 18:23 -!- VaticanCameos(~VaticanCa@182.68.197.178) has joined #tryton
2016-06-20 18:53 -!- kstenger(~karla@r190-133-238-46.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-06-20 19:07 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-06-20 19:17 -!- paco85_(4f90f0a5@gateway/web/freenode/ip.79.144.240.165) has joined #tryton
2016-06-20 19:18 <paco85_> hi everybody, i forgot password for tryton profile, dont have acces trought any other profile, I have a dump file of the DB, please, can anyone help me in finding a way to restore passward? or recover dump file with different password? or update passoard of the DB profile?
2016-06-20 19:22 <cedk> paco85_: the easiest is to edit the login method of User to always succeed and then you change the password with the client
2016-06-20 19:23 <cedk> there is an issue to add an option in trytond-admin: https://bugs.tryton.org/issue5385
2016-06-20 19:24 <paco85_> ok cedk can you tell me how to edit the login method to always succed?
2016-06-20 19:25 <cedk> paco85_: it depends on the version
2016-06-20 19:25 <paco85_> 3.8
2016-06-20 19:26 <paco85_> 3.8.4
2016-06-20 19:27 <cedk> paco85_: here: http://hg.tryton.org/trytond/file/3.8.4/trytond/res/user.py#l471
2016-06-20 19:27 <cedk> paco85_: just make the if always True
2016-06-20 19:27 <cedk> paco85_: becareful that your server can be accessed only by you because anyone will be able to login to it
2016-06-20 19:28 <cedk> paco85_: and remove the hack after restored the password
2016-06-20 19:29 <paco85_> i have to change this line: if cls.check_password(password, password_hash): ?
2016-06-20 19:29 <cedk> paco85_: yes
2016-06-20 19:30 <paco85_> by removing password_hash ?
2016-06-20 19:30 <cedk> paco85_: no make the test always True
2016-06-20 19:31 <paco85_> if cls. check_password (password, password) . it tests password to see if it is equal to password_hash right?
2016-06-20 19:32 <cedk> paco85_: yes
2016-06-20 19:39 <paco85_> please, which of this files is the correct? http://pasteboard.co/1Psg64Y3.png
2016-06-20 19:47 <kstenger> paco85_: under your trytond install directory, inside the res sub-directory
2016-06-20 19:52 -!- kstenger(~karla@r190-133-246-154.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-06-20 19:54 <paco85_> i get this error when i try to login http://pastebin.com/raw/Rdq5vPwG
2016-06-20 19:56 <kstenger> paco85_: just put "if True" at the before said line
2016-06-20 19:59 <paco85_> now it seems to work! many many thanks!!!!
2016-06-20 20:00 <kstenger> paco85_: don't forget to put the change back to original after you fix your access issue
2016-06-20 20:00 <paco85_> yes ; ) thanks again!
2016-06-20 20:57 -!- udono(~udono@ip-178-202-239-138.hsi09.unitymediagroup.de) has joined #tryton
2016-06-20 22:08 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton

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