[tryton-debian-vcs] tryton-modules-product-cost-history branch debian-stretch-4.2 updated. debian/4.2.0-1-7-g5153e99

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Tue Sep 5 13:22:24 UTC 2017


The following commit has been merged in the debian-stretch-4.2 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-product-cost-history.git;a=commitdiff;h=debian/4.2.0-1-7-g5153e99

commit 5153e999708353a22205eee6e67b36c70bc34fce
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Sep 5 14:04:36 2017 +0200

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

diff --git a/debian/changelog b/debian/changelog
index b862e6d..3785d50 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+tryton-modules-product-cost-history (4.2.1-1) unstable; urgency=medium
+
+  * Add the actual upstream maintainer key to signing-key.asc.
+  * Setting the branch in the watch file to the fixed version 4.2.
+  * Use the preferred https URL format in the copyright file.
+  * Bump the Standards-Version to 4.0.1.
+  * Merging upstream version 4.2.1.
+  * Updating copyright file.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Tue, 05 Sep 2017 14:04:36 +0200
+
 tryton-modules-product-cost-history (4.2.0-1) unstable; urgency=medium
 
   * Updating to Standards-Version: 3.9.8, no changes needed.
commit ed12dbe68af9341cd03cb0f3a2f8abb36e9d311a
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Sep 5 14:04:35 2017 +0200

    Updating copyright file.

diff --git a/debian/copyright b/debian/copyright
index 0fb75a2..31a20bc 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,9 +1,9 @@
 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 
 Files: *
-Copyright: 2009-2016 Cédric Krier
+Copyright: 2009-2017 Cédric Krier
            2009-2012 Bertrand Chenal
-           2009-2016 B2CK SPRL
+           2009-2017 B2CK SPRL
 License: GPL-3+
 
 Files: debian/*
commit 689c873d50ada71bef10837965e7fa60b16d9c91
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Sep 5 14:04:35 2017 +0200

    Merging upstream version 4.2.1.

diff --git a/CHANGELOG b/CHANGELOG
index 7077389..5b1a172 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.2.1 - 2017-09-04
+* Bug fixes (see mercurial logs for details)
+
 Version 4.2.0 - 2016-11-28
 * Bug fixes (see mercurial logs for details)
 
diff --git a/COPYRIGHT b/COPYRIGHT
index 6f27a5e..fe4df05 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,6 +1,6 @@
-Copyright (C) 2009-2016 Cédric Krier.
+Copyright (C) 2009-2017 Cédric Krier.
 Copyright (C) 2009-2012 Bertrand Chenal.
-Copyright (C) 2009-2016 B2CK SPRL.
+Copyright (C) 2009-2017 B2CK SPRL.
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
diff --git a/PKG-INFO b/PKG-INFO
index 6efd6a3..acbf5e6 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_product_cost_history
-Version: 4.2.0
+Version: 4.2.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 6c811aa..907efa1 100644
--- a/product.py
+++ b/product.py
@@ -17,7 +17,6 @@ __all__ = ['ProductCostHistory', 'OpenProductCostHistory']
 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')
@@ -54,6 +53,9 @@ class ProductCostHistory(ModelSQL, ModelView):
                         property_history.create_date),
                     property_history.res, property_history.value))
 
+    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 0626ea1..297b457 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.2.0
+version=4.2.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 42cddbe..f2c718c 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.2.0
+Version: 4.2.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