[tryton-debian-vcs] tryton-modules-product-cost-history branch upstream updated. upstream/4.4.0-1-g23940aa

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Tue Sep 5 13:22:25 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-modules-product-cost-history.git;a=commitdiff;h=upstream/4.4.0-1-g23940aa

commit 23940aaef978af387ed01f4bb1592eee6df977ed
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Sep 5 14:02:52 2017 +0200

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

diff --git a/CHANGELOG b/CHANGELOG
index baffdba..98adfdc 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.4.1 - 2017-09-04
+* Bug fixes (see mercurial logs for details)
+
 Version 4.4.0 - 2017-05-01
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index a8f4b99..dd6cdb7 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_product_cost_history
-Version: 4.4.0
+Version: 4.4.1
 Summary: Tryton module to historize product cost
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/product.py b/product.py
index 85a318f..076b740 100644
--- a/product.py
+++ b/product.py
@@ -22,7 +22,6 @@ class ProductCostPrice:
 class ProductCostHistory(ModelSQL, ModelView):
     'History of Product Cost'
     __name__ = 'product.product.cost_history'
-    _rec_name = 'date'
     template = fields.Many2One('product.template', 'Product')
     date = fields.DateTime('Date')
     cost_price = fields.Numeric('Cost Price')
@@ -50,6 +49,9 @@ class ProductCostHistory(ModelSQL, ModelView):
                 Coalesce(history.write_date, history.create_date),
                 history.template, history.cost_price))
 
+    def get_rec_name(self, name):
+        return str(self.date)
+
 
 class OpenProductCostHistory(Wizard):
     'Open Product Cost History'
diff --git a/setup.cfg b/setup.cfg
index 861a9f5..8bfd5a1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,4 @@
 [egg_info]
 tag_build = 
 tag_date = 0
-tag_svn_revision = 0
 
diff --git a/tryton.cfg b/tryton.cfg
index 8333695..6707016 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.4.0
+version=4.4.1
 depends:
     ir
     product
diff --git a/trytond_product_cost_history.egg-info/PKG-INFO b/trytond_product_cost_history.egg-info/PKG-INFO
index 6cfc9d6..c1542b7 100644
--- a/trytond_product_cost_history.egg-info/PKG-INFO
+++ b/trytond_product_cost_history.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-product-cost-history
-Version: 4.4.0
+Version: 4.4.1
 Summary: Tryton module to historize product cost
 Home-page: http://www.tryton.org/
 Author: Tryton
-- 
tryton-modules-product-cost-history



More information about the tryton-debian-vcs mailing list