[tryton-debian-vcs] tryton-modules-account-stock-landed-cost branch upstream-3.8 updated. upstream/3.8.0-1-g422e7f5

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Sun Jul 2 17:54:52 UTC 2017


The following commit has been merged in the upstream-3.8 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-account-stock-landed-cost.git;a=commitdiff;h=upstream/3.8.0-1-g422e7f5

commit 422e7f5f0ee850fb5d009b8654bdbdd737e06278
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sun Jul 2 17:38:58 2017 +0200

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

diff --git a/CHANGELOG b/CHANGELOG
index 11180c5..43a655d 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,2 +1,5 @@
+Version 3.8.1 - 2017-07-01
+* Bug fixes (see mercurial logs for details)
+
 Version 3.8.0 - 2015-11-02
 * Initial release
\ No newline at end of file
diff --git a/COPYRIGHT b/COPYRIGHT
index 7aea85f..f568502 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,5 +1,5 @@
-Copyright (C) 2015 Cédric Krier.
-Copyright (C) 2015 B2CK SPRL.
+Copyright (C) 2015-2017 Cédric Krier.
+Copyright (C) 2015-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 b92f2d5..754ceab 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_account_stock_landed_cost
-Version: 3.8.0
+Version: 3.8.1
 Summary: Tryton module for landed cost
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/account.py b/account.py
index a697c58..808db44 100644
--- a/account.py
+++ b/account.py
@@ -261,3 +261,12 @@ class InvoiceLine:
     def __setup__(cls):
         super(InvoiceLine, cls).__setup__()
         cls._check_modify_exclude.add('landed_cost')
+
+    @classmethod
+    def copy(cls, lines, default=None):
+        if default is None:
+            default = {}
+        else:
+            default = default.copy()
+        default.setdefault('landed_cost', None)
+        return super(InvoiceLine, cls).copy(lines, default=default)
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 43d2793..9aca083 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.8.0
+version=3.8.1
 depends:
     account
     account_invoice
diff --git a/trytond_account_stock_landed_cost.egg-info/PKG-INFO b/trytond_account_stock_landed_cost.egg-info/PKG-INFO
index 8026f49..24d9797 100644
--- a/trytond_account_stock_landed_cost.egg-info/PKG-INFO
+++ b/trytond_account_stock_landed_cost.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-account-stock-landed-cost
-Version: 3.8.0
+Version: 3.8.1
 Summary: Tryton module for landed cost
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/trytond_account_stock_landed_cost.egg-info/requires.txt b/trytond_account_stock_landed_cost.egg-info/requires.txt
index 3bac01d..500ba28 100644
--- a/trytond_account_stock_landed_cost.egg-info/requires.txt
+++ b/trytond_account_stock_landed_cost.egg-info/requires.txt
@@ -2,4 +2,4 @@ trytond_account >= 3.8, < 3.9
 trytond_account_invoice >= 3.8, < 3.9
 trytond_product >= 3.8, < 3.9
 trytond_stock >= 3.8, < 3.9
-trytond >= 3.8, < 3.9
\ No newline at end of file
+trytond >= 3.8, < 3.9
-- 
tryton-modules-account-stock-landed-cost



More information about the tryton-debian-vcs mailing list