IRC logs of #tryton for Thursday, 2023-08-17

irc.libera.chat #tryton log beginning Thu Aug 17 12:10:01 AM CEST 2023
-!- springwurm(~springwur@2a01:76c0:100:f500:4c71:1137:a30e:bc52) has joined #tryton05:34
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton05:41
-!- ChanServ changed mode/#tryton -> +o cedk 05:41
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:db7c:11fb:1fc6:3112) has joined #tryton06:12
-!- udono(~udono@142-139-067-156.ip-addr.inexio.net) has joined #tryton06:29
-!- rpit(~rpit@p200300c88f3b3200b4af471d8365b82e.dip0.t-ipconnect.de) has joined #tryton06:45
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton07:37
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton09:07
mrichezhi, i'm reading code in product_cost_warehouse module. I see warehouses field is added on the cron form, but don't see which function is called  with the cron ? There's no setup method to add a function to cron...09:09
cedkmrichez: it is for the existing task, like the cost price computation09:10
mrichezcedk: ok. When a cron is executed, there's no default context ? I mean, i need to execute my cron on the current warehouse, do i need to add also warehouses on the cron form ?09:18
cedkmrichez: cron has no current warehouse09:20
mrichezcedk: thanks. I'll add warehouse field then :-)09:20
cedkmrichez: or your task loop over all warehouses09:24
mrichezcedk: that's another idea ;-)09:27
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton11:41
-!- springwurm(~springwur@2a01:76c0:100:f500:3b4a:1e07:f5c1:1f13) has joined #tryton12:04
-!- udono(~udono@142-139-067-156.ip-addr.inexio.net) has joined #tryton13:54
-!- rpit(~rpit@p200300c88f3b3200b4af471d8365b82e.dip0.t-ipconnect.de) has joined #tryton16:55
-!- srgdts(~srgdts@user/srgdts) has joined #tryton17:09
-!- rpit(~rpit@p200300c88f3b3200b4af471d8365b82e.dip0.t-ipconnect.de) has left #tryton18:32
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton19:32
-!- ChanServ changed mode/#tryton -> +o cedk 19:32
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton21:17
-!- ChanServ changed mode/#tryton -> +o cedk 21:17

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