chat.freenode.net #tryton log beginning Fri 05 Jul 2019 12:00:01 AM CEST | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 22:38 | |
-!- orphean(~Orphean@31.192.224.224) has joined #tryton | 01:15 | |
-!- yangoon(~mathiasb@115-66-142-46.pool.kielnet.net) has joined #tryton | 02:43 | |
-!- shadow98(uid236862@gateway/web/irccloud.com/x-rtxxqpcqwbhhsaqv) has joined #tryton | 04:07 | |
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton | 04:32 | |
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton | 05:00 | |
-!- LordVan(~lordvan@gentoo/developer/LordVan) has joined #tryton | 05:27 | |
-!- jcm(~jcm@78.194.214.115) has joined #tryton | 05:33 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 06:40 | |
-!- k-man(~jason@unaffiliated/k-man) has joined #tryton | 06:40 | |
-!- smorillo(3eaec68b@gateway/web/cgi-irc/kiwiirc.com/ip.62.174.198.139) has joined #tryton | 06:45 | |
-!- rpit(~rpit@p200300C88F413D0069F553E02A39C574.dip0.t-ipconnect.de) has joined #tryton | 06:49 | |
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton | 07:03 | |
-!- nicoe(~nicoe@2a02:578:858c:500:7e2a:31ff:fe5e:b25d) has joined #tryton | 07:40 | |
-!- smorillo(3eaec68b@gateway/web/cgi-irc/kiwiirc.com/ip.62.174.198.139) has joined #tryton | 08:20 | |
smorillo | Hi, | 08:20 |
---|---|---|
smorillo | I'm tryting to concatenate 2 wizards, I mean a wizard has a final StateAction which references to an action wizard | 08:21 |
smorillo | the problem comes with Transaction.context in second wizard, I have no data on "active_ids" | 08:23 |
smorillo | active_id, active_ids and active_model have None value | 08:27 |
smorillo | I tried to initialize on do_ method for final StateAction's first wizard | 08:28 |
nicoe | smorillo: it's done on purpose: https://codereview.tryton.org/38011002/diff/1/tryton/gui/window/wizard.py | 08:57 |
nicoe | But I don't remember why … | 08:57 |
mrichez | hi, when opening some forms, a readonly field get focus (for instance Incoming Moves, focus is put on From Location field, but this field is readonly). Bug ? | 09:00 |
smorillo | nicoe: so actually is not possible, isn't it? | 09:03 |
nicoe | smorillo: it is not indeed | 09:04 |
smorillo | nicoe: ok, would be a great feature concatenate wizards at last state | 09:04 |
nicoe | mrichez: probably because we check if the field if readable to put it in the focus chain | 09:04 |
smorillo | nicoe: we can use action windows, action reports, ... why not action wizards? (it's my thought) | 09:05 |
nicoe | smorillo: you can do it, but you can't rely on active_ids | 09:06 |
udono | mrichez: nico: Hi, I guess it is to support screen readers or accessebility . AFAIK there is already an issue or discussion about to make it optional | 09:06 |
nicoe | udono: I haven't dug in the issues indeed :) | 09:07 |
mrichez | nicoe: and what should be done to remove those fields from the focus chain ? it's annoying... | 09:07 |
mrichez | udono: which issue ? | 09:08 |
nicoe | mrichez: we don't use the focus_chain anymore in fact, I would have to search in the code | 09:09 |
udono | mrichez: does your tryton version support fast tabbing? https://codereview.tryton.org/19381002/diff/80001/doc/usage.rst | 09:11 |
udono | mrichez: https://bugs.tryton.org/issue4910 | 09:11 |
mrichez | nicoe: i found this issue relying to fast_tabbing : https://codereview.tryton.org/261071002 | 09:11 |
nicoe | udono is right about the accessibility stuff, I remember something about screen reader needing to be able to focus those fields | 09:14 |
mrichez | udono: fast tabbing option is greyed... if think this option was removed with gtk3 | 09:15 |
mrichez | nicoe: it's very annoying for the final user to start writing data's on a readonly field... this was not the previous behaviour .. those readonly fields were skipped... | 09:17 |
udono | mrichez: yes in issue https://bugs.tryton.org/issue8181 it is removed | 09:17 |
nicoe | mrichez: I get that it's annoying but it's also annoying for blind people not to be able to read those | 09:19 |
nicoe | mrichez: the solution is to re-implement the focus chain if I understand correctly https://bugs.tryton.org/msg47461 | 09:20 |
mrichez | nicoe: i've some readonly field that are empty, because they are filled when saving the form (with a sequence for instance) so there's nothing to read, user begin on an empty readonly field | 09:21 |
nicoe | mrichez: could you create an issue? There might be a solution | 09:22 |
mrichez | nicoe: or having an option to set the first focused field | 09:22 |
udono | mrichez: isn't there the focus tag in xml any longer? | 09:23 |
smorillo | nicoe: sorry but I checked the wizard class on tryton side and if I set keys 'id', 'ids' and 'model' in data dict on do_action method of first wizard ... it works! | 09:24 |
mrichez | udono: don't know... | 09:24 |
nicoe | smorillo: great :) | 09:25 |
smorillo | nicoe: thanks a lot! | 09:26 |
nicoe | smorillo: np | 09:26 |
mrichez | nicoe: this is strange because on some models, focus is set on the first writable field (Supplier invoices for instance). | 09:35 |
mrichez | nicoe: here's the issue: https://bugs.tryton.org/issue8475 | 09:36 |
nicoe | mrichez: thanks | 09:48 |
mrichez | Another question, with https://bugs.tryton.org/issue7347 Starting wildcard is removed when searching on product codes and numbers... our products code contains a lot of informations like material, diameter, ... so users were doing the search on a part of this code to get all the products with a specific diameter for instance. Is there a specific character to have the wildcard or should i cancel the issue on product to keep the functionality ? | 09:49 |
pokoli | mrichez: until a generic solution is found, you can use focus="product" to set the focus by default on the product | 09:49 |
mrichez | pokoli: it's in xml ? so it's cursor='...' | 09:51 |
pokoli | mrichez: yes, in the xml of the form view | 09:51 |
pokoli | mrichez: and yes maybe it's cursor not foucs, didn't check the documentation but there is an option to explicity set the focus on a field | 09:51 |
mrichez | pokoli: ok, will updating forms where i need focus on a specific field :-) | 09:52 |
pokoli | mrichez: about the wildcard, you can escape it by using \\ | 09:52 |
pokoli | mrichez: See https://hg.tryton.org/trytond/rev/d85963a57040 | 09:52 |
pokoli | mrichez: in your case I will overwrite the search_rec_name of product to adapt with your expected behaviour | 09:53 |
mrichez | pokoli: ok thanks | 09:54 |
pokoli | mrichez: I've implemented this, sorry for breaking your use case but for most of the users the new behaviour is what they expect | 09:54 |
mrichez | pokoli: no problem, i'll made some customizations :-) i've juste switched on 5.2 for stock management yesterday and this morning they told me about the changes of behaviour | 09:56 |
-!- nicoe(~nicoe@77.109.98.171) has joined #tryton | 10:04 | |
-!- lucascastro(~lucascast@177-185-139-206.isotelco.net.br) has joined #tryton | 11:23 | |
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton | 12:04 | |
-!- csotelo_(~csotelo@190.234.41.50) has joined #tryton | 13:33 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 14:11 | |
-!- mariomop(~quassel@181.90.110.107) has joined #tryton | 14:31 | |
-!- nicoe(~nicoe@2a02:578:858c:500:7e2a:31ff:fe5e:b25d) has joined #tryton | 15:40 | |
-!- udono1(~udono@059-062-210-188.ip-addr.inexio.net) has joined #tryton | 17:00 | |
-!- nicoe(~nicoe@2a02:578:858c:500:7e2a:31ff:fe5e:b25d) has joined #tryton | 17:35 | |
-!- lucascastro(~lucascast@177.185.131.162) has joined #tryton | 18:20 | |
-!- yangoon(~mathiasb@115-66-142-46.pool.kielnet.net) has joined #tryton | 19:19 | |
-!- lucascastro(~lucascast@177.185.131.162) has joined #tryton | 19:35 | |
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton | 20:00 | |
-!- cryptic(~cryptic@142.196.139.17) has joined #tryton | 21:05 | |
-!- nicoe(~nicoe@2a02:578:858c:500:7e2a:31ff:fe5e:b25d) has joined #tryton | 21:27 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!