irc.libera.chat #tryton log beginning Tue Jan 30 12:10:01 AM CET 2024 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 23:43 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 23:43 | |
-!- srgdts(~srgdts@user/srgdts) has joined #tryton | 23:51 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 23:59 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 23:59 | |
-!- springwurm(~springwur@2a01:76c0:104:c700:8f41:cbc:328d:266b) has joined #tryton | 06:12 | |
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton | 07:23 | |
-!- tbruyere(~Thunderbi@mail.saluc.com) has joined #tryton | 07:29 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 08:21 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 08:21 | |
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton | 08:52 | |
-!- tbruyere1(~Thunderbi@mail.saluc.com) has joined #tryton | 09:59 | |
mrichez | hi, 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 #tryton | 12:24 | |
-!- springwurm(~springwur@2a01:76c0:104:c700:93f4:bce8:68f3:7d4e) has joined #tryton | 13:03 | |
-!- springwurm_(~springwur@2a01:76c0:104:c700:93f4:bce8:68f3:7d4e) has joined #tryton | 13:38 | |
cedk | mrichez: 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 consistent | 15:41 |
mrichez | cedk: 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 fields | 15:44 |
mrichez | cedk: 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 view | 15:46 |
cedk | mrichez: display another readonly field | 15:47 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!