details:   https://code.tryton.org/tryton/commit/1cfadbfa86da
branch:    default
user:      Cédric Krier <[email protected]>
date:      Wed Sep 23 12:10:32 2026 +0200
description:
        Remove unnecessary readonly on device cookie

        It does not inherit from ModelView so it can only be accessed from the 
server
        which makes the readonly useless.
diffstat:

 trytond/trytond/res/user.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r cd8a5e16e44c -r 1cfadbfa86da trytond/trytond/res/user.py
--- a/trytond/trytond/res/user.py       Wed Sep 23 12:08:23 2026 +0200
+++ b/trytond/trytond/res/user.py       Wed Sep 23 12:10:32 2026 +0200
@@ -881,7 +881,7 @@
     __name__ = 'res.user.device'
 
     login = fields.Char("Login", required=True)
-    cookie = fields.Char("Cookie", readonly=True, required=True, strip=False)
+    cookie = fields.Char("Cookie", required=True, strip=False)
 
     @classmethod
     def __setup__(cls):

Reply via email to