IRC logs of #tryton for Monday, 2023-09-11

irc.libera.chat #tryton log beginning Mon Sep 11 12:10:01 AM CEST 2023
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:19
-!- ChanServ changed mode/#tryton -> +o cedk 22:19
-!- kwmiebach_(sid16855@id-16855.tinside.irccloud.com) has joined #tryton00:00
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:db7c:11fb:1fc6:3112) has joined #tryton05:08
-!- springwurm(~springwur@2a01:76c0:100:f500:3490:417:5ef4:b3e7) has joined #tryton05:16
-!- tbruyere(~Thunderbi@mail.saluc.com) has joined #tryton06:10
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton06:37
-!- ChanServ changed mode/#tryton -> +o cedk 06:37
mrichezhi, when setting inventory_moves on shipment readonly, it prevents to add/remove inventory_moves on shipment but updating existing moves is still allowed. Is the only way to make it readonly is by defining a rule on each field of the move ?07:09
mrichezdoes it make sense to have a function field 'shipment_state' on move and so setting move's fields readonly depending on shipment_state ?07:29
-!- rpit(~rpit@p200300c88f0fa200c9e366d9cf08ed81.dip0.t-ipconnect.de) has joined #tryton07:29
-!- udono(~udo@125-128-067-156.ip-addr.inexio.net) has joined #tryton07:56
cedkmrichez: usually they are readonly by their own state08:06
mrichezcedk: i'm testing this feature... i've set inventory_moves readonly when shipment is in state 'waiting', but as move is draft i could edit fields08:07
mrichezcedk: so i'm thinking to set move fields readonly also depending on specific shipment state 08:08
mrichezhttps://discuss.tryton.org/t/adding-an-optional-waiting-step-before-receive-to-supplier-shipment/650708:09
cedkmrichez: what is the point to make it readonly as long as the moves are updated after08:12
mrichezcedk: just to prevent user loosing any changes if he update inventory fields (indeed it's non sense to do that )08:15
mrichezcedk: and if i update those inventory moves erroneously that will affect forecast quantities08:16
mrichezcedk: so setting move readonly will avoid such behavior... 08:17
cedkmrichez: we already have such possibilities with other shipments08:32
cedkI do not think it is a problem as long as clicking on waitig again restore the data08:33
mrichezcedk: ok08:33
-!- tbruyere1(~Thunderbi@mail.saluc.com) has joined #tryton08:46
-!- tbruyere(~Thunderbi@mail.saluc.com) has joined #tryton08:58
-!- tbruyere1(~Thunderbi@mail.saluc.com) has joined #tryton09:53
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton11:45
-!- ChanServ changed mode/#tryton -> +o cedk 11:45
-!- springwurm(~springwur@2a01:76c0:100:f500:dde2:9c81:e984:a168) has joined #tryton12:06
-!- udono1(~udo@136-130-067-156.ip-addr.inexio.net) has joined #tryton12:58
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton14:03
-!- ChanServ changed mode/#tryton -> +o cedk 14:03
-!- yangoon(~yangoon@pd9e4a0b9.dip0.t-ipconnect.de) has joined #tryton14:12
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton19:31
-!- ChanServ changed mode/#tryton -> +o cedk 19:31
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:07
-!- ChanServ changed mode/#tryton -> +o cedk 22:07

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