Tryton - Issues

 

Issue7824

Title Fail to open row on view without form
Priority bug Status resolved
Superseder Nosy List ced, reviewbot, roundup-bot
Type crash Components sao, tryton
Assigned To ced Keywords review
Reviews 45791002
View: 45791002

Created on 2018-10-27.15:12:35 by ced, last changed by roundup-bot.

Messages
New changeset 3748c9f18669 by Cédric Krier in branch '5.0':
Do not fail on One2Many with only tree mode
https://hg.tryton.org/tryton/rev/3748c9f18669
New changeset c74744342cfa by Cédric Krier in branch '5.0':
Do not fail on One2Many with only tree mode
https://hg.tryton.org/sao/rev/c74744342cfa
New changeset 74b7754fbaba by Cédric Krier in branch 'default':
Do not fail on One2Many with only tree mode
https://hg.tryton.org/tryton-env/rev/74b7754fbaba
New changeset 5c81a43b3d46 by Cédric Krier in branch 'default':
Do not fail on One2Many with only tree mode
https://hg.tryton.org/tryton/rev/5c81a43b3d46
New changeset e0a583fa4edc by Cédric Krier in branch 'default':
Do not fail on One2Many with only tree mode
https://hg.tryton.org/sao/rev/e0a583fa4edc
msg44647 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-10-28.12:07:56
This was introduced by issue7364
review45791002 updated at https://codereview.tryton.org/45791002/#ps1
msg44636 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-10-27.15:12:34
It is possible to define only a tree view on a One2Many for example. But if the user tries to open it (with double click or switch view), tryton goes into an infinite loop and sao open a dialog with the list but the wrong toolbar.
This is because switch_view may not always set the requested view type.
I think the client should do nothing if there is no view to "open" the row.
History
Date User Action Args
2018-11-03 01:29:00roundup-botsetmessages: + msg44743
2018-11-03 01:27:35roundup-botsetmessages: + msg44740
2018-10-31 18:21:46roundup-botsetmessages: + msg44693
2018-10-31 18:21:45roundup-botsetmessages: + msg44692
2018-10-31 18:21:42roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg44691
2018-10-28 12:07:57cedsetmessages: + msg44647
2018-10-27 15:26:00reviewbotsetnosy: + reviewbot
messages: + msg44638
2018-10-27 15:21:23cedlinkissue7823 superseder
2018-10-27 15:13:27cedsetstatus: in-progress -> testing
reviews: 45791002
keyword: + review
2018-10-27 15:12:35cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)