diff --git a/tryton/common/popup_menu.py b/tryton/common/popup_menu.py index ac69109a24..4b4e743c1c 100644 --- a/tryton/common/popup_menu.py +++ b/tryton/common/popup_menu.py @@ -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):