[tryton-debian-vcs] tryton-modules-account-dunning branch upstream-4.0 updated. upstream/4.0.1-1-ga7605f3

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Mon Dec 19 18:41:29 UTC 2016


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

commit a7605f3559f7aba8d69387e5675c8d00b4304b32
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon Dec 19 11:54:27 2016 +0100

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

diff --git a/CHANGELOG b/CHANGELOG
index dc727fa..0065f3f 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.0.2 - 2016-12-17
+* 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 cfe35ae..b29b209 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_account_dunning
-Version: 4.0.1
+Version: 4.0.2
 Summary: Tryton module for account dunning
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/account.py b/account.py
index 0b7bbea..0e73d0e 100644
--- a/account.py
+++ b/account.py
@@ -61,3 +61,12 @@ class MoveLine:
     def dunning_procedure(self):
         if self.party:
             return self.party.dunning_procedure
+
+    @classmethod
+    def copy(cls, lines, default=None):
+        if default is None:
+            default = {}
+        else:
+            default = default.copy()
+        default.setdefault('dunnings')
+        return super(MoveLine, cls).copy(lines, default=default)
diff --git a/tryton.cfg b/tryton.cfg
index 540d33f..21fbac5 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_dunning.egg-info/PKG-INFO b/trytond_account_dunning.egg-info/PKG-INFO
index d98df70..624ed77 100644
--- a/trytond_account_dunning.egg-info/PKG-INFO
+++ b/trytond_account_dunning.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-account-dunning
-Version: 4.0.1
+Version: 4.0.2
 Summary: Tryton module for account dunning
 Home-page: http://www.tryton.org/
 Author: Tryton
-- 
tryton-modules-account-dunning



More information about the tryton-debian-vcs mailing list