Tryton - Issues

 

Issue2041

Title Wrong selection of default view between inherit and priority
Priority bug Status resolved
Superseder Nosy List ced, roundup-bot
Type behavior Components trytond
Assigned To ced Keywords review
Reviews 21461002
View: 21461002

Created on 2011-06-01.12:13:45 by ced, last changed by roundup-bot.

Messages
msg22785 (view) Author: [hidden] (roundup-bot) Date: 2015-10-15.10:44:43
New changeset 95349f15b88b by C?dric Krier in branch 'default':
Fix order when searching view in ModelView
http://hg.tryton.org/trytond/rev/95349f15b88b
msg22743 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2015-10-12.01:48:27
Here is review21461002
msg10697 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2012-04-28.22:27:28
Indeed we should replace priority by just a Boolean "default".
The "default" could be checked only once per model and view_type.
msg8217 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2011-06-01.12:13:45
inherit must be considered differently if it refers to a view of the same model or to an other model.
The query at [1] must do a left join to the inherit view to test the inherited model.

[1] http://hg.tryton.org/trytond/file/36a40b6583a6/trytond/model/modelview.py#l135
History
Date User Action Args
2015-10-15 10:44:43roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg22785
2015-10-12 01:50:09reviewbotsetreviews: 21461002
keyword: + review
2015-10-12 01:48:27cedsetstatus: in-progress -> testing
messages: + msg22743
2015-10-12 01:28:59cedsetstatus: chatting -> in-progress
assignedto: ced
component: + trytond
2012-04-28 22:27:28cedsetstatus: unread -> chatting
messages: + msg10697
2011-06-01 12:13:45cedcreate

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