IRC logs of #tryton for Tuesday, 2021-10-12

irc.libera.chat #tryton log beginning Tue Oct 12 12:00:01 AM CEST 2021
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:55
-!- ChanServ changed mode/#tryton -> +o cedk 22:55
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton04:57
-!- springwurm(~springwur@5.104.149.54) has joined #tryton05:02
-!- timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton05:53
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton06:24
-!- rpit(~rpit@p200300c88f168d000ae81a7497341a2e.dip0.t-ipconnect.de) has joined #tryton06:26
-!- udono(~udono@149-138-067-156.ip-addr.inexio.net) has joined #tryton06:52
-!- timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton06:56
-!- springwurm(~springwur@5.104.149.54) has joined #tryton06:56
-!- sharkcz(~sharkcz@19.161.broadband4.iol.cz) has joined #tryton06:56
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton07:23
-!- ChanServ changed mode/#tryton -> +o cedk 07:23
-!- springwurm_(~springwur@5.104.149.54) has joined #tryton07:45
mrichezhi, does all inventory moves have an origin ? In shipment out, i need to get sale data from inventory_moves to print labels... So if inventory moves have all an origin on stock.move, i could check if origin of origin of stock.move is SaleLine... and then get needed data's09:00
cedkmrichez: not if the move was created manually09:18
mrichezcedk: indeed09:19
-!- timitos(~kpreisler@134.3.92.37) has joined #tryton10:04
-!- springwurm(~springwur@5.104.149.54) has joined #tryton12:08
-!- wifasoi[m](~wifasoiwi@2001:470:69fc:105::1:177b) has joined #tryton12:19
-!- Guest21(~Guest21@out-207-21.elettra.trieste.it) has joined #tryton12:27
mrichezhi, how to eval if a value is in MultiSelection to define state ? something like that : 'invisible': 'value' in Eval('MultiSelection')13:52
cedkmrichez: use .contains13:57
mrichezcedk: thanks! Didn't know about .contains... 13:59
mrichezit's in the documentation ?13:59
mrichezhum, in source code14:00
cedkmrichez: indeed it is just sugar-syntax for pyson.In14:05
mrichezok14:06
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton18:56
-!- ChanServ changed mode/#tryton -> +o cedk 18:56
-!- SISalp(~SISalp@51.sisalp.net) has joined #tryton18:59

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