[tryton-debian-vcs] tryton-proteus branch upstream updated. upstream/4.2.0-1-gda6b0b9

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Wed Jun 7 13:37:53 UTC 2017


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

commit da6b0b9a0e8efbe63eb00ba434f9cd15c7f84bb8
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Jun 7 15:27:09 2017 +0200

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

diff --git a/CHANGELOG b/CHANGELOG
index 7679b52..1826ea4 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.4.0 - 2017-05-01
+* Bug fixes (see mercurial logs for details)
+
 Version 4.2.0 - 2016-11-28
 * Bug fixes (see mercurial logs for details)
 * Fill default Report data
diff --git a/COPYRIGHT b/COPYRIGHT
index 29bd825..68d11e5 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,5 +1,5 @@
-Copyright (C) 2010-2016 Cédric Krier.
-Copyright (C) 2010-2016 B2CK SPRL.
+Copyright (C) 2010-2017 Cédric Krier.
+Copyright (C) 2010-2017 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 8278c40..7d91fdb 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,12 +1,12 @@
 Metadata-Version: 1.1
 Name: proteus
-Version: 4.2.0
+Version: 4.4.0
 Summary: Library to access Tryton server as a client
 Home-page: http://www.tryton.org/
 Author: Tryton
 Author-email: issue_tracker at tryton.org
 License: LGPL-3
-Download-URL: http://downloads.tryton.org/4.2/
+Download-URL: http://downloads.tryton.org/4.4/
 Description: proteus
         =======
         
diff --git a/proteus.egg-info/PKG-INFO b/proteus.egg-info/PKG-INFO
index 8278c40..7d91fdb 100644
--- a/proteus.egg-info/PKG-INFO
+++ b/proteus.egg-info/PKG-INFO
@@ -1,12 +1,12 @@
 Metadata-Version: 1.1
 Name: proteus
-Version: 4.2.0
+Version: 4.4.0
 Summary: Library to access Tryton server as a client
 Home-page: http://www.tryton.org/
 Author: Tryton
 Author-email: issue_tracker at tryton.org
 License: LGPL-3
-Download-URL: http://downloads.tryton.org/4.2/
+Download-URL: http://downloads.tryton.org/4.4/
 Description: proteus
         =======
         
diff --git a/proteus.egg-info/requires.txt b/proteus.egg-info/requires.txt
index b1a68ae..6405c2a 100644
--- a/proteus.egg-info/requires.txt
+++ b/proteus.egg-info/requires.txt
@@ -4,4 +4,4 @@ python-dateutil
 cdecimal
 
 [trytond]
-trytond >= 4.2, < 4.3
+trytond >= 4.4, < 4.5
diff --git a/proteus/__init__.py b/proteus/__init__.py
index 125f160..8dd575e 100644
--- a/proteus/__init__.py
+++ b/proteus/__init__.py
@@ -3,7 +3,7 @@
 '''
 A library to access Tryton's models like a client.
 '''
-__version__ = "4.2.0"
+__version__ = "4.4.0"
 __all__ = ['Model', 'Wizard', 'Report']
 import sys
 try:
diff --git a/proteus/config.py b/proteus/config.py
index 7dc4325..4f69e9b 100644
--- a/proteus/config.py
+++ b/proteus/config.py
@@ -153,7 +153,6 @@ class _TrytondMethod(object):
         self._config = config
 
     def __call__(self, *args):
-        from trytond.cache import Cache
         from trytond.transaction import Transaction
         from trytond.rpc import RPC
 
@@ -166,7 +165,6 @@ class _TrytondMethod(object):
 
         with Transaction().start(self._config.database_name,
                 self._config.user, readonly=rpc.readonly) as transaction:
-            Cache.clean(self._config.database_name)
             args, kwargs, transaction.context, transaction.timestamp = \
                 rpc.convert(self._object, *args)
             meth = getattr(self._object, self._name)
@@ -182,7 +180,6 @@ class _TrytondMethod(object):
                         for i in inst]
             if not rpc.readonly:
                 transaction.commit()
-            Cache.resets(self._config.database_name)
         return result
 
 
@@ -214,7 +211,6 @@ class TrytondConfig(Config):
         from trytond.config import config
         config.update_etc(config_file)
         from trytond.pool import Pool
-        from trytond.cache import Cache
         from trytond.transaction import Transaction
         self.database = database
         database_name = None
@@ -232,7 +228,6 @@ class TrytondConfig(Config):
         self.pool.init()
 
         with Transaction().start(self.database_name, 0) as transaction:
-            Cache.clean(database_name)
             User = self.pool.get('res.user')
             transaction.context = self.context
             self.user = User.search([
@@ -240,7 +235,6 @@ class TrytondConfig(Config):
                 ], limit=1)[0].id
             with transaction.set_user(self.user):
                 self._context = User.get_preferences(context_only=True)
-            Cache.resets(database_name)
     __init__.__doc__ = object.__init__.__doc__
 
     def __repr__(self):
-- 
tryton-proteus



More information about the tryton-debian-vcs mailing list