[tryton-debian-vcs] tryton-proteus branch debian-stretch-3.8 updated. debian/3.8.1-2-5-g6e0ec23
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Tue Jul 12 13:07:03 UTC 2016
The following commit has been merged in the debian-stretch-3.8 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-proteus.git;a=commitdiff;h=debian/3.8.1-2-5-g6e0ec23
commit 6e0ec237c167f20bf803c322b385a51b1f835a72
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Mon Jul 11 19:52:43 2016 +0200
Releasing debian version 3.8.2-1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/debian/changelog b/debian/changelog
index a28b738..2434d4f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+tryton-proteus (3.8.2-1) unstable; urgency=medium
+
+ * Updating signing-key.asc with the actual upstream maintainer keys.
+ * Setting the branch in the watch file to the fixed version 3.8.
+ * Merging upstream version 3.8.2.
+ * Updating copyright file.
+
+ -- Mathias Behrle <mathiasb at m9s.biz> Mon, 11 Jul 2016 19:52:43 +0200
+
tryton-proteus (3.8.1-2) unstable; urgency=medium
* Updating to standards version 3.9.7, no changes needed.
commit ec0bd25914af5adec1b0849afbafe68c026514f6
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Mon Jul 11 19:52:43 2016 +0200
Updating copyright file.
diff --git a/debian/copyright b/debian/copyright
index 4093559..9afe66d 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,8 +1,8 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Files: *
-Copyright: 2010-2015 Cédric Krier
- 2010-2015 B2CK SPRL
+Copyright: 2010-2016 Cédric Krier
+ 2010-2016 B2CK SPRL
License: LGPL-3+
Files: debian/*
commit 2288435fe8ef01176d952a81c5139b06ab79011e
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Mon Jul 11 19:52:43 2016 +0200
Merging upstream version 3.8.2.
diff --git a/CHANGELOG b/CHANGELOG
index f00fe39..d1ae480 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.8.2 - 2016-07-04
+* Bug fixes (see mercurial logs for details)
+
Version 3.8.1 - 2016-01-11
* 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 8be1447..00f08f4 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: proteus
-Version: 3.8.1
+Version: 3.8.2
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 8be1447..00f08f4 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.8.1
+Version: 3.8.2
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 b8145a5..05f870c 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.8, < 3.9
-
-[simplejson]
-simplejson
\ No newline at end of file
diff --git a/proteus/__init__.py b/proteus/__init__.py
index dc1906d..1bf7b0e 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.8.1"
+__version__ = "3.8.2"
__all__ = ['Model', 'Wizard', 'Report']
import sys
try:
@@ -1074,7 +1074,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
@@ -1096,7 +1096,6 @@ 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
@@ -1107,6 +1106,9 @@ class Wizard(object):
if proteus_action:
self.actions.append(proteus_action)
+ if 'view' in result:
+ return
+
if self.state == self.end_state:
self._proxy.delete(self.session_id, self._config.context)
if self.models:
diff --git a/proteus/tests/test_wizard.py b/proteus/tests/test_wizard.py
index d2c384f..7edf200 100644
--- a/proteus/tests/test_wizard.py
+++ b/proteus/tests/test_wizard.py
@@ -46,3 +46,8 @@ class TestWizard(ProteusTestCase):
self.assertEqual(len(print_model_graph.actions), 0)
print_model_graph.execute('update')
self.assertEqual(len(print_model_graph.actions), 1)
+
+ def test_configuration_wizard(self):
+ config_wizard = Wizard('ir.module.config_wizard')
+ config_wizard.execute('action')
+ self.assertTrue(config_wizard.actions)
--
tryton-proteus
More information about the tryton-debian-vcs
mailing list