Tryton - Issues

 

Issue8490

Title Allow to instantiate singleton without id
Priority feature Status unread
Superseder Nosy List ced
Type feature request Components trytond
Assigned To Keywords easy
Reviews

Created on 2019-07-12.16:06:47 by ced, last changed by ced.

Messages
msg50634 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2019-07-12.16:06:46
By convention we instantiate singleton with the id 1 but we could just set it as default value on ModelSingleton.__init__ so we do not have to hard code everywhere 1.
History
Date User Action Args
2019-07-12 16:06:47cedcreate

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