Tryton - Issues

 

Issue7932

Title Field shortcuts enabled when field is readonly
Priority bug Status resolved
Superseder Nosy List ced, reviewbot, roundup-bot, xcodinas
Type behavior Components sao
Assigned To ced Keywords review
Reviews 47791002
View: 47791002

Created on 2018-12-17.16:22:04 by xcodinas, last changed by roundup-bot.

Messages
New changeset 62857b73b7aa by Cédric Krier in branch '5.0':
Ignore operators on readonly date widget
https://hg.tryton.org/sao/rev/62857b73b7aa

New changeset 99abdb397d2a by Cédric Krier in branch '4.8':
Ignore operators on readonly date widget
https://hg.tryton.org/sao/rev/99abdb397d2a
New changeset a44fda1eb8ab by Cédric Krier in branch 'default':
Ignore operators on readonly date widget
https://hg.tryton.org/tryton-env/rev/a44fda1eb8ab
New changeset a5c297a7db9f by Cédric Krier in branch 'default':
Ignore operators on readonly date widget
https://hg.tryton.org/sao/rev/a5c297a7db9f
review47791002 updated at https://codereview.tryton.org/47791002/#ps1
msg45350 (view) Author: [hidden] (xcodinas) (Tryton committer) Date: 2018-12-17.16:22:03
When a field is readonly you shouldn't be able to modify the content of it so the field shortcuts should not work.

With the current behavior you can chang,e for example, the date of a processing sale. (In gtk client you can't)

Steps to reproduce:
- Go to Sales -> Sales
- Create a new sale with a date and go through states until the date field is readonly
- Focus the date field and press "d" key (The date will be increased)
- Save the record and the date will be updated.
History
Date User Action Args
2019-02-28 23:22:42roundup-botsetmessages: + msg47275
2019-02-10 13:16:57roundup-botsetmessages: + msg46901
2019-02-10 13:16:54roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg46900
2019-02-03 23:36:35reviewbotsetnosy: + reviewbot
messages: + msg46723
2019-02-03 23:11:23cedsetstatus: unread -> testing
reviews: 47791002
nosy: + ced
keyword: + review
assignedto: ced
2018-12-17 16:22:04xcodinascreate