Issue 1639

Title
Hide New/Delete and Record Navigation controls for Singleton Models
Priority
feature
Status
resolved
Superseder
Disable next/previous of tab according to the record position (issue 11302)
Project-Id-Version: Roundup 0.7.0 Report-Msgid-Bugs-To: roundup-devel@lists.sourceforge.net POT-Creation-Date: 2021-07-12 22:10-0400 PO-Revision-Date: 2004-11-20 13:47+0200 Language-Team: English Language: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii
Singleton creation behavior (issue 1505)
Nosy list
ced, pheller, reviewbot, roundup-bot
Assigned to
ced
Keywords
review

Created on 2010-08-02.01:39:41 by pheller, last changed 3 months ago by roundup-bot.

Messages

New changeset 103d80d59f46 by Cédric Krier in branch 'default':
Do not create sale configuration singleton in test scenario
https://hg.tryton.org/tryton-env/rev/103d80d59f46
New changeset 91f39dd75ca9 by Cédric Krier in branch 'default':
Do not create sale configuration singleton in test scenario
https://hg.tryton.org/modules/sale_price_list/rev/91f39dd75ca9
New changeset 2fa9d5176e55 by Cédric Krier in branch 'default':
Prevent to create and delete singleton
https://hg.tryton.org/tryton-env/rev/2fa9d5176e55
New changeset 66c57ea029d2 by Cédric Krier in branch 'default':
Prevent to create and delete singleton
https://hg.tryton.org/trytond/rev/66c57ea029d2
New changeset 1514995d057f by Cédric Krier in branch 'default':
Prevent to create and delete singleton
https://hg.tryton.org/modules/stock/rev/1514995d057f
New changeset 51896517b3ec by Cédric Krier in branch 'default':
Prevent to create and delete singleton
https://hg.tryton.org/modules/sale/rev/51896517b3ec
New changeset a280410dab23 by Cédric Krier in branch 'default':
Prevent to create and delete singleton
https://hg.tryton.org/modules/purchase/rev/a280410dab23
New changeset 3eb0dd21d366 by Cédric Krier in branch 'default':
Prevent to create and delete singleton
https://hg.tryton.org/modules/production/rev/3eb0dd21d366
New changeset bd41762ec359 by Cédric Krier in branch 'default':
Prevent to create and delete singleton
https://hg.tryton.org/modules/product/rev/bd41762ec359
New changeset 32fb4e0031ae by Cédric Krier in branch 'default':
Prevent to create and delete singleton
https://hg.tryton.org/modules/party/rev/32fb4e0031ae
New changeset aeba37dd45be by Cédric Krier in branch 'default':
Prevent to create and delete singleton
https://hg.tryton.org/modules/account/rev/aeba37dd45be
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2022-03-09.12:19:03

Indeed issue1505 is not enough as the create/delete buttons are still available (and also the next previous).

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2018-04-17.15:48:53
Instead of having special support in the client for Singleton, issue1505 will provide a better solution.
Author: [hidden] (pheller)
Date: 2010-08-02.01:39:41
Now that ModelSingleton is available, it makes sense to hide record creation, deletion, and navigation controls for these models in the view.

Example:

LdapConnection and LdapAuthentication are singletons, and will always have only one record; therefore the client should simply hide the controls that are not applicable to this and other Models.
History
Date User Action Args
2022-04-08 12:32:17roundup-botsetmessages: + msg75211
2022-04-08 12:32:04roundup-botsetmessages: + msg75210
2022-03-26 13:04:40roundup-botsetmessages: + msg74809
2022-03-26 13:04:36roundup-botsetmessages: + msg74808
2022-03-26 13:04:32roundup-botsetmessages: + msg74807
2022-03-26 13:04:29roundup-botsetmessages: + msg74806
2022-03-26 13:04:24roundup-botsetmessages: + msg74805
2022-03-26 13:04:13roundup-botsetmessages: + msg74804
2022-03-26 13:04:10roundup-botsetmessages: + msg74803
2022-03-26 13:04:06roundup-botsetmessages: + msg74802

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