Issue 11022

Title
Parent field is not always readonly in form opened from tree view
Priority
bug
Status
resolved
Nosy list
albertca, ced, reviewbot, roundup-bot
Assigned to
ced
Keywords
review

Created on 2021-12-07.15:46:28 by albertca, last changed 3 weeks ago by roundup-bot.

Messages

New changeset 3c29107566ff by Cédric Krier in branch 'default':
Set as readonly the parent field
https://hg.tryton.org/tryton-env/rev/3c29107566ff
New changeset 43be33d4329c by Cédric Krier in branch 'default':
Set as readonly the parent field
https://hg.tryton.org/tryton/rev/43be33d4329c
New changeset 7cae3ee7c17b by Cédric Krier in branch 'default':
Set as readonly the parent field
https://hg.tryton.org/sao/rev/7cae3ee7c17b
Author: [hidden] (albertca)
Date: 2021-12-07.15:46:28

Testing on party category tree view:

  • I start with no categories. I click on “New” and create category “a”.
  • Press “New” again and create category “b”. I cannot add it as a child of a (parent is readonly).
  • I move to category “a” and create two children “aa” and “ab”.
  • I switch to tree view.
  • Now if I press “New” when the “a” category is selected, the parent field of the new record is readonly (record must be sibling of a) but if I press “New” when the “aa” category is selected, the parent field of the new record is readwrite.

I guess the expected behaviour in the last case is that the parent field should be readonly.

Following: https://discuss.tryton.org/t/menu-tree-vs-list-view/

History
Date User Action Args
2022-04-25 23:22:48roundup-botsetmessages: + msg76367
2022-04-25 23:22:43roundup-botsetmessages: + msg76366
2022-04-25 23:22:40roundup-botsetmessages: + msg76365
nosy: + roundup-bot
status: testing -> resolved
2022-04-16 21:36:59reviewbotsetmessages: + msg76033
nosy: + reviewbot
2022-04-16 21:27:50cedsetassignedto: ced
component: + tryton, sao
keyword: + review
nosy: + ced
reviews: 407281002
status: unread -> testing
2021-12-07 15:46:28albertcacreate

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