IRC logs of #tryton for Tuesday, 2024-01-30

irc.libera.chat #tryton log beginning Tue Jan 30 12:10:01 AM CET 2024
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton23:43
-!- ChanServ changed mode/#tryton -> +o cedk 23:43
-!- srgdts(~srgdts@user/srgdts) has joined #tryton23:51
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton23:59
-!- ChanServ changed mode/#tryton -> +o cedk 23:59
-!- springwurm(~springwur@2a01:76c0:104:c700:8f41:cbc:328d:266b) has joined #tryton06:12
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton07:23
-!- tbruyere(~Thunderbi@mail.saluc.com) has joined #tryton07:29
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:21
-!- ChanServ changed mode/#tryton -> +o cedk 08:21
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton08:52
-!- tbruyere1(~Thunderbi@mail.saluc.com) has joined #tryton09:59
mrichezhi, if i define a tree editable=1, could i define some fields to be readonly in the xml view ? so it would be <tree editable="1"> <field name="product" readonly="1"/><field name="quantity"/>...12:23
-!- tbruyere(~Thunderbi@mail.saluc.com) has joined #tryton12:24
-!- springwurm(~springwur@2a01:76c0:104:c700:93f4:bce8:68f3:7d4e) has joined #tryton13:03
-!- springwurm_(~springwur@2a01:76c0:104:c700:93f4:bce8:68f3:7d4e) has joined #tryton13:38
cedkmrichez: it is allowed in RNG but I do not think it is right. readonly is not a display property but a behavior that must be consistent15:41
mrichezcedk: ok. it's for a specific list with stock move (users are allowed to update most of fields) but in the editable list we prefer to allow only editing some fields, and displaying the form view if they really want to edit other fields15:44
mrichezcedk: for instance, we want to avoid they change lot number (even if it's allowed to them) in the editable tree, we 've added custom fields for numbering packages and it's easier to encode in the tree view15:46
cedkmrichez: display another readonly field15:47

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