Tryton - Issues



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

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

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.
Date User Action Args
2019-07-12 16:06:47cedcreate

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