[tryton-debian-vcs] tryton-modules-account-asset branch debian updated. debian/3.6.1-1-5-gd1e1789
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Mon Sep 21 12:25:08 UTC 2015
The following commit has been merged in the debian branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-account-asset.git;a=commitdiff;h=debian/3.6.1-1-5-gd1e1789
commit d1e1789fc1c97eb4728a864b6e47a2809ce0f09d
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Sun Sep 20 20:33:33 2015 +0200
Releasing debian version 3.6.2-1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/debian/changelog b/debian/changelog
index 05c0cf3..e5d2f7c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+tryton-modules-account-asset (3.6.2-1) unstable; urgency=medium
+
+ * Enabling tests on sqlite memory database.
+ * Revert "Enabling tests on sqlite memory database."
+ * Improving description why we can not run the module test suites.
+ * Merging upstream version 3.6.2.
+
+ -- Mathias Behrle <mathiasb at m9s.biz> Sun, 20 Sep 2015 20:33:33 +0200
+
tryton-modules-account-asset (3.6.1-1) unstable; urgency=medium
* Updating year of debian copyright.
commit 00dcedc0fcce72b2aca2d9002314749cbab2f062
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Sun Sep 20 20:33:32 2015 +0200
Merging upstream version 3.6.2.
diff --git a/CHANGELOG b/CHANGELOG
index 14231ba..154a4af 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.6.2 - 2015-09-19
+* Bug fixes (see mercurial logs for details)
+
Version 3.6.1 - 2015-07-13
* Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index 3907e0b..21e743f 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_account_asset
-Version: 3.6.1
+Version: 3.6.2
Summary: Tryton module for assets management
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/asset.py b/asset.py
index a7a96b0..bcb38b8 100644
--- a/asset.py
+++ b/asset.py
@@ -851,30 +851,27 @@ class AssetDepreciationTable(CompanyReport):
def __init__(self, key, depreciations):
self.product = key
self.depreciations = depreciations
- for attr_name in self.grouped_attributes():
- setattr(self, attr_name,
- cached_property(self.adder(attr_name)))
-
- def adder(self, attr_name):
- def _sum(self):
- return sum(getattr(d, attr_name)
- for d in self.depreciations if getattr(d, attr_name))
- return _sum
-
- @staticmethod
- def grouped_attributes():
- return {
- 'start_fixed_value',
- 'value_increase',
- 'value_decrease',
- 'end_fixed_value',
- 'start_value',
- 'amortization_increase',
- 'amortization_decrease',
- 'end_value',
- 'actual_value',
- 'closing_value',
- }
+
+ def adder(attr_name):
+ def _sum(self):
+ return sum(getattr(d, attr_name)
+ for d in self.depreciations if getattr(d, attr_name))
+ return _sum
+
+ grouped_attributes = {
+ 'start_fixed_value',
+ 'value_increase',
+ 'value_decrease',
+ 'end_fixed_value',
+ 'start_value',
+ 'amortization_increase',
+ 'amortization_decrease',
+ 'end_value',
+ 'actual_value',
+ 'closing_value',
+ }
+ for attr_name in grouped_attributes:
+ setattr(Grouper, attr_name, cached_property(adder(attr_name)))
return Grouper
diff --git a/asset_table.odt b/asset_table.odt
index 2ae979e..0d8139c 100644
Binary files a/asset_table.odt and b/asset_table.odt differ
diff --git a/tryton.cfg b/tryton.cfg
index 2b2f577..d3d73db 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=3.6.1
+version=3.6.2
depends:
ir
res
diff --git a/trytond_account_asset.egg-info/PKG-INFO b/trytond_account_asset.egg-info/PKG-INFO
index fe5821a..2e9c1cb 100644
--- a/trytond_account_asset.egg-info/PKG-INFO
+++ b/trytond_account_asset.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-account-asset
-Version: 3.6.1
+Version: 3.6.2
Summary: Tryton module for assets management
Home-page: http://www.tryton.org/
Author: Tryton
--
tryton-modules-account-asset
More information about the tryton-debian-vcs
mailing list