[tryton-debian-vcs] tryton-modules-sale branch debian-stretch-4.0 updated. debian/4.0.3-1-5-ge841d38

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Sun Jun 11 22:37:39 UTC 2017


The following commit has been merged in the debian-stretch-4.0 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-sale.git;a=commitdiff;h=debian/4.0.3-1-5-ge841d38

commit e841d38e2abbaa077d5cc9bee3f6b4f25184b1ff
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sun Jun 11 22:43:08 2017 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 211b265..c1f166d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+tryton-modules-sale (4.0.4-1) unstable; urgency=medium
+
+  * Setting the branch in the watch file to the fixed version 4.0.
+  * Add the actual upstream maintainer key to signing-key.asc.
+  * Merging upstream version 4.0.4.
+  * Updating copyright file.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Sun, 11 Jun 2017 22:43:08 +0200
+
 tryton-modules-sale (4.0.3-1) unstable; urgency=medium
 
   * Merging upstream version 4.0.3.
commit 348043fcd07bfb021387804864c0913d5e3aba29
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sun Jun 11 22:43:07 2017 +0200

    Updating copyright file.

diff --git a/debian/copyright b/debian/copyright
index 7f27de8..bcee35d 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,9 +1,9 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 
 Files: *
-Copyright: 2008-2016 Cédric Krier
+Copyright: 2008-2017 Cédric Krier
            2008-2013 Bertrand Chenal
-           2008-2016 B2CK SPRL
+           2008-2017 B2CK SPRL
            2004-2008 Tiny SPRL
 License: GPL-3+
 
commit bd94b9df8aa5c43212aa1bd37a6b4dc2cdd869bf
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sun Jun 11 22:43:07 2017 +0200

    Merging upstream version 4.0.4.

diff --git a/CHANGELOG b/CHANGELOG
index d760ede..b324d00 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.0.4 - 2017-06-06
+* Bug fixes (see mercurial logs for details)
+
 Version 4.0.3 - 2016-09-03
 * Bug fixes (see mercurial logs for details)
 
diff --git a/COPYRIGHT b/COPYRIGHT
index 48f96af..dba4452 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,6 +1,6 @@
-Copyright (C) 2008-2016 Cédric Krier.
+Copyright (C) 2008-2017 Cédric Krier.
 Copyright (C) 2008-2013 Bertrand Chenal.
-Copyright (C) 2008-2016 B2CK SPRL.
+Copyright (C) 2008-2017 B2CK SPRL.
 Copyright (C) 2004-2008 Tiny SPRL.
 
 This program is free software: you can redistribute it and/or modify
diff --git a/PKG-INFO b/PKG-INFO
index 5912235..a566890 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_sale
-Version: 4.0.3
+Version: 4.0.4
 Summary: Tryton module for sale
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/sale.py b/sale.py
index 030cde8..9c35384 100644
--- a/sale.py
+++ b/sale.py
@@ -1265,11 +1265,13 @@ class SaleLine(ModelSQL, ModelView):
             if self.warehouse:
                 return self.warehouse.output_location.id
         else:
-            return self.sale.party.customer_location.id
+            party = self.sale.shipment_party or self.sale.party
+            return party.customer_location.id
 
     def get_to_location(self, name):
         if (self.quantity or 0) >= 0:
-            return self.sale.party.customer_location.id
+            party = self.sale.shipment_party or self.sale.party
+            return party.customer_location.id
         else:
             if self.warehouse:
                 return self.warehouse.input_location.id
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 4a582ec..6fec402 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.0.3
+version=4.0.4
 depends:
     account
     account_invoice
diff --git a/trytond_sale.egg-info/PKG-INFO b/trytond_sale.egg-info/PKG-INFO
index 8412bf2..482c2d9 100644
--- a/trytond_sale.egg-info/PKG-INFO
+++ b/trytond_sale.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-sale
-Version: 4.0.3
+Version: 4.0.4
 Summary: Tryton module for sale
 Home-page: http://www.tryton.org/
 Author: Tryton
-- 
tryton-modules-sale



More information about the tryton-debian-vcs mailing list