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

chat.freenode.net #tryton log beginning Mon Jun 20 00:00:01 CEST 2016
-!- zmijunkie1(~Adium@i59F5D53A.versanet.de) has joined #tryton00:28
-!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton02:36
-!- kstenger(~karla@r190-133-94-25.dialup.adsl.anteldata.net.uy) has joined #tryton03:07
-!- VaticanCameos(~VaticanCa@182.68.197.178) has joined #tryton05:33
-!- frispete_(~frispete@p54A91C74.dip0.t-ipconnect.de) has joined #tryton05:34
-!- trymiracle(~prayashm@unaffiliated/prayashm) has joined #tryton08:24
-!- prayashm(~prayashm@14.139.207.163) has joined #tryton08:24
-!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton08:24
-!- udono(~udono@ip-178-202-239-138.hsi09.unitymediagroup.de) has joined #tryton08:39
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton08:44
-!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton08:55
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:59
-!- zmijunkie(~Adium@b2b-78-94-52-226.unitymedia.biz) has joined #tryton09:03
-!- zmijunkie1(~Adium@b2b-78-94-52-226.unitymedia.biz) has joined #tryton09:06
-!- shrox(shrox@nat/iiit/x-xjehseamgnkloivs) has joined #tryton09:25
-!- gr8dude(~alex@host-static-188-214-203-7.moldtelecom.md) has joined #tryton09:26
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton09:27
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton10:28
pokolicedk: i will add the german translation posted by udono on the neso new, so you don't have to worry about it :)10:31
cedkpokoli: ok10:32
udonopokoli: Thanks!10:32
pokoliudono: thanks to you for the translations :)10:35
-!- prayashm(~prayashm@14.139.207.163) has joined #tryton10:39
-!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton10:39
-!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton11:07
-!- nicoe(~nicoe@2001:6f8:3aa:2:ee55:f9ff:fe7b:f7ac) has joined #tryton11:07
-!- xcodinas(5b7e4c02@gateway/web/freenode/ip.91.126.76.2) has joined #tryton11:47
-!- prayashm(~prayashm@14.139.207.163) has joined #tryton13:08
-!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton13:08
pokolicedk: may this error http://pastebin.com/BcbcdJyz be related to changeset 3a17f8e704a7 ?13:34
pokoliI'm executing the stock lot test with this patch https://tryton-rietveld.appspot.com/2740100213:34
pokolicurriosly, the moves returned from function have an empty context, but the ones from copy have the transaction context13:35
pokolireturned from function -> from fucntional field outgoing_moves13:35
-!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton13:44
-!- udono(~udono@tmo-109-133.customers.d1-online.com) has joined #tryton14:04
-!- tony_(67fecb7c@gateway/web/freenode/ip.103.254.203.124) has joined #tryton14:21
tony_hello, I am getting country ID only from Address module14:22
tony_how can I change country for address14:22
pokolitony_: sorry but i don't understand. What are you trying to change?14:23
tony_may be user wants to change party address,that's why14:24
-!- prayashm(~prayashm@14.139.207.163) has joined #tryton14:28
-!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton14:28
cedkpokoli: which function?14:32
cedkpokoli: but definitly you can not mix records for saving14:33
cedkpokoli: also it looks like the rpc doesn't set correctly the context14:36
-!- shrox(shrox@nat/iiit/x-vgoakyayldbjjbma) has joined #tryton14:37
tony_i can able to edit city,street,zip but not country & subdivision because response have id rather than value14:38
cedktony_: this is many2one so yes it is id14:40
cedkpokoli: https://bugs.tryton.org/issue565414:42
tony_so how can I changed country?14:46
cedktony_: like any field by putting a correct value14:46
tony_sorry I am not getting you14:50
tony_I have a country id, now I want to change it14:51
tony_is there any list of country id?14:51
cedktony_: yes in the country table14:52
-!- prayashm(~prayashm@14.139.207.163) has joined #tryton14:59
-!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton14:59
-!- zmijunkie(~Adium@b2b-78-94-52-226.unitymedia.biz) has joined #tryton15:00
-!- kstenger(~karla@r190-133-238-46.dialup.adsl.anteldata.net.uy) has joined #tryton15:05
-!- prayashm(~prayashm@14.139.207.163) has joined #tryton15:17
-!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton15:17
pokolicedk: 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#l62415:18
cedkpokoli: I'm wondering if the RPC instance should have _check_access set or not15:22
cedkpokoli: but any way for your code, you can not mix records like that15:24
cedkpokoli: even if we manage to get the same context, nothing guarantee the context will always be the same15:25
prayashmcedk: 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 ?15:26
tony_how to access country table?15:29
tony_is it same like party table?15:30
pokolicedk: 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 way15:30
pokolitony_: you have to get it from the pool.15:30
cedktony_: everything is the same15:31
tony_via JSON RPC call?15:31
pokolitony_: yes if you are on client side15:32
cedkprayashm: we don't use color any more because it is bad design for accessibility15:32
cedkprayashm: I think we should forget it for now as GTK client does not support it15:32
prayashmcedk: Understood. Thanks15:33
pokolicedk: solved using write instead of save :) thanks15:37
-!- prayashm(~prayashm@14.139.207.163) has joined #tryton15:53
-!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton15:53
-!- pelox(~rail@gusl/staff/risturiz) has joined #tryton16:30
-!- perilla(~perilla@corp-190-57-169-210-cue.puntonet.ec) has joined #tryton16:36
cedkshrox: on your repository it is not clear what should be looked?16:56
-!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton17:22
-!- kstenger(~karla@r190-133-238-46.dialup.adsl.anteldata.net.uy) has joined #tryton17:56
shroxcedk: Hey, have a look at converterClean.py - https://github.com/shrox/test-gsoc/blob/master/converterClean.py17:58
shroxcedk: I will clean it up today. And finish a few remaining things including working on generating the manifest.xml file18:00
shroxcedk: And maybe then I can submit a review by tomorrow (assuming it's reached that stage)18:01
cedkshrox: OK, but it is strange to publish many copies of the same script18:01
shroxcedk: Yeah, they'll be gone soon haha18:04
-!- VaticanCameos(~VaticanCa@182.68.197.178) has joined #tryton18:23
-!- kstenger(~karla@r190-133-238-46.dialup.adsl.anteldata.net.uy) has joined #tryton18:53
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton19:07
-!- paco85_(4f90f0a5@gateway/web/freenode/ip.79.144.240.165) has joined #tryton19:17
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?19:18
cedkpaco85_: the easiest is to edit the login method of User to always succeed and then you change the password with the client19:22
cedkthere is an issue to add an option in trytond-admin: https://bugs.tryton.org/issue538519:23
paco85_ok cedk can you tell me how to edit the login method to always succed?19:24
cedkpaco85_: it depends on the version19:25
paco85_3.819:25
paco85_3.8.419:26
cedkpaco85_: here: http://hg.tryton.org/trytond/file/3.8.4/trytond/res/user.py#l47119:27
cedkpaco85_: just make the if always True19:27
cedkpaco85_: becareful that your server can be accessed only by you because anyone will be able to login to it19:27
cedkpaco85_: and remove the hack after restored the password19:28
paco85_i have to change this line: if cls.check_password(password, password_hash): ?19:29
cedkpaco85_: yes19:29
paco85_by removing password_hash ?19:30
cedkpaco85_: no make the test always True19:30
paco85_if cls. check_password (password, password) . it tests password to see if it is equal to password_hash right?19:31
cedkpaco85_: yes19:32
paco85_please, which of this files is the correct? http://pasteboard.co/1Psg64Y3.png19:39
kstengerpaco85_: under your trytond install directory, inside the res sub-directory19:47
-!- kstenger(~karla@r190-133-246-154.dialup.adsl.anteldata.net.uy) has joined #tryton19:52
paco85_i get this error when i try to login http://pastebin.com/raw/Rdq5vPwG19:54
kstengerpaco85_: just put "if True" at the before said line19:56
paco85_now it seems to work! many many thanks!!!!19:59
kstengerpaco85_: don't forget to put the change back to original after you fix your access issue20:00
paco85_yes ; ) thanks again!20:00
-!- udono(~udono@ip-178-202-239-138.hsi09.unitymediagroup.de) has joined #tryton20:57
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton22:08

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