changeset 2f3df8d1ed05 in tryton:default
details: https://hg.tryton.org/tryton?cmd=changeset&node=2f3df8d1ed05
description:
Use field context to edit record
issue10806
review364101002
diffstat:
tryton/common/popup_menu.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r 01c176e7ef01 -r 2f3df8d1ed05 tryton/common/popup_menu.py
--- a/tryton/common/popup_menu.py Sun Sep 26 23:05:02 2021 +0200
+++ b/tryton/common/popup_menu.py Fri Oct 08 19:10:46 2021 +0200
@@ -82,7 +82,8 @@
view_ids=field.attrs.get('view_ids', '').split(','),
res_id=id_(record),
mode=['form'],
- name=field.attrs.get('string'))
+ name=field.attrs.get('string'),
+ context=context)
if title:
if len(menu):