Fix wrong instantiation of Attachment

Introduced with changeset 60c08c72a159

issue3481
review1621003
This commit is contained in:
Cédric Krier committed 2013-11-14 18:49:47 +01:00
1 parent 523d3383d9
commit 7caed0c4a9
1 file changed
+1 -1
+1 -1
View File
@@ -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):