mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[FIX] Display the hierarchy with the parent MO included + New screenshots
This commit is contained in:
@@ -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 |
Reference in New Issue
Block a user