changeset fd08030f52a1 in tryton:5.8
details: https://hg.tryton.org/tryton?cmd=changeset&node=fd08030f52a1
description:
Use field context to edit record
issue10806
review364101002
(grafted from 2f3df8d1ed05086b85c2f4218693ee58d44766e5)
diffstat:
tryton/common/popup_menu.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r b45884060d06 -r fd08030f52a1 tryton/common/popup_menu.py
--- a/tryton/common/popup_menu.py Sat Oct 02 00:22:54 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):