irc.libera.chat #tryton log beginning Mon Sep 11 12:10:01 AM CEST 2023 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 22:19 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 22:19 | |
-!- kwmiebach_(sid16855@id-16855.tinside.irccloud.com) has joined #tryton | 00:00 | |
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:db7c:11fb:1fc6:3112) has joined #tryton | 05:08 | |
-!- springwurm(~springwur@2a01:76c0:100:f500:3490:417:5ef4:b3e7) has joined #tryton | 05:16 | |
-!- tbruyere(~Thunderbi@mail.saluc.com) has joined #tryton | 06:10 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 06:37 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 06:37 | |
mrichez | hi, 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 |
---|---|---|
mrichez | does 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 #tryton | 07:29 | |
-!- udono(~udo@125-128-067-156.ip-addr.inexio.net) has joined #tryton | 07:56 | |
cedk | mrichez: usually they are readonly by their own state | 08:06 |
mrichez | cedk: 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 fields | 08:07 |
mrichez | cedk: so i'm thinking to set move fields readonly also depending on specific shipment state | 08:08 |
mrichez | https://discuss.tryton.org/t/adding-an-optional-waiting-step-before-receive-to-supplier-shipment/6507 | 08:09 |
cedk | mrichez: what is the point to make it readonly as long as the moves are updated after | 08:12 |
mrichez | cedk: just to prevent user loosing any changes if he update inventory fields (indeed it's non sense to do that ) | 08:15 |
mrichez | cedk: and if i update those inventory moves erroneously that will affect forecast quantities | 08:16 |
mrichez | cedk: so setting move readonly will avoid such behavior... | 08:17 |
cedk | mrichez: we already have such possibilities with other shipments | 08:32 |
cedk | I do not think it is a problem as long as clicking on waitig again restore the data | 08:33 |
mrichez | cedk: ok | 08:33 |
-!- tbruyere1(~Thunderbi@mail.saluc.com) has joined #tryton | 08:46 | |
-!- tbruyere(~Thunderbi@mail.saluc.com) has joined #tryton | 08:58 | |
-!- tbruyere1(~Thunderbi@mail.saluc.com) has joined #tryton | 09:53 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 11:45 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 11:45 | |
-!- springwurm(~springwur@2a01:76c0:100:f500:dde2:9c81:e984:a168) has joined #tryton | 12:06 | |
-!- udono1(~udo@136-130-067-156.ip-addr.inexio.net) has joined #tryton | 12:58 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 14:03 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 14:03 | |
-!- yangoon(~yangoon@pd9e4a0b9.dip0.t-ipconnect.de) has joined #tryton | 14:12 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 19:31 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 19:31 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 22: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/!