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 2022-06-12 17:41:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond_purchase (Old)
and /work/SRC/openSUSE:Factory/.trytond_purchase.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "trytond_purchase"
Sun Jun 12 17:41:26 2022 rev:21 rq:982123 version:6.0.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/trytond_purchase/trytond_purchase.changes
2022-03-07 17:48:51.215086705 +0100
+++
/work/SRC/openSUSE:Factory/.trytond_purchase.new.1548/trytond_purchase.changes
2022-06-12 17:43:15.922495559 +0200
@@ -1,0 +2,5 @@
+Sat Jun 4 08:09:51 UTC 2022 - Axel Braun <[email protected]>
+
+- Version 6.0.7 - Bugfix Release
+
+-------------------------------------------------------------------
Old:
----
trytond_purchase-6.0.6.tar.gz
trytond_purchase-6.0.6.tar.gz.asc
New:
----
trytond_purchase-6.0.7.tar.gz
trytond_purchase-6.0.7.tar.gz.asc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ trytond_purchase.spec ++++++
--- /var/tmp/diff_new_pack.hu0tqf/_old 2022-06-12 17:43:16.398496241 +0200
+++ /var/tmp/diff_new_pack.hu0tqf/_new 2022-06-12 17:43:16.402496247 +0200
@@ -17,7 +17,7 @@
%define majorver 6.0
Name: trytond_purchase
-Version: %{majorver}.6
+Version: %{majorver}.7
Release: 0
Summary: The "purchase" module for the Tryton ERP system
License: GPL-3.0
++++++ trytond_purchase-6.0.6.tar.gz -> trytond_purchase-6.0.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trytond_purchase-6.0.6/.hgtags
new/trytond_purchase-6.0.7/.hgtags
--- old/trytond_purchase-6.0.6/.hgtags 2022-03-01 19:45:05.000000000 +0100
+++ new/trytond_purchase-6.0.7/.hgtags 2022-06-03 19:21:10.000000000 +0200
@@ -30,3 +30,4 @@
86d73697a72fedc55d5fc130c17893faac5d0245 6.0.4
6722bfa5576291e9dcdfa66878027a9799a0b9a2 6.0.5
c517d4067ca5cef9b6eb07e6de4e466eae69b95c 6.0.6
+a0051c17a0717756b5607b9b0bf4947bc590c924 6.0.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trytond_purchase-6.0.6/CHANGELOG
new/trytond_purchase-6.0.7/CHANGELOG
--- old/trytond_purchase-6.0.6/CHANGELOG 2022-03-01 19:45:05.000000000
+0100
+++ new/trytond_purchase-6.0.7/CHANGELOG 2022-06-03 19:21:09.000000000
+0200
@@ -1,3 +1,6 @@
+Version 6.0.7 - 2022-06-03
+* Bug fixes (see mercurial logs for details)
+
Version 6.0.6 - 2022-03-01
* Bug fixes (see mercurial logs for details)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trytond_purchase-6.0.6/PKG-INFO
new/trytond_purchase-6.0.7/PKG-INFO
--- old/trytond_purchase-6.0.6/PKG-INFO 2022-03-01 19:45:07.190805400 +0100
+++ new/trytond_purchase-6.0.7/PKG-INFO 2022-06-03 19:21:14.170777300 +0200
@@ -1,28 +1,16 @@
-Metadata-Version: 1.2
+Metadata-Version: 2.1
Name: trytond_purchase
-Version: 6.0.6
+Version: 6.0.7
Summary: Tryton module for purchase
Home-page: http://www.tryton.org/
+Download-URL: http://downloads.tryton.org/6.0/
Author: Tryton
Author-email: [email protected]
License: GPL-3
-Download-URL: http://downloads.tryton.org/6.0/
Project-URL: Bug Tracker, https://bugs.tryton.org/
Project-URL: Documentation, https://docs.tryton.org/projects/modules-purchase/
Project-URL: Forum, https://www.tryton.org/forum
Project-URL: Source Code, https://hg.tryton.org/modules/purchase
-Description: ###############
- Purchase Module
- ###############
-
- The *Purchase Module* provides everything that is required to create
and
- manage purchases made by the company.
- It adds the idea of a purchase to Tryton, and allows it to be tracked
as it
- moves through various states from draft to done.
- It makes it easy to create supplier shipments for the purchase, and
includes
- the ability to automatically create related supplier invoices.
-
-
Keywords: tryton purchase
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
@@ -63,3 +51,18 @@
Classifier: Topic :: Office/Business
Classifier: Topic :: Office/Business :: Financial :: Accounting
Requires-Python: >=3.6
+License-File: LICENSE
+
+###############
+Purchase Module
+###############
+
+The *Purchase Module* provides everything that is required to create and
+manage purchases made by the company.
+It adds the idea of a purchase to Tryton, and allows it to be tracked as it
+moves through various states from draft to done.
+It makes it easy to create supplier shipments for the purchase, and includes
+the ability to automatically create related supplier invoices.
+
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trytond_purchase-6.0.6/purchase.py
new/trytond_purchase-6.0.7/purchase.py
--- old/trytond_purchase-6.0.6/purchase.py 2022-02-26 11:40:53.000000000
+0100
+++ new/trytond_purchase-6.0.7/purchase.py 2022-06-02 13:37:41.000000000
+0200
@@ -1700,18 +1700,23 @@
return
moved_quantity = 0
for move in self.moves:
- if move.state != 'cancelled':
+ if move.state != 'cancelled' and self.unit:
moved_quantity += Uom.compute_qty(
- move.uom, move.quantity, self.unit)
+ move.uom, move.quantity, self.unit, round=False)
if self.quantity < 0:
moved_quantity *= -1
invoiced_quantity = 0
for invoice_line in self.invoice_lines:
- if (not invoice_line.invoice
- or invoice_line.invoice.state != 'cancelled'):
+ if (
+ (not invoice_line.invoice
+ or invoice_line.invoice.state != 'cancelled')
+ and self.unit and invoice_line.unit):
invoiced_quantity += Uom.compute_qty(
- invoice_line.unit, invoice_line.quantity, self.unit)
+ invoice_line.unit, invoice_line.quantity, self.unit,
+ round=False)
actual_quantity = max(moved_quantity, invoiced_quantity, key=abs)
+ if self.unit:
+ actual_quantity = self.unit.round(actual_quantity)
if self.actual_quantity != actual_quantity:
self.actual_quantity = actual_quantity
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trytond_purchase-6.0.6/tryton.cfg
new/trytond_purchase-6.0.7/tryton.cfg
--- old/trytond_purchase-6.0.6/tryton.cfg 2022-02-16 23:55:11.000000000
+0100
+++ new/trytond_purchase-6.0.7/tryton.cfg 2022-03-01 19:45:16.000000000
+0100
@@ -1,5 +1,5 @@
[tryton]
-version=6.0.6
+version=6.0.7
depends:
account
account_invoice
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/trytond_purchase-6.0.6/trytond_purchase.egg-info/PKG-INFO
new/trytond_purchase-6.0.7/trytond_purchase.egg-info/PKG-INFO
--- old/trytond_purchase-6.0.6/trytond_purchase.egg-info/PKG-INFO
2022-03-01 19:45:06.000000000 +0100
+++ new/trytond_purchase-6.0.7/trytond_purchase.egg-info/PKG-INFO
2022-06-03 19:21:12.000000000 +0200
@@ -1,28 +1,16 @@
-Metadata-Version: 1.2
+Metadata-Version: 2.1
Name: trytond-purchase
-Version: 6.0.6
+Version: 6.0.7
Summary: Tryton module for purchase
Home-page: http://www.tryton.org/
+Download-URL: http://downloads.tryton.org/6.0/
Author: Tryton
Author-email: [email protected]
License: GPL-3
-Download-URL: http://downloads.tryton.org/6.0/
Project-URL: Bug Tracker, https://bugs.tryton.org/
Project-URL: Documentation, https://docs.tryton.org/projects/modules-purchase/
Project-URL: Forum, https://www.tryton.org/forum
Project-URL: Source Code, https://hg.tryton.org/modules/purchase
-Description: ###############
- Purchase Module
- ###############
-
- The *Purchase Module* provides everything that is required to create
and
- manage purchases made by the company.
- It adds the idea of a purchase to Tryton, and allows it to be tracked
as it
- moves through various states from draft to done.
- It makes it easy to create supplier shipments for the purchase, and
includes
- the ability to automatically create related supplier invoices.
-
-
Keywords: tryton purchase
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
@@ -63,3 +51,18 @@
Classifier: Topic :: Office/Business
Classifier: Topic :: Office/Business :: Financial :: Accounting
Requires-Python: >=3.6
+License-File: LICENSE
+
+###############
+Purchase Module
+###############
+
+The *Purchase Module* provides everything that is required to create and
+manage purchases made by the company.
+It adds the idea of a purchase to Tryton, and allows it to be tracked as it
+moves through various states from draft to done.
+It makes it easy to create supplier shipments for the purchase, and includes
+the ability to automatically create related supplier invoices.
+
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/trytond_purchase-6.0.6/trytond_purchase.egg-info/entry_points.txt
new/trytond_purchase-6.0.7/trytond_purchase.egg-info/entry_points.txt
--- old/trytond_purchase-6.0.6/trytond_purchase.egg-info/entry_points.txt
2022-03-01 19:45:06.000000000 +0100
+++ new/trytond_purchase-6.0.7/trytond_purchase.egg-info/entry_points.txt
2022-06-03 19:21:13.000000000 +0200
@@ -1,4 +1,2 @@
-
- [trytond.modules]
- purchase = trytond.modules.purchase
-
\ No newline at end of file
+[trytond.modules]
+purchase = trytond.modules.purchase