IRC logs of #tryton for Wednesday, 2016-04-13

chat.freenode.net #tryton log beginning Wed Apr 13 00:00:02 CEST 2016
-!- bvillasanti(~bvillasan@181.16.50.158) has joined #tryton00:16
-!- smarro(~sebastian@181.16.7.104) has joined #tryton00:54
-!- VlijmenFileer(~VlijmenFi@139.0.94.59) has joined #tryton01:42
-!- smarro(~sebastian@181.16.7.104) has joined #tryton04:37
-!- shrox(shrox@nat/iiit/x-sxudzmidfttvqfdu) has joined #tryton04:45
-!- kstenger(~karla@r186-54-28-167.dialup.adsl.anteldata.net.uy) has joined #tryton04:51
-!- smarro(~sebastian@181.16.7.104) has joined #tryton07:19
-!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton07:33
-!- frispete(~frispete@p54A90142.dip0.t-ipconnect.de) has joined #tryton07:40
-!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton07:49
-!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton08:26
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton08:43
-!- aneolf(~chatzilla@106.140.21.95.dynamic.jazztel.es) has joined #tryton09:03
-!- aneolf(~chatzilla@106.140.21.95.dynamic.jazztel.es) has left #tryton09:39
-!- aneolf(~chatzilla@106.140.21.95.dynamic.jazztel.es) has joined #tryton09:40
-!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton10:33
dj_xatraI have forgotten the password for the admin user. How do I reset it?10:48
pokolidj_xatra: I'm wondering that this is not possible, but you can create a new database with a know password and copy the hash via sql to your old database10:54
aroncerodj_xatra: try: bcrypt.hashpw(password, bcrypt.gensalt())10:58
aroncerodj_xatra: and update via sql10:58
dj_xatrain res_user.password?11:02
dj_xatraaroncero: that field is now empty for user admin11:03
-!- VlijmenFileer(~VlijmenFi@139.0.94.59) has joined #tryton11:08
aroncerodj_xatra: password_hash11:10
-!- aroncero_(~aroncero@86.63.19.153) has joined #tryton11:41
-!- smarro(~sebastian@181.16.7.104) has joined #tryton12:05
dj_xatraaroncero_: I set password_hash, but now I get  AttributeError: type object res_user has no attribute check_12:06
pokolidj_xatra: because you missed the prefix, bcrypt$ to indidicate that's a bcrypt encritped password12:11
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton12:22
-!- nicoe(~nicoe@88.128.80.79) has joined #tryton12:24
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton12:33
-!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton12:35
-!- frispete(~frispete@p54A90142.dip0.t-ipconnect.de) has joined #tryton12:37
-!- d1rewolf(~d1rewolf@199.72.62.66) has joined #tryton12:44
-!- smarro(~sebastian@181.16.7.104) has joined #tryton12:48
-!- meanmicio(~lfm@220.red-79-147-85.dynamicip.rima-tde.net) has joined #tryton12:48
-!- meanmicio(~lfm@fsf/member/meanmicio) has joined #tryton12:48
-!- leio_(~leio@gentoo/developer/leio) has joined #tryton13:07
-!- VlijmenFileer(~VlijmenFi@139.0.94.59) has joined #tryton13:07
-!- udono(~udono@ip-178-202-239-138.hsi09.unitymediagroup.de) has joined #tryton13:26
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton13:37
-!- bechamel(~user@host-149-154-219-116.dynamic.voo.be) has joined #tryton13:47
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton14:31
-!- shrox(shrox@nat/iiit/x-fazfamvbibsxlntt) has joined #tryton14:39
-!- mariomop(~quassel@host33.190-30-102.telecom.net.ar) has joined #tryton14:43
-!- smarro(~sebastian@181.16.7.104) has joined #tryton14:53
-!- d1rewolf(~d1rewolf@199.72.62.66) has left #tryton14:59
-!- andrespoliti(~andrespol@250-183-89-200.fibertel.com.ar) has joined #tryton15:04
-!- titou(~matt@2a01:e35:1386:d790:250:fcff:fe42:7bed) has joined #tryton15:25
titouhey15:25
titouI have a question about relatorio and OO documents15:26
titouis it possible to avoid warnings when the relatorio:// URI is different from the associated label?15:26
titoubecause having long labels within the OO document is quite boring to read15:27
-!- smarro(~sebastian@181.16.7.104) has joined #tryton15:31
-!- aneolf_(~chatzilla@106.140.21.95.dynamic.jazztel.es) has joined #tryton15:37
andrespolitihello, i have set perm_write and perm_delete to false for a model, but now when i create a new record, i can't edit any fields. We tried in two different implementations. None of them writes on the record before pressing save15:59
andrespolitithey are ir.model.access rules16:02
udonoandrespoliti: hi, why do you think setting perm(ission)_write to false allows you to write on the model?16:06
-!- kstenger(~karla@r186-49-254-238.dialup.adsl.anteldata.net.uy) has joined #tryton16:07
andrespolitii think setting perm_write to false doesn't let you edit a record that already exists16:14
andrespolitibut the problem is i also cannot create new records because all fields in the form become readonly16:15
Timitosandrespoliti: on what version is this happening16:15
andrespoliti3.8.516:15
Timitosi never tried what you want to do. but your expectation sounds reasonable for me16:17
Timitosunfortunately i have no idea why this is happening16:18
udonoandrespoliti: There is a test for perm_create: http://hg.tryton.org/trytond/file/tip/trytond/tests/test_access.py#l188 if it does not fail, I guess you did something wrong defining the access rules…16:21
titounobody knows for my question?16:30
Timitostitou: nicoe or cedk should know at least. but they are not online16:40
titouok :(16:43
titouthank you!16:43
-!- perilla1(~perilla@186.65.39.2) has joined #tryton16:47
pokoliandrespoliti: ensure that you close and reopen the tryton client after modifying the access rules as they are cached on the client16:48
andrespolitiyes, i'm closing the client to test the rules17:41
andrespolitihas anybody used this set of permissions? read = True, write = False, create = True, delete = False17:43
-!- kstenger(~karla@r186-49-254-238.dialup.adsl.anteldata.net.uy) has joined #tryton17:52
udonoandrespoliti: paste us some code, it is much easier to trace the issue. But please use an online pster service.18:07
andrespolitifrom the xml?18:08
andrespolitihttp://pastebin.com/G0fg487Y18:12
udonoandrespoliti: is the user you are connected in group no_delete_planilla_inspeccion?18:34
udonothe xml looks good to me…18:36
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton19:07
andrespolitiyes, i'm using an user from that group19:39
-!- smarro(~sebastian@181.16.7.104) has joined #tryton20:09
-!- irclog(~irclog@moretus.b2ck.com) has joined #tryton20:38
-!- andrespoliti(~andrespol@250-183-89-200.fibertel.com.ar) has joined #tryton20:39
-!- kstenger(~karla@r186-49-254-238.dialup.adsl.anteldata.net.uy) has joined #tryton20:39
-!- mr-karan_(~Karan_Sha@128.199.199.233) has joined #tryton20:51
-!- bvillasanti(~bvillasan@181.16.50.158) has joined #tryton21:12
-!- kstenger1(~karla@r186-54-27-211.dialup.adsl.anteldata.net.uy) has joined #tryton21:50
-!- meanmicio1(~lfm@220.red-79-147-85.dynamicip.rima-tde.net) has joined #tryton21:56
-!- aroncero_(~aroncero@86.63.19.153) has joined #tryton21:56
-!- meanmicio(~lfm@fsf/member/meanmicio) has joined #tryton21:57
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton21:57
-!- Pilou(~Pilou@pdpc/supporter/active/pilou) has joined #tryton21:57
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton22:05
-!- kstenger(~karla@r186-54-16-33.dialup.adsl.anteldata.net.uy) has joined #tryton22:05
-!- Pilou(~Pilou@pdpc/supporter/active/pilou) has joined #tryton22:09
-!- Pilou(~Pilou@181.204.19.93.rev.sfr.net) has joined #tryton22:20
-!- Pilou(~Pilou@pdpc/supporter/active/pilou) has joined #tryton22:20
-!- kstenger1(~karla@r186-55-64-101.dialup.adsl.anteldata.net.uy) has joined #tryton22:32
-!- smarro(~sebastian@181.16.7.104) has joined #tryton22:37
-!- leio_(~leio@gentoo/developer/leio) has joined #tryton22:41
-!- andrespoliti(~andrespol@250-183-89-200.fibertel.com.ar) has joined #tryton22:47
-!- meanmicio1(~lfm@220.red-79-147-85.dynamicip.rima-tde.net) has joined #tryton22:54

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