IRC logs of #tryton for Wednesday, 2020-05-06 #tryton log beginning Wed 06 May 2020 12:00:01 AM CEST
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:47
-!- udono( has joined #tryton00:32
-!- springwurm(~Springwur@ has joined #tryton05:01
-!- mrichez(~Maxime@2a02:a03f:467c:d500:a385:4ecf:c4ea:d8cf) has joined #tryton05:53
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton07:15
-!- rpit( has joined #tryton07:30
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton07:46
-!- thaneor1( has joined #tryton08:06
-!- Timitos(~kpreisler@2001:a61:400:901:762b:62ff:fe84:ed7e) has joined #tryton08:16
-!- rpit( has joined #tryton08:23
-!- mariomop(~quassel@ has joined #tryton10:19
-!- springwurm(~Springwur@ has joined #tryton12:13
mrichezhi, for webapplication, is it normal generated key is always the same for each user for the same application ?  What do you think to add a button next the key  field to generate a new key ?13:17
cedkmrichez: what key?13:26
mrichezcedk: in res.user.application13:33
cedkmrichez: OK it is because you create multiple keys in one call13:35
mrichezcedk: heuu.. probably... so what do you think to add a button to generate a new key next the key field ?13:36
cedkmrichez: normally the creation is called by the route which create only a single key13:36
cedkbut we could fix it like we did for session:
cedkmrichez: I do not see the point to generate a new key13:37
cedkif the application needs a new key, it can request a new one13:37
mrichezcedk: ok if key is unique...13:38
mrichezcedk: indeed, in my case, i was in testing mode without application but with a rest plugin in firefox to test my routes... so i do the request for the key manually in tryton13:39
cedkmrichez: so in addition to override the create, we also need to make the default value not cachable by the client13:42
mrichezcedk: don't see cache ?13:48
mrichezcedk: preferences_cache ?13:48
cedkmrichez: the cache of default_get13:58
mrichezcedk: all default_... are in cache ? How to prevent to use cache ? Is there an example ?14:04
cedkmrichez: yes in modelsingleton.py14:12
mrichezcedk: ok thanks14:12
-!- lucascastro(~lucascast@ has joined #tryton16:25
-!- nicoe(~nicoe@ has joined #tryton16:31
-!- nicoe(~nicoe@ has joined #tryton16:48
-!- thaneor( has joined #tryton20:09

Generated by 2.17.3 by Marius Gedminas - find it at!