Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2)

Unified Diff: tryton/wizard/main.py

Issue 1746052: Set context as last param of RPC call for new protocol syntax (Closed)
Patch Set: Add missing context in ir.lang calls Created 14 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tryton/gui/window/view_tree/view_tree.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tryton/wizard/main.py
===================================================================
--- a/tryton/wizard/main.py
+++ b/tryton/wizard/main.py
@@ -167,7 +167,7 @@
from tryton.action import Action
if not 'form' in datas:
datas['form'] = {}
- args = ('wizard', action, 'create')
+ args = ('wizard', action, 'create', rpc.CONTEXT)
try:
wiz_id = rpc.execute(*args)
except Exception, exception:
@@ -246,7 +246,7 @@
dia.destroy()
dia = None
try:
- rpc.execute('wizard', action, 'delete', wiz_id)
+ rpc.execute('wizard', action, 'delete', wiz_id, rpc.CONTEXT)
#XXX to remove when company displayed in status bar
rpc.context_reload()
except Exception:
« no previous file with comments | « tryton/gui/window/view_tree/view_tree.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b