Tryton 6.8: indexes + tests changed

This commit is contained in:
Frederik Jaeckel 2023-06-05 21:28:09 +02:00
parent 4ae07b962f
commit e0e1fd07a7
8 changed files with 14 additions and 32 deletions

View file

@ -17,7 +17,7 @@ class Category(tree(separator=' / '), ModelSQL, ModelView):
name = fields.Char(string='Name', required=True, translate=True)
parent = fields.Many2One(
string='Parent', select=True,
string='Parent',
model_name='cashbook.bookcategory', ondelete='CASCADE')
childs = fields.One2Many(
string='Children', field='parent',