Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package trytond_purchase for 
openSUSE:Factory checked in at 2021-12-07 00:00:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond_purchase (Old)
 and      /work/SRC/openSUSE:Factory/.trytond_purchase.new.31177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trytond_purchase"

Tue Dec  7 00:00:24 2021 rev:19 rq:936095 version:5.0.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/trytond_purchase/trytond_purchase.changes        
2021-06-19 23:05:15.375876384 +0200
+++ 
/work/SRC/openSUSE:Factory/.trytond_purchase.new.31177/trytond_purchase.changes 
    2021-12-07 00:02:09.599974970 +0100
@@ -1,0 +2,5 @@
+Mon Dec  6 17:49:09 UTC 2021 - Axel Braun <[email protected]>
+
+- Version 5.0.9 - Bugfix Release
+
+-------------------------------------------------------------------

Old:
----
  trytond_purchase-5.0.7.tar.gz
  trytond_purchase-5.0.7.tar.gz.asc

New:
----
  trytond_purchase-5.0.9.tar.gz
  trytond_purchase-5.0.9.tar.gz.asc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ trytond_purchase.spec ++++++
--- /var/tmp/diff_new_pack.BTzO0u/_old  2021-12-07 00:02:10.255972650 +0100
+++ /var/tmp/diff_new_pack.BTzO0u/_new  2021-12-07 00:02:10.255972650 +0100
@@ -17,7 +17,7 @@
 
 %define majorver 5.0
 Name:           trytond_purchase
-Version:        %{majorver}.7
+Version:        %{majorver}.9
 Release:        0
 Summary:        The "purchase" module for the Tryton ERP system
 License:        GPL-3.0

++++++ trytond_purchase-5.0.7.tar.gz -> trytond_purchase-5.0.9.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-5.0.7/.hgtags 
new/trytond_purchase-5.0.9/.hgtags
--- old/trytond_purchase-5.0.7/.hgtags  2021-06-17 22:02:38.000000000 +0200
+++ new/trytond_purchase-5.0.9/.hgtags  2021-11-05 00:12:31.000000000 +0100
@@ -26,3 +26,5 @@
 617551e63a8a1a1de20bd2a0eb43c639cf049e07 5.0.5
 83825097bd40260a9dded902b38ba68f2cd36766 5.0.6
 74c04aa1f1d79ef9d7bf47ce1a895e2ae1239eb9 5.0.7
+435c0030de5d8867fca063db7f6b87385522e061 5.0.8
+01bd51290422ba3467cb9bab102f59a612215e96 5.0.9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-5.0.7/CHANGELOG 
new/trytond_purchase-5.0.9/CHANGELOG
--- old/trytond_purchase-5.0.7/CHANGELOG        2021-06-17 22:02:37.000000000 
+0200
+++ new/trytond_purchase-5.0.9/CHANGELOG        2021-11-05 00:12:30.000000000 
+0100
@@ -1,3 +1,9 @@
+Version 5.0.9 - 2021-11-04
+* Bug fixes (see mercurial logs for details)
+
+Version 5.0.8 - 2021-08-05
+* Bug fixes (see mercurial logs for details)
+
 Version 5.0.7 - 2021-06-17
 * Bug fixes (see mercurial logs for details)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-5.0.7/PKG-INFO 
new/trytond_purchase-5.0.9/PKG-INFO
--- old/trytond_purchase-5.0.7/PKG-INFO 2021-06-17 22:02:40.088807800 +0200
+++ new/trytond_purchase-5.0.9/PKG-INFO 2021-11-05 00:12:32.813544500 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: trytond_purchase
-Version: 5.0.7
+Version: 5.0.9
 Summary: Tryton module for purchase
 Home-page: http://www.tryton.org/
 Author: Tryton
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-5.0.7/purchase.py 
new/trytond_purchase-5.0.9/purchase.py
--- old/trytond_purchase-5.0.7/purchase.py      2021-06-03 23:41:00.000000000 
+0200
+++ new/trytond_purchase-5.0.9/purchase.py      2021-11-04 10:12:51.000000000 
+0100
@@ -1296,7 +1296,8 @@
 
     def get_from_location(self, name):
         if (self.quantity or 0) >= 0:
-            return self.purchase.party.supplier_location.id
+            if self.purchase.party.supplier_location:
+                return self.purchase.party.supplier_location.id
         elif self.purchase.return_from_location:
             return self.purchase.return_from_location.id
 
@@ -1304,7 +1305,7 @@
         if (self.quantity or 0) >= 0:
             if self.purchase.warehouse:
                 return self.purchase.warehouse.input_location.id
-        else:
+        elif self.purchase.party.supplier_location:
             return self.purchase.party.supplier_location.id
 
     @fields.depends('product_supplier', 'quantity', 'moves', 'purchase',
@@ -1351,6 +1352,8 @@
 
         invoice_line = InvoiceLine()
         invoice_line.type = self.type
+        invoice_line.currency = self.purchase.currency
+        invoice_line.company = self.purchase.company
         invoice_line.description = self.description
         invoice_line.note = self.note
         invoice_line.origin = self
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-5.0.7/tryton.cfg 
new/trytond_purchase-5.0.9/tryton.cfg
--- old/trytond_purchase-5.0.7/tryton.cfg       2021-03-03 18:29:14.000000000 
+0100
+++ new/trytond_purchase-5.0.9/tryton.cfg       2021-08-05 23:49:55.000000000 
+0200
@@ -1,5 +1,5 @@
 [tryton]
-version=5.0.7
+version=5.0.9
 depends:
     account
     account_invoice
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond_purchase-5.0.7/trytond_purchase.egg-info/PKG-INFO 
new/trytond_purchase-5.0.9/trytond_purchase.egg-info/PKG-INFO
--- old/trytond_purchase-5.0.7/trytond_purchase.egg-info/PKG-INFO       
2021-06-17 22:02:39.000000000 +0200
+++ new/trytond_purchase-5.0.9/trytond_purchase.egg-info/PKG-INFO       
2021-11-05 00:12:32.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: trytond-purchase
-Version: 5.0.7
+Version: 5.0.9
 Summary: Tryton module for purchase
 Home-page: http://www.tryton.org/
 Author: Tryton

Reply via email to