IRC logs of #tryton for Thursday, 2022-03-17

irc.libera.chat #tryton log beginning Thu Mar 17 12:00:01 AM CET 2022
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton23:55
-!- ChanServ changed mode/#tryton -> +o cedk 23:55
-!- Pegasus_RPG(~Thunderbi@nv-71-48-39-136.dhcp.embarqhsd.net) has joined #tryton01:40
-!- springwurm(~springwur@5.104.149.54) has joined #tryton06:15
-!- udono(~udono@078-129-067-156.ip-addr.inexio.net) has joined #tryton06:32
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton07:18
-!- rpit(~rpit@p200300c88f061600c60cb618196779ef.dip0.t-ipconnect.de) has joined #tryton07:20
-!- timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton07:33
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton08:12
-!- udono(~udono@078-129-067-156.ip-addr.inexio.net) has joined #tryton08:32
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:51
-!- ChanServ changed mode/#tryton -> +o cedk 08:51
-!- brokencycle(~brokencyc@2a02:c7f:f6f4:4200:dae5:9bc:ad9a:c64d) has joined #tryton09:39
pokolicedk: Did you aim to have a developer tutorial in the upcoming release? 11:17
cedkpokoli: it will be great12:58
cedkpokoli: for now I'm giving a training so I review the content and will complete it12:59
pokolicedk: ok, I will try to review it13:10
pokolicedk: I think that probably is a good idea to publish something despite it is not fully complete, we can complete it latter on next releases13:10
-!- springwurm(~springwur@5.104.149.54) has joined #tryton13:12
-!- timitos(~kpreisler@ip-134-003-092-037.um41.pools.vodafone-ip.de) has joined #tryton13:14
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton14:25
-!- ChanServ changed mode/#tryton -> +o cedk 14:25
nicoecedk: About https://bugs.tryton.org/issue10178, I have a case like this: [('options.billing', '!=', None)], previously it matched the persons having at least an option with a billing filled. But now it matches also person with any options15:57
nicoeSo indeed I can use 'where' instead (and that's my recommandation anyway)15:58
nicoeBut I wonder if the tests to add the person without an option shouldn't be guarded by the condition that there is no '.' in the name15:59
nicoeI am not sure about that though16:00
nicoe(my first message should be "But now it matches also persons withOUT any options")16:01
-!- Pegasus_RPG(~Thunderbi@169.241.65.43) has joined #tryton16:22
cedknicoe: indeed I think it is a special case for None value17:16
cedkbecause we tend to think that a relation that does not exist has a value of None17:17
nicoeI am not sure, if I write [('lines.name', 'not like', '%Toto%')], I think it means that I expect that name has a value on the lines (but not matching '%Toto%').17:27
nicoeBut I can understand the reasoning where it's like a LEFT JOIN … WHERE xxx IS NOT NULL also17:27
nicoe(In fact with this I am on the verge of saying that using the dot notation for xxx2Many shouldn't be authorized)17:28
nicoe(Because they can use where and the difficult of the semantic disappear)17:29
nicoe*difficulty17:29
cedknicoe: the changeset explicitly define that no lines will match17:33
cedkand for me it is normal that different from a value match no value17:33
cedkbut any way there is no right or wrong behavior17:34
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton17:34
cedkbut there is inconsistency, with the current behavior testing != None should not return record without lines17:34
cedkbecause such records should not be in the result of = None and != None17:35
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton18:14
nicoeOK I'll create an issue18:18
-!- Pegasus_RPG(~Thunderbi@169.241.65.43) has joined #tryton20:05
-!- Pegasus_RPG(~Thunderbi@nv-71-48-39-136.dhcp.embarqhsd.net) has joined #tryton22:12

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