Add basic Buefy support for merging 2 objects
i.e. special grid stuff, plus "merge" view
This commit is contained in:
parent
9d6cc86e60
commit
b2b4e1bfbc
5 changed files with 83 additions and 5 deletions
|
@ -1116,6 +1116,11 @@ class Grid(object):
|
|||
value = ""
|
||||
row[name] = six.text_type(value)
|
||||
|
||||
# maybe add UUID for convenience
|
||||
if 'uuid' not in self.columns:
|
||||
if hasattr(rowobj, 'uuid'):
|
||||
row['uuid'] = rowobj.uuid
|
||||
|
||||
# set action URL(s) for row, as needed
|
||||
self.set_action_urls(row, rowobj, i)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue