[tryton-debian-vcs] tryton-proteus branch upstream-3.4 updated. upstream/3.4.5-1-gac56954

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Tue Jul 12 13:07:04 UTC 2016


The following commit has been merged in the upstream-3.4 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-proteus.git;a=commitdiff;h=upstream/3.4.5-1-gac56954

commit ac569548a5dd55feba06eba95f06c6bbbaa0654f
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon Jul 11 19:50:14 2016 +0200

    Adding upstream version 3.4.6.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/CHANGELOG b/CHANGELOG
index 668c174..6967db1 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.4.6 - 2016-07-04
+* Bug fixes (see mercurial logs for details)
+
 Version 3.4.5 - 2015-11-09
 * Bug fixes (see mercurial logs for details)
 
diff --git a/COPYRIGHT b/COPYRIGHT
index 674c885..29bd825 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,5 +1,5 @@
-Copyright (C) 2010-2015 Cédric Krier.
-Copyright (C) 2010-2015 B2CK SPRL.
+Copyright (C) 2010-2016 Cédric Krier.
+Copyright (C) 2010-2016 B2CK SPRL.
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU Lesser General Public License as published by
diff --git a/PKG-INFO b/PKG-INFO
index 381331e..4520e26 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: proteus
-Version: 3.4.5
+Version: 3.4.6
 Summary: Library to access Tryton server as a client
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/proteus.egg-info/PKG-INFO b/proteus.egg-info/PKG-INFO
index 381331e..4520e26 100644
--- a/proteus.egg-info/PKG-INFO
+++ b/proteus.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: proteus
-Version: 3.4.5
+Version: 3.4.6
 Summary: Library to access Tryton server as a client
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/proteus.egg-info/requires.txt b/proteus.egg-info/requires.txt
index 232d2df..6753367 100644
--- a/proteus.egg-info/requires.txt
+++ b/proteus.egg-info/requires.txt
@@ -3,8 +3,8 @@ python-dateutil
 [cdecimal]
 cdecimal
 
+[simplejson]
+simplejson
+
 [trytond]
 trytond >= 3.4, < 3.5
-
-[simplejson]
-simplejson
\ No newline at end of file
diff --git a/proteus/__init__.py b/proteus/__init__.py
index 8f6ae99..226bc8b 100644
--- a/proteus/__init__.py
+++ b/proteus/__init__.py
@@ -3,7 +3,7 @@
 '''
 A library to access Tryton's models like a client.
 '''
-__version__ = "3.4.5"
+__version__ = "3.4.6"
 __all__ = ['Model', 'Wizard', 'Report']
 import sys
 try:
@@ -966,7 +966,7 @@ class Wizard(object):
                 ctx['active_ids'] = None
                 ctx['active_model'] = None
             if self.action:
-                ctx['action_id'] = self.action.id
+                ctx['action_id'] = self.action['id']
             else:
                 ctx['action_id'] = None
 
@@ -988,13 +988,15 @@ class Wizard(object):
                 self.form._default_set(view['defaults'])
                 self.states = [b['state'] for b in view['buttons']]
                 self.form_state = view['state']
-                return
             else:
                 self.state = self.end_state
 
             if 'actions' in result:
                 pass  # TODO
 
+            if 'view' in result:
+                return
+
         if self.state == self.end_state:
             self._proxy.delete(self.session_id, self._config.context)
 
-- 
tryton-proteus



More information about the tryton-debian-vcs mailing list