[tryton-debian-vcs] tryton-modules-product-classification branch debian updated. upstream/4.0.0-5-gddd139c

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Mon Oct 3 14:14:28 UTC 2016


The following commit has been merged in the debian branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-product-classification.git;a=commitdiff;h=upstream/4.0.0-5-gddd139c

commit ddd139cf0041c43d125e2a7d8f6592111d2f19ad
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon Oct 3 12:45:17 2016 +0200

    Releasing debian version 4.0.2-1.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/debian/changelog b/debian/changelog
index 2244acf..b27befe 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+tryton-modules-product-classification (4.0.2-1) unstable; urgency=medium
+
+  * Updating to Standards-Version: 3.9.8, no changes needed.
+  * Merging upstream version 4.0.2.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Mon, 03 Oct 2016 12:45:17 +0200
+
 tryton-modules-product-classification (4.0.1-1) unstable; urgency=medium
 
   * Initial release (Closes: #822904).
commit 9a7ac762bb3dfc8bdcc418ecdfd201665dd2f6f1
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon Oct 3 12:45:17 2016 +0200

    Merging upstream version 4.0.2.

diff --git a/CHANGELOG b/CHANGELOG
index af12f3a..99a1b44 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.0.2 - 2016-10-02
+* Bug fixes (see mercurial logs for details)
+
 Version 4.0.1 - 2016-05-11
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index 16daa77..52b0fe1 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_product_classification
-Version: 4.0.1
+Version: 4.0.2
 Summary: Tryton module to implement product classification
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/product.py b/product.py
index 03c4af4..b27b813 100644
--- a/product.py
+++ b/product.py
@@ -3,6 +3,7 @@
 from trytond.model import ModelStorage, ModelView, fields
 from trytond.pool import PoolMeta, Pool
 from trytond.pyson import Eval
+from trytond.rpc import RPC
 
 __all__ = ['ClassificationMixin', 'classification_tree',
     'Template', 'Product', 'ClassificationDummy', 'ClassificationTreeDummy']
@@ -78,6 +79,11 @@ class Product:
     __name__ = 'product.product'
 
     @classmethod
+    def __setup__(cls):
+        super(Product, cls).__setup__()
+        cls.__rpc__['get_classification'] = RPC()
+
+    @classmethod
     def get_classification(cls):
         pool = Pool()
         Template = pool.get('product.template')
diff --git a/tryton.cfg b/tryton.cfg
index de8c13d..82ab8a5 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.0.1
+version=4.0.2
 depends:
     ir
     product
diff --git a/trytond_product_classification.egg-info/PKG-INFO b/trytond_product_classification.egg-info/PKG-INFO
index 01aecaf..c5d68c0 100644
--- a/trytond_product_classification.egg-info/PKG-INFO
+++ b/trytond_product_classification.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-product-classification
-Version: 4.0.1
+Version: 4.0.2
 Summary: Tryton module to implement product classification
 Home-page: http://www.tryton.org/
 Author: Tryton
-- 
tryton-modules-product-classification



More information about the tryton-debian-vcs mailing list