From 5c85442e930784a28e80ed002fa2df69c6c2e8df Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Wed, 19 Mar 2014 23:30:07 +0100 Subject: [PATCH] Add reload menu and reload context to client actions issue3740 review4231002 --- doc/topics/views/index.rst | 2 ++ trytond/ir/module/module.py | 3 +++ 2 files changed, 5 insertions(+) diff --git a/doc/topics/views/index.rst b/doc/topics/views/index.rst index d4556099ba..04203c53f5 100644 --- a/doc/topics/views/index.rst +++ b/doc/topics/views/index.rst @@ -324,6 +324,8 @@ Display a button. * ``previous``: to go to the previous record * ``close``: to close the current tab * ``switch ``: to switch the view to the defined type + * ``reload context``: to reload user context + * ``reload menu``: to reload menu * ``icon`` diff --git a/trytond/ir/module/module.py b/trytond/ir/module/module.py index b8255f2d48..605a614b1d 100644 --- a/trytond/ir/module/module.py +++ b/trytond/ir/module/module.py @@ -452,6 +452,9 @@ class ModuleConfigWizard(Wizard): return 'other' return 'done' + def end(self): + return 'reload menu' + class ModuleInstallUpgradeStart(ModelView): 'Module Install Upgrade Start'