speedup: indexes, caching

This commit is contained in:
Frederik Jaeckel 2023-02-26 22:49:21 +01:00
parent 86e6c33cc1
commit 624a5bff55
11 changed files with 352 additions and 32 deletions

View file

@ -17,7 +17,7 @@ class Type(ModelSQL, ModelView):
company = fields.Many2One(string='Company', model_name='company.company',
required=True, ondelete="RESTRICT")
feature = fields.Selection(string='Feature', required=True,
selection='get_sel_feature',
selection='get_sel_feature', select=True,
help='Select feature set of the Cashbook.')
@classmethod