Fix wrong instantiation of Attachment
Introduced with changeset 60c08c72a159 issue3481 review1621003
This commit is contained in:
1 parent
523d3383d9
commit
7caed0c4a9
1 file changed
+1
-1
@@ -52,7 +52,7 @@ def populate(menu, model, record, title=''):
|
||||
Action._exec_action(action, data, {})
|
||||
|
||||
def attachment(menuitem):
|
||||
Attachment(model, load(record).id, None)
|
||||
Attachment(record, None)
|
||||
|
||||
if title:
|
||||
if len(menu):
|
||||
|
||||
Reference in new issue
Block a user