[tryton-debian-vcs] tryton-modules-account-product branch upstream updated. upstream/4.0.1-1-gb024550

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Sun Sep 4 16:56:03 UTC 2016


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

commit b0245501313fe762253a4bfb7b9ff8efbc0c317c
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sat Sep 3 21:10:56 2016 +0200

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

diff --git a/CHANGELOG b/CHANGELOG
index 9cc48d4..96dab74 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.0.2 - 2016-09-03
+* 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 0f8265d..f538b6b 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_account_product
-Version: 4.0.1
+Version: 4.0.2
 Summary: Tryton module to add accounting on product
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/product.py b/product.py
index 9d77c9d..576c54c 100644
--- a/product.py
+++ b/product.py
@@ -311,7 +311,8 @@ class Template:
         category_exists = table.column_exist('category')
 
         # Migration from 3.8: rename account_category into accounts_category
-        if table.column_exist('account_category'):
+        if (table.column_exist('account_category')
+                and not table.column_exist('accounts_category')):
             table.column_rename('account_category', 'accounts_category')
 
         super(Template, cls).__register__(module_name)
diff --git a/tryton.cfg b/tryton.cfg
index 06b8e41..789c352 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.0.1
+version=4.0.2
 depends:
     account
     company
diff --git a/trytond_account_product.egg-info/PKG-INFO b/trytond_account_product.egg-info/PKG-INFO
index d571dd6..a4f1423 100644
--- a/trytond_account_product.egg-info/PKG-INFO
+++ b/trytond_account_product.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-account-product
-Version: 4.0.1
+Version: 4.0.2
 Summary: Tryton module to add accounting on product
 Home-page: http://www.tryton.org/
 Author: Tryton
-- 
tryton-modules-account-product



More information about the tryton-debian-vcs mailing list