Add basic Buefy support for merging 2 objects

i.e. special grid stuff, plus "merge" view
This commit is contained in:
Lance Edgar 2019-05-06 21:43:59 -05:00
parent 9d6cc86e60
commit b2b4e1bfbc
5 changed files with 83 additions and 5 deletions

View file

@ -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)