IRC logs of #tryton for Thursday, 2021-04-08

chat.freenode.net #tryton log beginning Thu Apr 8 12:00:01 AM CEST 2021
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:17
-!- srgdts_(~srgdts@unaffiliated/srgdts) has joined #tryton01:49
-!- thaneor2(~acer8@r167-61-81-127.dialup.adsl.anteldata.net.uy) has joined #tryton02:27
-!- thaneor3(~ldlc6@r167-61-81-127.dialup.adsl.anteldata.net.uy) has joined #tryton02:28
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton04:50
-!- alidipatrick(~alidipatr@197.149.60.77) has joined #tryton05:15
-!- Timitos(~kpreisler@2001:a61:482:eb01:762b:62ff:fe84:ed7e) has joined #tryton05:54
-!- LordVan(~LordVAn@gentoo/developer/LordVan) has joined #tryton05:56
LordVanhi05:56
LordVanjust wondering .. if i want sorting to be case-insensitive .. is that a collation/DB issue or UI ?05:57
pokoliLordVan: if you want sorting to be case-insisentive you need to customize the order expression and use a lower() DB function06:02
LordVanpokoli, i suspected about as much. thanks.06:03
LordVanI was goin to customize it anyway ( for products to search case insensitive and LIKE '%term%' instead of the standard06:04
pokoliLordVan: The client uses the LIKE '%term%' pattern by default for char fields06:06
LordVanwell the product/variant search does not06:08
LordVanwhich is a bit inconvenient when adding articles to sale imho06:08
pokoliLordVan: the rec_name search? or what?06:08
pokoliLordVan: could you give me some example of what does not work?06:09
LordVango to sale, add sale line, go to product field and type search term06:09
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton06:09
LordVanit only works when it is from the first char06:09
LordVanlike a .startswith() search06:10
pokoliLordVan: this is the stanard behaviour for all code fields06:12
pokoliLordVan: https://bugs.tryton.org/issue734706:12
LordVanyes but doesn'T mean I find it convenient ^^06:14
pokoliLordVan: which is your use case?06:14
LordVanthe code has several different identifiers in it e.g. "ST37" "SJ235JR" "1.0037" - which are all effectively the same but different standards ,..06:15
LordVanand searching for either of them would be useful06:16
LordVan-- i have "standard" products for generic sheet metal parts06:16
LordVani mean sure i can search the specific field but since for me the standard case would be LIKE '%..%' i think i'l lchange it06:17
pokoliok, no specials reason, just your desire06:19
pokoliLordVan: if you add the identifiers on the product identifiers all be included on search by default06:19
LordVanyes i was thinking of something like that06:20
pokoliLordVan: and the product will be show if any of the identifiers match06:20
LordVani'D have to add new identifier types then .. nto sure if that is worth it tbh. just writing it in the code field works fine otherwise ;)06:21
-!- rpit(~rpit@p200300c88f0235001c42215a17f33f55.dip0.t-ipconnect.de) has joined #tryton06:22
pokoliLordVan: you can leave the type empty if the code is not validated06:50
LordVanpokoli, ah to be fair I haven't tested that .. it would be an option though06:50
LordVanthanks I shall consider06:51
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton07:08
-!- ludo2(~Thunderbi@2001:912:1480:380::1) has joined #tryton07:18
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton07:23
-!- ludo2(~Thunderbi@2001:912:1480:380::1) has joined #tryton08:12
-!- LordVan(~LordVAn@gentoo/developer/LordVan) has joined #tryton10:04
-!- alidipatrick(~alidipatr@197.149.60.77) has joined #tryton10:51
-!- mariomop(~quassel@181.29.189.235) has joined #tryton11:05
-!- rpit(~rpit@p5b22b970.dip0.t-ipconnect.de) has joined #tryton11:54
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton12:00
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton12:07
-!- alidipatrick(~alidipatr@197.149.60.77) has joined #tryton14:28
-!- thaneor(~ldlc6@r167-61-48-112.dialup.adsl.anteldata.net.uy) has joined #tryton14:29
-!- thaneor1(~acer8@r167-61-48-112.dialup.adsl.anteldata.net.uy) has joined #tryton14:30
-!- thaneor1(~acer8@r167-61-48-112.dialup.adsl.anteldata.net.uy) has joined #tryton15:00
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton16:12
-!- ludo2(~Thunderbi@221.114.141.88.rev.sfr.net) has joined #tryton16:54
-!- alidipatrick(~alidipatr@197.149.60.77) has joined #tryton19:07
-!- rpit(~rpit@p200300c88f0235001c42215a17f33f55.dip0.t-ipconnect.de) has joined #tryton20:33
-!- lucascastro(~lucascast@177-185-133-170.dynamic.isotelco.net.br) has joined #tryton21:39

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!