Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package trytond_purchase_request for
openSUSE:Factory checked in at 2023-02-14 16:45:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond_purchase_request (Old)
and /work/SRC/openSUSE:Factory/.trytond_purchase_request.new.27156 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "trytond_purchase_request"
Tue Feb 14 16:45:44 2023 rev:14 rq:1065586 version:6.0.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/trytond_purchase_request/trytond_purchase_request.changes
2023-01-24 20:36:12.917588447 +0100
+++
/work/SRC/openSUSE:Factory/.trytond_purchase_request.new.27156/trytond_purchase_request.changes
2023-02-14 16:46:05.690680860 +0100
@@ -1,0 +2,5 @@
+Mon Feb 6 17:35:52 UTC 2023 - Axel Braun <[email protected]>
+
+- Version 6.0.3 - Bugfix Release
+
+-------------------------------------------------------------------
Old:
----
trytond_purchase_request-6.0.2.tar.gz
trytond_purchase_request-6.0.2.tar.gz.asc
New:
----
trytond_purchase_request-6.0.3.tar.gz
trytond_purchase_request-6.0.3.tar.gz.asc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ trytond_purchase_request.spec ++++++
--- /var/tmp/diff_new_pack.gFAssD/_old 2023-02-14 16:46:06.546685915 +0100
+++ /var/tmp/diff_new_pack.gFAssD/_new 2023-02-14 16:46:06.546685915 +0100
@@ -19,7 +19,7 @@
%define majorver 6.0
Name: trytond_purchase_request
-Version: %{majorver}.2
+Version: %{majorver}.3
Release: 0
URL: http://www.tryton.org/
++++++ trytond_purchase_request-6.0.2.tar.gz ->
trytond_purchase_request-6.0.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trytond_purchase_request-6.0.2/CHANGELOG
new/trytond_purchase_request-6.0.3/CHANGELOG
--- old/trytond_purchase_request-6.0.2/CHANGELOG 2023-01-15
18:51:05.000000000 +0100
+++ new/trytond_purchase_request-6.0.3/CHANGELOG 2023-02-05
22:20:05.000000000 +0100
@@ -1,3 +1,7 @@
+Version 6.0.3 - 2023-02-05
+--------------------------
+* Bug fixes (see mercurial logs for details)
+
Version 6.0.2 - 2023-01-15
--------------------------
* Bug fixes (see mercurial logs for details)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trytond_purchase_request-6.0.2/COPYRIGHT
new/trytond_purchase_request-6.0.3/COPYRIGHT
--- old/trytond_purchase_request-6.0.2/COPYRIGHT 2023-01-15
18:51:04.000000000 +0100
+++ new/trytond_purchase_request-6.0.3/COPYRIGHT 2023-02-05
22:20:05.000000000 +0100
@@ -1,8 +1,8 @@
Copyright (C) 2016-2021 Nicolas Ãvrard.
Copyright (C) 2013-2015 NaN-tic.
-Copyright (C) 2008-2022 Cédric Krier.
+Copyright (C) 2008-2023 Cédric Krier.
Copyright (C) 2008-2013 Bertrand Chenal.
-Copyright (C) 2008-2022 B2CK SPRL.
+Copyright (C) 2008-2023 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 -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trytond_purchase_request-6.0.2/PKG-INFO
new/trytond_purchase_request-6.0.3/PKG-INFO
--- old/trytond_purchase_request-6.0.2/PKG-INFO 2023-01-15 18:51:08.469616700
+0100
+++ new/trytond_purchase_request-6.0.3/PKG-INFO 2023-02-05 22:20:09.128503300
+0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: trytond_purchase_request
-Version: 6.0.2
+Version: 6.0.3
Summary: Tryton module for purchase requests
Home-page: http://www.tryton.org/
Download-URL: http://downloads.tryton.org/6.0/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trytond_purchase_request-6.0.2/purchase_request.py
new/trytond_purchase_request-6.0.3/purchase_request.py
--- old/trytond_purchase_request-6.0.2/purchase_request.py 2022-12-19
13:03:46.000000000 +0100
+++ new/trytond_purchase_request-6.0.3/purchase_request.py 2023-02-05
21:50:06.000000000 +0100
@@ -199,14 +199,22 @@
@classmethod
def search_rec_name(cls, name, clause):
- res = []
- names = clause[2].split('@', 1)
- res.append(('product.template.name', clause[1], names[0]))
- if len(names) != 1 and names[1]:
- res.append(('warehouse', clause[1], names[1]))
- return ['OR', res,
- ('description',) + tuple(clause[1:]),
- ]
+ _, operator, value = clause
+ if operator.startswith('!') or operator.startswith('not'):
+ bool_op = 'AND'
+ else:
+ bool_op = 'OR'
+ domain = [bool_op]
+ if value is not None:
+ names = value.split('@', 1)
+ sub_domain = [('product.template.name', operator, names[0])]
+ if len(names) != 1 and names[1]:
+ sub_domain.append(('warehouse', operator, names[1]))
+ if bool_op == 'AND':
+ sub_domain.insert(0, 'OR')
+ domain.append(sub_domain)
+ domain.append(('description', *clause[1:]))
+ return domain
@staticmethod
def default_company():
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trytond_purchase_request-6.0.2/tryton.cfg
new/trytond_purchase_request-6.0.3/tryton.cfg
--- old/trytond_purchase_request-6.0.2/tryton.cfg 2022-12-19
13:03:46.000000000 +0100
+++ new/trytond_purchase_request-6.0.3/tryton.cfg 2023-01-15
18:51:17.000000000 +0100
@@ -1,5 +1,5 @@
[tryton]
-version=6.0.2
+version=6.0.3
depends:
ir
purchase
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/trytond_purchase_request-6.0.2/trytond_purchase_request.egg-info/PKG-INFO
new/trytond_purchase_request-6.0.3/trytond_purchase_request.egg-info/PKG-INFO
---
old/trytond_purchase_request-6.0.2/trytond_purchase_request.egg-info/PKG-INFO
2023-01-15 18:51:07.000000000 +0100
+++
new/trytond_purchase_request-6.0.3/trytond_purchase_request.egg-info/PKG-INFO
2023-02-05 22:20:08.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: trytond-purchase-request
-Version: 6.0.2
+Version: 6.0.3
Summary: Tryton module for purchase requests
Home-page: http://www.tryton.org/
Download-URL: http://downloads.tryton.org/6.0/