Tryton 6.8: indexes + tests changed
This commit is contained in:
parent
4ae07b962f
commit
e0e1fd07a7
8 changed files with 14 additions and 32 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue