changeset c9399513bdeb in tryton:5.0
details: https://hg.tryton.org/tryton?cmd=changeset&node=c9399513bdeb
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 bed92134f0bb -r c9399513bdeb tryton/common/popup_menu.py
--- a/tryton/common/popup_menu.py       Thu Sep 16 23:42:49 2021 +0200
+++ b/tryton/common/popup_menu.py       Fri Oct 08 19:10:46 2021 +0200
@@ -65,7 +65,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):

Reply via email to