chat.freenode.net #tryton log beginning Thu Nov 9 00:00:01 CET 2017 | ||
2017-11-09 01:20 -!- smarro(~sebastian@2800:af0:1028:29d1:2ab2:bdff:fe11:9b67) has joined #tryton | ||
2017-11-09 01:22 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2017-11-09 02:17 -!- csotelo(~csotelo@190.232.165.55) has joined #tryton | ||
2017-11-09 03:07 -!- thaneor(~ldlc6@r167-56-50-74.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2017-11-09 03:52 -!- sisalp(~sisalpuse@ip39.ip-46-105-32.eu) has joined #tryton | ||
2017-11-09 03:52 -!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton | ||
2017-11-09 03:54 -!- g5pw(~g5pw@mittelab/sudo/g5pw) has joined #tryton | ||
2017-11-09 04:15 -!- smarro(~sebastian@2800:af0:1028:29d1:2ab2:bdff:fe11:9b67) has joined #tryton | ||
2017-11-09 04:20 -!- g5pw(~g5pw@mittelab/sudo/g5pw) has joined #tryton | ||
2017-11-09 04:32 -!- zmijunkie1(~Adium@200116b80a1258009403d18f868467cc.dip.versatel-1u1.de) has joined #tryton | ||
2017-11-09 06:42 -!- silwol(silwolmatr@gateway/shell/matrix.org/x-tuijabcijzphkggt) has joined #tryton | ||
2017-11-09 06:47 -!- semarie(~semarie@unaffiliated/semarie) has joined #tryton | ||
2017-11-09 06:55 -!- Guest36060(~HackEgo@61.168.113.55) has joined #tryton | ||
2017-11-09 07:14 -!- zmijunkie(~Adium@200116b80a1258009403d18f868467cc.dip.versatel-1u1.de) has joined #tryton | ||
2017-11-09 07:17 -!- buxy(~rhertzog@mail.vm.ouaza.com) has joined #tryton | ||
2017-11-09 07:18 -!- fmorato[m](fmoratomat@gateway/shell/matrix.org/x-yxuimnmipzbhesxc) has joined #tryton | ||
2017-11-09 07:18 -!- sim6(sim6matrix@gateway/shell/matrix.org/x-rcareecnftwrzdkh) has joined #tryton | ||
2017-11-09 07:26 -!- pokoli(~pokoli@91.121.101.203) has joined #tryton | ||
2017-11-09 10:32 -!- irclog(~irclog@moretus.b2ck.com) has joined #tryton | ||
2017-11-09 10:41 -!- sisalp(~sisalpuse@ip39.ip-46-105-32.eu) has joined #tryton | ||
2017-11-09 10:48 <cedk> Tryton servers are back | ||
2017-11-09 11:20 -!- smarro(~sebastian@2800:af0:1028:29d1::2) has joined #tryton | ||
2017-11-09 12:33 -!- smarro(~sebastian@2800:af0:1028:29d1::2) has joined #tryton | ||
2017-11-09 12:51 -!- smarro(~sebastian@host84.181-9-122.telecom.net.ar) has joined #tryton | ||
2017-11-09 13:09 -!- smarro(~sebastian@2800:af0:1028:29d1::2) has joined #tryton | ||
2017-11-09 13:29 -!- csotelo_at_work(~csotelo@179.43.97.56) has joined #tryton | ||
2017-11-09 14:11 -!- catonano(~user@151.45.35.76) has joined #tryton | ||
2017-11-09 14:19 -!- goug(~goug@i19-les01-t2-31-36-190-64.sfr.lns.abo.bbox.fr) has joined #tryton | ||
2017-11-09 14:20 -!- smarro(~sebastian@2800:af0:1028:29d1:2ab2:bdff:fe11:9b67) has joined #tryton | ||
2017-11-09 15:19 -!- cdchapman(~perturbed@73.98.169.158) has joined #tryton | ||
2017-11-09 15:32 -!- lukio(~lukio@186.141.138.235) has joined #tryton | ||
2017-11-09 15:37 -!- meigallodixital(~meigallod@209.58.185.231) has joined #tryton | ||
2017-11-09 15:51 -!- dmollerm(~dmollerm@170.red-80-28-119.staticip.rima-tde.net) has joined #tryton | ||
2017-11-09 15:52 -!- meigallodixital_(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton | ||
2017-11-09 16:07 -!- myself21(uid11615@gateway/web/irccloud.com/x-wfakxdsthvebqkjn) has joined #tryton | ||
2017-11-09 16:24 <dmollerm> Dear community, any mechanism to provide different texts to the same field name depending on the view? I.e. a shortened name for list or sequence views, but not for form views. | ||
2017-11-09 16:27 <pokoli> dmollerm: use a diferent label on form view | ||
2017-11-09 16:27 <pokoli> dmollerm: like <label id="label_id" string="Your long text here"/> | ||
2017-11-09 16:31 <dmollerm> pokoli: Yes, I thought about that, but if I only wanted to change the text on the tree view? I fear the real field name is showing in other places like reports and wizards views. | ||
2017-11-09 16:35 <pokoli> dmollerm: I don't think it's possible | ||
2017-11-09 16:37 <pokoli> but why you need another label? | ||
2017-11-09 16:39 <dmollerm> In this case for abbreviation exclusively. But I think it could be useful for contextualization as well. | ||
2017-11-09 16:40 <dmollerm> Should I make a proposal in the issue tracker for such a need? | ||
2017-11-09 16:40 <pokoli> dmollerm: you can make a proposal, but I'm not sure we should manage it | ||
2017-11-09 16:41 <pokoli> dmollerm: the client shortens the tree view label, so if it's too long it does not occupy more space than the column | ||
2017-11-09 16:41 <cedk> I do not think it is a good idea | ||
2017-11-09 16:41 <cedk> label should be good for all cases | ||
2017-11-09 16:43 <cedk> and also short, the help is there if it requires longer text | ||
2017-11-09 16:49 <dmollerm> I understand your point (and I actually agree). Yet if somebody really required me to do so, could I hack with the fields_view_get method? (Belive me, I'm the first one disliking this) | ||
2017-11-09 16:52 <cedk> dmollerm: wait until this happens and convice him that it is a bad idea | ||
2017-11-09 16:56 <pokoli> dmollerm: and if you can't convince, just put a non affordable price on the feature :) | ||
2017-11-09 16:58 <dmollerm> cedk: this is already happening XD. I won't give up this early but I'm afraid I'll eventually be forced to implement something. I told them about the possibility to make a functional field with a different name, and about how bad this idea is. | ||
2017-11-09 17:01 <pokoli> dmollerm: but using a functional field, will force you to implement: getter, searcher and order_functions | ||
2017-11-09 17:01 <pokoli> dmollerm: and also setter if list view is editable | ||
2017-11-09 17:04 <dmollerm> pokoli: indeed, yet they would be all pretty straightforward since they would nothing different as the real field, only the field name would be a difference. Yet precisely in large tree views is where functional fields are a computational handicap, that's why I'd rather avoid this | ||
2017-11-09 17:05 <pokoli> dmollerm: I'm more worried about code maintenance than about performance | ||
2017-11-09 17:06 <pokoli> dmollerm: It's for a specific tree view, or for all tree views? | ||
2017-11-09 17:07 <dmollerm> pokoli: So am I worried. It's for a specific tree view each time, but different fields and models. | ||
2017-11-09 17:09 <dmollerm> Hacking the fields_view_get method works out, but I'm obviously and dangerously outside the translation system | ||
2017-11-09 17:10 <cedk> dmollerm: I do not understand why you have to do that | ||
2017-11-09 17:11 <dmollerm> Which is a mes up because this very module is translated to 5 languages (it's for a client rather sparse across countries) | ||
2017-11-09 17:11 <cedk> if the length of a label is a problem, there is two options: fix the label because it is wrong, fix the view because it has too much things | ||
2017-11-09 17:12 <dmollerm> cdk: client requirement (unless they hear me this is not what they want) | ||
2017-11-09 17:12 <cedk> dmollerm: just say no to the client | ||
2017-11-09 17:13 <cedk> don't be a yes-man | ||
2017-11-09 17:13 <dmollerm> cedk: the view is simply bizzarre, but they'll require even more fields each time XD | ||
2017-11-09 17:13 <pokoli> /me is eating popcorns | ||
2017-11-09 17:13 <cedk> dmollerm: so the problem is not the label, it is the view | ||
2017-11-09 17:13 <pokoli> ACTION is eating popcorns | ||
2017-11-09 17:14 <cedk> split it or change it or simplify it or … | ||
2017-11-09 17:14 <dmollerm> cedk: I'm working on that, obviously for good code maintanence | ||
2017-11-09 17:16 <pokoli> dmollerm: which info is show on the view? | ||
2017-11-09 17:17 <pokoli> dmollerm: it is a query only view? | ||
2017-11-09 17:18 <dmollerm> pokoli: this field is a boolean check. That's why any label looks long. But that is among 22 other fields, including 2 Text fields and 4 Function fields. There is no edition in the view. | ||
2017-11-09 17:20 <pokoli> lol, 28 fields in a view? is that possible? | ||
2017-11-09 17:20 <pokoli> I mean is possible to understand something with too much fields | ||
2017-11-09 17:20 <dmollerm> The view is bizarre and clearly unusable even in a 24" screen. That's why I can't understand why they keep requiring more fields each time | ||
2017-11-09 17:20 -!- xcodinas(5b7e4c02@gateway/web/freenode/ip.91.126.76.2) has joined #tryton | ||
2017-11-09 17:20 <dmollerm> Sorry, 22 fields in total. Yet unusable | ||
2017-11-09 17:22 <pokoli> dmollerm: probably this view is not solving the real problem :) | ||
2017-11-09 17:23 <dmollerm> Don't blame me XD | ||
2017-11-09 17:23 <pokoli> dmollerm: I don't blame you, just saying | ||
2017-11-09 17:23 <pokoli> dmollerm: probably it will be better to split it in several views and labels things correctly | ||
2017-11-09 17:30 <pokoli> dmollerm: probablly https://bugs.tryton.org/issue3672 will help on the translation part :) | ||
2017-11-09 17:32 <pokoli> not sure if we should also allow to show messages on form view | ||
2017-11-09 17:33 <dmollerm> pokoli: thanks, I'll keep that link for my dark future, but I think I'll be able to stay in the untranslatable acronym safe zone. | ||
2017-11-09 17:37 <pokoli> dmollerm: indeed, with 22 fields, using a single letter for each field, you only have space for 4 more fields | ||
2017-11-09 17:37 <pokoli> xDDDD | ||
2017-11-09 17:37 <dmollerm> X'D | ||
2017-11-09 17:48 -!- xcodinas(~xcodinas@134.ip-5-196-28.eu) has joined #tryton | ||
2017-11-09 17:48 -!- xcodinas(~xcodinas@unaffiliated/xcodinas) has joined #tryton | ||
2017-11-09 18:01 -!- Zadi(~Zadi@180.253.139.28) has joined #tryton | ||
2017-11-09 18:34 -!- thaneor(~ldlc6@r179-25-64-121.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2017-11-09 18:56 -!- smarro(~sebastian@181.47.250.121) has joined #tryton | ||
2017-11-09 18:58 -!- andrespoliti(~andrespol@250-183-89-200.fibertel.com.ar) has joined #tryton | ||
2017-11-09 18:59 <andrespoliti> hello, is it possible to make a searcher that compares 2 values of the record? | ||
2017-11-09 19:01 <andrespoliti> for example domain=[('due_date', '<=', 'date_of_completion')] | ||
2017-11-09 19:06 <cedk> andrespoliti: you must write a SQL query | ||
2017-11-09 19:10 <fmorato[m]> Coming a bit late to the talk. The Yes Men are actually cool: https://en.wikipedia.org/wiki/The_Yes_Men | ||
2017-11-09 19:14 <andrespoliti> how can i set a sql query to a searcher? | ||
2017-11-09 19:22 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton | ||
2017-11-09 19:26 -!- catonano(~user@151.45.35.76) has joined #tryton | ||
2017-11-09 21:49 -!- smarro(~sebastian@2800:af0:1028:29d1:2ab2:bdff:fe11:9b67) has joined #tryton | ||
2017-11-09 22:01 -!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton | ||
2017-11-09 22:12 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!