[FIX] Display the hierarchy with the parent MO included + New screenshots

This commit is contained in:
sebalix
2018-05-18 16:54:04 +02:00
parent 08ed13bf98
commit 37031850a5
3 changed files with 1 additions and 1 deletions

View File

@@ -33,7 +33,7 @@ class MrpProduction(models.Model):
self.ensure_one()
if self.child_ids:
return {
'domain': "[('parent_id', '=', %s)]" % self.id,
'domain': "[('id', '=', %s)]" % self.id,
'name': _(u"Hierarchy"),
'view_type': 'tree',
'view_mode': 'tree',

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 36 KiB