commit trytond_purchase for openSUSE:Factory

2020-07-09 Thread root
Hello community,

here is the log from the commit of package trytond_purchase for 
openSUSE:Factory checked in at 2020-07-09 13:20:05

Comparing /work/SRC/openSUSE:Factory/trytond_purchase (Old)
 and  /work/SRC/openSUSE:Factory/.trytond_purchase.new.3060 (New)


Package is "trytond_purchase"

Thu Jul  9 13:20:05 2020 rev:14 rq:819683 version:5.0.5

Changes:

--- /work/SRC/openSUSE:Factory/trytond_purchase/trytond_purchase.changes
2020-05-17 23:43:18.173073888 +0200
+++ 
/work/SRC/openSUSE:Factory/.trytond_purchase.new.3060/trytond_purchase.changes  
2020-07-09 13:20:36.101503642 +0200
@@ -1,0 +2,5 @@
+Thu Jul  2 06:40:29 UTC 2020 - Axel Braun 
+
+- Version 5.0.5 - Bugfix Release
+
+---

Old:

  trytond_purchase-5.0.4.tar.gz

New:

  trytond_purchase-5.0.5.tar.gz



Other differences:
--
++ trytond_purchase.spec ++
--- /var/tmp/diff_new_pack.HT19zr/_old  2020-07-09 13:20:37.145506942 +0200
+++ /var/tmp/diff_new_pack.HT19zr/_new  2020-07-09 13:20:37.145506942 +0200
@@ -17,7 +17,7 @@
 
 %define majorver 5.0
 Name:   trytond_purchase
-Version:%{majorver}.4
+Version:%{majorver}.5
 Release:0
 Summary:The "purchase" module for the Tryton ERP system
 License:GPL-3.0

++ trytond_purchase-5.0.4.tar.gz -> trytond_purchase-5.0.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-5.0.4/.hgtags 
new/trytond_purchase-5.0.5/.hgtags
--- old/trytond_purchase-5.0.4/.hgtags  2020-05-15 21:46:28.0 +0200
+++ new/trytond_purchase-5.0.5/.hgtags  2020-07-01 22:35:19.0 +0200
@@ -23,3 +23,4 @@
 7617dfc0c2d4af432fb4771a23dd6b5108c90137 5.0.2
 54cfae61c08cf28a173a156eb4af4532e76f71cc 5.0.3
 6b440414be2890f9e78ad361687f5ed8dde8e6ff 5.0.4
+617551e63a8a1a1de20bd2a0eb43c639cf049e07 5.0.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-5.0.4/CHANGELOG 
new/trytond_purchase-5.0.5/CHANGELOG
--- old/trytond_purchase-5.0.4/CHANGELOG2020-05-15 21:46:27.0 
+0200
+++ new/trytond_purchase-5.0.5/CHANGELOG2020-07-01 22:35:18.0 
+0200
@@ -1,3 +1,6 @@
+Version 5.0.5 - 2020-07-01
+* Bug fixes (see mercurial logs for details)
+
 Version 5.0.4 - 2020-05-15
 * Bug fixes (see mercurial logs for details)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-5.0.4/PKG-INFO 
new/trytond_purchase-5.0.5/PKG-INFO
--- old/trytond_purchase-5.0.4/PKG-INFO 2020-05-15 21:46:29.0 +0200
+++ new/trytond_purchase-5.0.5/PKG-INFO 2020-07-01 22:35:21.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: trytond_purchase
-Version: 5.0.4
+Version: 5.0.5
 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.4/product.py 
new/trytond_purchase-5.0.5/product.py
--- old/trytond_purchase-5.0.4/product.py   2020-05-09 00:43:29.0 
+0200
+++ new/trytond_purchase-5.0.5/product.py   2020-06-19 09:15:29.0 
+0200
@@ -201,17 +201,14 @@
 new_products = super().copy(products, default)
 if 'template' in default and copy_suppliers:
 template2new = {}
-product2new = {}
 to_copy = []
 for product, new_product in zip(products, new_products):
 if product.product_suppliers:
 to_copy.extend(product.product_suppliers)
 template2new[product.template.id] = new_product.template.id
-product2new[product.id] = new_product.id
 if to_copy:
 ProductSupplier.copy(to_copy, {
-'product': lambda d: product2new[d['product']],
-'template': lambda d: template2new[d['template']],
+'product': lambda d: template2new[d['product']],
 })
 return new_products
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-5.0.4/tryton.cfg 
new/trytond_purchase-5.0.5/tryton.cfg
--- old/trytond_purchase-5.0.4/tryton.cfg   2020-04-04 17:58:49.0 
+0200
+++ new/trytond_purchase-5.0.5/tryton.cfg   2020-05-15 21:46:37.0 
+0200
@@ -1,5 +1,5 @@
 [tryton]
-version=5.0.4
+version=5.0.5
 depends:
 account
 account_invoice
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond_purchase-5.0.4/trytond_purchase.egg-info/PKG-INFO 
new/tryton

commit trytond_purchase for openSUSE:Factory

2020-05-17 Thread root
Hello community,

here is the log from the commit of package trytond_purchase for 
openSUSE:Factory checked in at 2020-05-17 23:43:12

Comparing /work/SRC/openSUSE:Factory/trytond_purchase (Old)
 and  /work/SRC/openSUSE:Factory/.trytond_purchase.new.2738 (New)


Package is "trytond_purchase"

Sun May 17 23:43:12 2020 rev:13 rq:806127 version:5.0.4

Changes:

--- /work/SRC/openSUSE:Factory/trytond_purchase/trytond_purchase.changes
2020-04-05 20:54:56.349274943 +0200
+++ 
/work/SRC/openSUSE:Factory/.trytond_purchase.new.2738/trytond_purchase.changes  
2020-05-17 23:43:18.173073888 +0200
@@ -1,0 +2,5 @@
+Sat May 16 06:58:55 UTC 2020 - Axel Braun 
+
+- Version 5.0.4 - Bugfix Release
+
+---

Old:

  trytond_purchase-5.0.3.tar.gz

New:

  trytond_purchase-5.0.4.tar.gz



Other differences:
--
++ trytond_purchase.spec ++
--- /var/tmp/diff_new_pack.4sa7bK/_old  2020-05-17 23:43:18.937075422 +0200
+++ /var/tmp/diff_new_pack.4sa7bK/_new  2020-05-17 23:43:18.937075422 +0200
@@ -17,7 +17,7 @@
 
 %define majorver 5.0
 Name:   trytond_purchase
-Version:%{majorver}.3
+Version:%{majorver}.4
 Release:0
 Summary:The "purchase" module for the Tryton ERP system
 License:GPL-3.0

++ trytond_purchase-5.0.3.tar.gz -> trytond_purchase-5.0.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-5.0.3/.hgtags 
new/trytond_purchase-5.0.4/.hgtags
--- old/trytond_purchase-5.0.3/.hgtags  2020-04-04 17:58:39.0 +0200
+++ new/trytond_purchase-5.0.4/.hgtags  2020-05-15 21:46:28.0 +0200
@@ -22,3 +22,4 @@
 f5ebf3ae588b8321f3cb5b88a93b49519e060701 5.0.1
 7617dfc0c2d4af432fb4771a23dd6b5108c90137 5.0.2
 54cfae61c08cf28a173a156eb4af4532e76f71cc 5.0.3
+6b440414be2890f9e78ad361687f5ed8dde8e6ff 5.0.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-5.0.3/CHANGELOG 
new/trytond_purchase-5.0.4/CHANGELOG
--- old/trytond_purchase-5.0.3/CHANGELOG2020-04-04 17:58:39.0 
+0200
+++ new/trytond_purchase-5.0.4/CHANGELOG2020-05-15 21:46:27.0 
+0200
@@ -1,3 +1,6 @@
+Version 5.0.4 - 2020-05-15
+* Bug fixes (see mercurial logs for details)
+
 Version 5.0.3 - 2020-04-04
 * Bug fixes (see mercurial logs for details)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-5.0.3/PKG-INFO 
new/trytond_purchase-5.0.4/PKG-INFO
--- old/trytond_purchase-5.0.3/PKG-INFO 2020-04-04 17:58:40.0 +0200
+++ new/trytond_purchase-5.0.4/PKG-INFO 2020-05-15 21:46:29.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: trytond_purchase
-Version: 5.0.3
+Version: 5.0.4
 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.3/product.py 
new/trytond_purchase-5.0.4/product.py
--- old/trytond_purchase-5.0.3/product.py   2019-02-28 22:43:56.0 
+0100
+++ new/trytond_purchase-5.0.4/product.py   2020-05-09 00:43:29.0 
+0200
@@ -82,6 +82,31 @@
 'change_purchase_uom')
 super(Template, cls).write(*args)
 
+@classmethod
+def copy(cls, templates, default=None):
+pool = Pool()
+ProductSupplier = pool.get('purchase.product_supplier')
+if default is None:
+default = {}
+else:
+default = default.copy()
+
+copy_suppliers = 'product_suppliers' not in default
+default.setdefault('product_suppliers', None)
+new_templates = super().copy(templates, default)
+if copy_suppliers:
+old2new = {}
+to_copy = []
+for template, new_template in zip(templates, new_templates):
+to_copy.extend(
+ps for ps in template.product_suppliers if not ps.product)
+old2new[template.id] = new_template.id
+if to_copy:
+ProductSupplier.copy(to_copy, {
+'template': lambda d: old2new[d['template']],
+})
+return new_templates
+
 
 class Product(metaclass=PoolMeta):
 __name__ = 'product.product'
@@ -161,6 +186,35 @@
 prices[product.id], currency, round=False)
 return prices
 
+@classmethod
+def copy(cls, products, default=None):
+pool = Pool()
+ProductSupplier = pool.get('purchase.product_supplier')
+if default is None:
+default = {}
+else:
+d

commit trytond_purchase for openSUSE:Factory

2020-04-05 Thread root
Hello community,

here is the log from the commit of package trytond_purchase for 
openSUSE:Factory checked in at 2020-04-05 20:54:53

Comparing /work/SRC/openSUSE:Factory/trytond_purchase (Old)
 and  /work/SRC/openSUSE:Factory/.trytond_purchase.new.3248 (New)


Package is "trytond_purchase"

Sun Apr  5 20:54:53 2020 rev:12 rq:791424 version:5.0.3

Changes:

--- /work/SRC/openSUSE:Factory/trytond_purchase/trytond_purchase.changes
2019-12-04 14:19:50.718411087 +0100
+++ 
/work/SRC/openSUSE:Factory/.trytond_purchase.new.3248/trytond_purchase.changes  
2020-04-05 20:54:56.349274943 +0200
@@ -1,0 +2,5 @@
+Sat Apr  4 17:04:32 UTC 2020 - Axel Braun 
+
+- Version 5.0.3 - Bugfix Release
+
+---

Old:

  trytond_purchase-5.0.2.tar.gz

New:

  trytond_purchase-5.0.3.tar.gz



Other differences:
--
++ trytond_purchase.spec ++
--- /var/tmp/diff_new_pack.byH7yS/_old  2020-04-05 20:54:56.865275497 +0200
+++ /var/tmp/diff_new_pack.byH7yS/_new  2020-04-05 20:54:56.869275501 +0200
@@ -17,7 +17,7 @@
 
 %define majorver 5.0
 Name:   trytond_purchase
-Version:%{majorver}.2
+Version:%{majorver}.3
 Release:0
 Summary:The "purchase" module for the Tryton ERP system
 License:GPL-3.0

++ trytond_purchase-5.0.2.tar.gz -> trytond_purchase-5.0.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-5.0.2/.drone.yml 
new/trytond_purchase-5.0.3/.drone.yml
--- old/trytond_purchase-5.0.2/.drone.yml   2019-02-28 22:43:56.0 
+0100
+++ new/trytond_purchase-5.0.3/.drone.yml   2020-03-01 16:46:07.0 
+0100
@@ -19,6 +19,8 @@
 services:
 postgresql:
 image: postgres
+environment:
+- POSTGRES_HOST_AUTH_METHOD=trust
 when:
 matrix:
 DATABASE: postgresql
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-5.0.2/.hgtags 
new/trytond_purchase-5.0.3/.hgtags
--- old/trytond_purchase-5.0.2/.hgtags  2019-03-15 19:29:08.0 +0100
+++ new/trytond_purchase-5.0.3/.hgtags  2020-04-04 17:58:39.0 +0200
@@ -21,3 +21,4 @@
 a19d4f68a99f24f220200eef7949504a3849bfbb 5.0.0
 f5ebf3ae588b8321f3cb5b88a93b49519e060701 5.0.1
 7617dfc0c2d4af432fb4771a23dd6b5108c90137 5.0.2
+54cfae61c08cf28a173a156eb4af4532e76f71cc 5.0.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-5.0.2/CHANGELOG 
new/trytond_purchase-5.0.3/CHANGELOG
--- old/trytond_purchase-5.0.2/CHANGELOG2019-03-15 19:29:08.0 
+0100
+++ new/trytond_purchase-5.0.3/CHANGELOG2020-04-04 17:58:39.0 
+0200
@@ -1,3 +1,6 @@
+Version 5.0.3 - 2020-04-04
+* Bug fixes (see mercurial logs for details)
+
 Version 5.0.2 - 2019-03-15
 * Bug fixes (see mercurial logs for details)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-5.0.2/COPYRIGHT 
new/trytond_purchase-5.0.3/COPYRIGHT
--- old/trytond_purchase-5.0.2/COPYRIGHT2019-03-15 19:29:08.0 
+0100
+++ new/trytond_purchase-5.0.3/COPYRIGHT2020-04-04 17:58:38.0 
+0200
@@ -1,6 +1,6 @@
-Copyright (C) 2008-2019 Cédric Krier.
+Copyright (C) 2008-2020 Cédric Krier.
 Copyright (C) 2008-2013 Bertrand Chenal.
-Copyright (C) 2008-2019 B2CK SPRL.
+Copyright (C) 2008-2020 B2CK SPRL.
 Copyright (C) 2004-2008 Tiny SPRL.
 
 This program is free software: you can redistribute it and/or modify
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-5.0.2/PKG-INFO 
new/trytond_purchase-5.0.3/PKG-INFO
--- old/trytond_purchase-5.0.2/PKG-INFO 2019-03-15 19:29:09.0 +0100
+++ new/trytond_purchase-5.0.3/PKG-INFO 2020-04-04 17:58:40.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: trytond_purchase
-Version: 5.0.2
+Version: 5.0.3
 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.2/tryton.cfg 
new/trytond_purchase-5.0.3/tryton.cfg
--- old/trytond_purchase-5.0.2/tryton.cfg   2019-02-28 22:43:56.0 
+0100
+++ new/trytond_purchase-5.0.3/tryton.cfg   2019-03-15 19:29:18.0 
+0100
@@ -1,5 +1,5 @@
 [tryton]
-version=5.0.2
+version=5.0.3
 depends:
 account
 account_invoice
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond_purchase-5.0.2/trytond_purchase.egg-info/PKG-INFO 
new/trytond_purchase-5.0.3/trytond_purchase

commit trytond_purchase for openSUSE:Factory

2019-12-04 Thread root
Hello community,

here is the log from the commit of package trytond_purchase for 
openSUSE:Factory checked in at 2019-12-04 13:51:40

Comparing /work/SRC/openSUSE:Factory/trytond_purchase (Old)
 and  /work/SRC/openSUSE:Factory/.trytond_purchase.new.4691 (New)


Package is "trytond_purchase"

Wed Dec  4 13:51:40 2019 rev:11 rq:752401 version:5.0.2

Changes:

--- /work/SRC/openSUSE:Factory/trytond_purchase/trytond_purchase.changes
2019-06-01 09:48:14.911349917 +0200
+++ 
/work/SRC/openSUSE:Factory/.trytond_purchase.new.4691/trytond_purchase.changes  
2019-12-04 14:19:50.718411087 +0100
@@ -1,0 +2,5 @@
+Thu Nov 21 14:26:07 UTC 2019 - Axel Braun 
+
+- version 5.0.2 (GNU Health 3.6 series) 
+
+---

Old:

  trytond_purchase-4.6.5.tar.gz

New:

  trytond_purchase-5.0.2.tar.gz



Other differences:
--
++ trytond_purchase.spec ++
--- /var/tmp/diff_new_pack.wVzPSK/_old  2019-12-04 14:19:51.094411404 +0100
+++ /var/tmp/diff_new_pack.wVzPSK/_new  2019-12-04 14:19:51.094411404 +0100
@@ -15,9 +15,9 @@
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 
-%define majorver 4.6
+%define majorver 5.0
 Name:   trytond_purchase
-Version:%{majorver}.5
+Version:%{majorver}.2
 Release:0
 Summary:The "purchase" module for the Tryton ERP system
 License:GPL-3.0

++ trytond_purchase-4.6.5.tar.gz -> trytond_purchase-5.0.2.tar.gz ++
 11416 lines of diff (skipped)




commit trytond_purchase for openSUSE:Factory

2019-06-01 Thread root
Hello community,

here is the log from the commit of package trytond_purchase for 
openSUSE:Factory checked in at 2019-06-01 09:48:13

Comparing /work/SRC/openSUSE:Factory/trytond_purchase (Old)
 and  /work/SRC/openSUSE:Factory/.trytond_purchase.new.5148 (New)


Package is "trytond_purchase"

Sat Jun  1 09:48:13 2019 rev:10 rq:705911 version:4.6.5

Changes:

--- /work/SRC/openSUSE:Factory/trytond_purchase/trytond_purchase.changes
2019-01-21 10:49:55.440050831 +0100
+++ 
/work/SRC/openSUSE:Factory/.trytond_purchase.new.5148/trytond_purchase.changes  
2019-06-01 09:48:14.911349917 +0200
@@ -1,0 +2,5 @@
+Wed Feb 20 21:05:38 UTC 2019 - Axel Braun 
+
+- Version 4.6.5 - Bugfix Release
+
+---

Old:

  trytond_purchase-4.6.4.tar.gz

New:

  trytond_purchase-4.6.5.tar.gz



Other differences:
--
++ trytond_purchase.spec ++
--- /var/tmp/diff_new_pack.AJtq9n/_old  2019-06-01 09:48:15.547349700 +0200
+++ /var/tmp/diff_new_pack.AJtq9n/_new  2019-06-01 09:48:15.547349700 +0200
@@ -17,7 +17,7 @@
 
 %define majorver 4.6
 Name:   trytond_purchase
-Version:%{majorver}.4
+Version:%{majorver}.5
 Release:0
 Summary:The "purchase" module for the Tryton ERP system
 License:GPL-3.0

++ trytond_purchase-4.6.4.tar.gz -> trytond_purchase-4.6.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.6.4/.hgtags 
new/trytond_purchase-4.6.5/.hgtags
--- old/trytond_purchase-4.6.4/.hgtags  2018-07-05 12:08:43.0 +0200
+++ new/trytond_purchase-4.6.5/.hgtags  2019-02-19 23:10:03.0 +0100
@@ -21,3 +21,4 @@
 37c52b2243828adaf12fff2862951f0b315ef8aa 4.6.2
 4062ed1803019eaad01274ef6c074dd037b61a20 4.6.3
 f08127800a9d587076c4d04174150419856ffe67 4.6.4
+25b6ffbaba2a7a3c3d332d2f43d4791f4277824b 4.6.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.6.4/CHANGELOG 
new/trytond_purchase-4.6.5/CHANGELOG
--- old/trytond_purchase-4.6.4/CHANGELOG2018-07-05 12:08:43.0 
+0200
+++ new/trytond_purchase-4.6.5/CHANGELOG2019-02-19 23:10:03.0 
+0100
@@ -1,3 +1,6 @@
+Version 4.6.5 - 2019-02-19
+* Bug fixes (see mercurial logs for details)
+
 Version 4.6.4 - 2018-07-05
 * Bug fixes (see mercurial logs for details)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.6.4/COPYRIGHT 
new/trytond_purchase-4.6.5/COPYRIGHT
--- old/trytond_purchase-4.6.4/COPYRIGHT2018-07-05 12:08:43.0 
+0200
+++ new/trytond_purchase-4.6.5/COPYRIGHT2019-02-19 23:10:02.0 
+0100
@@ -1,6 +1,6 @@
-Copyright (C) 2008-2018 Cédric Krier.
+Copyright (C) 2008-2019 Cédric Krier.
 Copyright (C) 2008-2013 Bertrand Chenal.
-Copyright (C) 2008-2018 B2CK SPRL.
+Copyright (C) 2008-2019 B2CK SPRL.
 Copyright (C) 2004-2008 Tiny SPRL.
 
 This program is free software: you can redistribute it and/or modify
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.6.4/PKG-INFO 
new/trytond_purchase-4.6.5/PKG-INFO
--- old/trytond_purchase-4.6.4/PKG-INFO 2018-07-05 12:08:44.0 +0200
+++ new/trytond_purchase-4.6.5/PKG-INFO 2019-02-19 23:10:04.0 +0100
@@ -1,13 +1,12 @@
 Metadata-Version: 1.1
 Name: trytond_purchase
-Version: 4.6.4
+Version: 4.6.5
 Summary: Tryton module for purchase
 Home-page: http://www.tryton.org/
 Author: Tryton
 Author-email: issue_trac...@tryton.org
 License: GPL-3
 Download-URL: http://downloads.tryton.org/4.6/
-Description-Content-Type: UNKNOWN
 Description: trytond_purchase
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.6.4/purchase.py 
new/trytond_purchase-4.6.5/purchase.py
--- old/trytond_purchase-4.6.4/purchase.py  2018-04-26 23:14:43.0 
+0200
+++ new/trytond_purchase-4.6.5/purchase.py  2019-02-06 22:58:37.0 
+0100
@@ -835,6 +835,7 @@
 @ModelView.button
 def process(cls, purchases):
 process, done = [], []
+cls.__lock(purchases)
 for purchase in purchases:
 purchase.create_invoice()
 purchase.set_invoice_state()
@@ -855,6 +856,25 @@
 if done:
 cls.do(done)
 
+@classmethod
+def __lock(cls, records):
+from trytond.tools import grouped_slice, reduce_ids
+from sql import Literal, For
+transaction = Transaction()
+database = transaction.database
+connection = transaction.connection
+table = cls.__table__()
+
+   

commit trytond_purchase for openSUSE:Factory

2019-01-21 Thread root
Hello community,

here is the log from the commit of package trytond_purchase for 
openSUSE:Factory checked in at 2019-01-21 10:49:32

Comparing /work/SRC/openSUSE:Factory/trytond_purchase (Old)
 and  /work/SRC/openSUSE:Factory/.trytond_purchase.new.28833 (New)


Package is "trytond_purchase"

Mon Jan 21 10:49:32 2019 rev:9 rq:664372 version:4.6.4

Changes:

--- /work/SRC/openSUSE:Factory/trytond_purchase/trytond_purchase.changes
2018-09-10 12:32:26.450598156 +0200
+++ 
/work/SRC/openSUSE:Factory/.trytond_purchase.new.28833/trytond_purchase.changes 
2019-01-21 10:49:55.440050831 +0100
@@ -1,0 +2,5 @@
+Wed Jul 11 17:18:20 UTC 2018 - axel.br...@gmx.de
+
+- Version 4.6.4 - Bugfix Release
+
+---

Old:

  trytond_purchase-4.2.6.tar.gz

New:

  trytond_purchase-4.6.4.tar.gz



Other differences:
--
++ trytond_purchase.spec ++
--- /var/tmp/diff_new_pack.cwou7p/_old  2019-01-21 10:49:56.116050008 +0100
+++ /var/tmp/diff_new_pack.cwou7p/_new  2019-01-21 10:49:56.116050008 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package trytond_purchase
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2014-2016 Dr. Axel Braun
 #
 # All modifications and additions to the file contributed by third parties
@@ -14,12 +14,10 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
-#
-
 
-%define majorver 4.2
+%define majorver 4.6
 Name:   trytond_purchase
-Version:%{majorver}.6
+Version:%{majorver}.4
 Release:0
 Summary:The "purchase" module for the Tryton ERP system
 License:GPL-3.0

++ trytond_purchase-4.2.6.tar.gz -> trytond_purchase-4.6.4.tar.gz ++
 10614 lines of diff (skipped)




commit trytond_purchase for openSUSE:Factory

2018-09-10 Thread root
Hello community,

here is the log from the commit of package trytond_purchase for 
openSUSE:Factory checked in at 2018-09-10 12:32:25

Comparing /work/SRC/openSUSE:Factory/trytond_purchase (Old)
 and  /work/SRC/openSUSE:Factory/.trytond_purchase.new (New)


Package is "trytond_purchase"

Mon Sep 10 12:32:25 2018 rev:8 rq:634690 version:4.2.6

Changes:

--- /work/SRC/openSUSE:Factory/trytond_purchase/trytond_purchase.changes
2018-07-19 22:57:24.265506555 +0200
+++ /work/SRC/openSUSE:Factory/.trytond_purchase.new/trytond_purchase.changes   
2018-09-10 12:32:26.450598156 +0200
@@ -4 +4 @@
-- Version 4.2.6 - Bugfix Release
+- Version 4.2.6 - Bugfix Release (boo#1107771)



Other differences:
--



commit trytond_purchase for openSUSE:Factory

2018-07-19 Thread root
Hello community,

here is the log from the commit of package trytond_purchase for 
openSUSE:Factory checked in at 2018-07-19 22:55:35

Comparing /work/SRC/openSUSE:Factory/trytond_purchase (Old)
 and  /work/SRC/openSUSE:Factory/.trytond_purchase.new (New)


Package is "trytond_purchase"

Thu Jul 19 22:55:35 2018 rev:7 rq:623660 version:4.2.6

Changes:

--- /work/SRC/openSUSE:Factory/trytond_purchase/trytond_purchase.changes
2018-05-15 10:33:37.303703925 +0200
+++ /work/SRC/openSUSE:Factory/.trytond_purchase.new/trytond_purchase.changes   
2018-07-19 22:57:24.265506555 +0200
@@ -1,0 +2,5 @@
+Wed Jul 11 12:34:58 UTC 2018 - axel.br...@gmx.de
+
+- Version 4.2.6 - Bugfix Release
+
+---

Old:

  trytond_purchase-4.2.5.tar.gz

New:

  trytond_purchase-4.2.6.tar.gz



Other differences:
--
++ trytond_purchase.spec ++
--- /var/tmp/diff_new_pack.Ju5KyA/_old  2018-07-19 22:57:24.789504929 +0200
+++ /var/tmp/diff_new_pack.Ju5KyA/_new  2018-07-19 22:57:24.793504917 +0200
@@ -19,7 +19,7 @@
 
 %define majorver 4.2
 Name:   trytond_purchase
-Version:%{majorver}.5
+Version:%{majorver}.6
 Release:0
 Summary:The "purchase" module for the Tryton ERP system
 License:GPL-3.0

++ trytond_purchase-4.2.5.tar.gz -> trytond_purchase-4.2.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.5/.hgtags 
new/trytond_purchase-4.2.6/.hgtags
--- old/trytond_purchase-4.2.5/.hgtags  2018-05-08 22:21:10.0 +0200
+++ new/trytond_purchase-4.2.6/.hgtags  2018-07-05 12:17:09.0 +0200
@@ -20,3 +20,4 @@
 49c99efccb434208fe29bf520eb8cd6693d35977 4.2.3
 fa530863cb63861e82e4ca0575e54beaafc395c4 4.2.4
 40c8c030ce8e8573c48c75afc75170800b1e7ced 4.2.5
+a08dffc3df9f8e040591604ed12cce0bd9659eb5 4.2.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.5/CHANGELOG 
new/trytond_purchase-4.2.6/CHANGELOG
--- old/trytond_purchase-4.2.5/CHANGELOG2018-05-08 22:21:10.0 
+0200
+++ new/trytond_purchase-4.2.6/CHANGELOG2018-07-05 12:17:08.0 
+0200
@@ -1,3 +1,6 @@
+Version 4.2.6 - 2018-07-05
+* Bug fixes (see mercurial logs for details)
+
 Version 4.2.5 - 2018-05-08
 * Bug fixes (see mercurial logs for details)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.5/PKG-INFO 
new/trytond_purchase-4.2.6/PKG-INFO
--- old/trytond_purchase-4.2.5/PKG-INFO 2018-05-08 22:21:11.0 +0200
+++ new/trytond_purchase-4.2.6/PKG-INFO 2018-07-05 12:17:09.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_purchase
-Version: 4.2.5
+Version: 4.2.6
 Summary: Tryton module for purchase
 Home-page: http://www.tryton.org/
 Author: Tryton
Binary files old/trytond_purchase-4.2.5/purchase.odt and 
new/trytond_purchase-4.2.6/purchase.odt differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.5/tryton.cfg 
new/trytond_purchase-4.2.6/tryton.cfg
--- old/trytond_purchase-4.2.5/tryton.cfg   2018-03-01 23:14:27.0 
+0100
+++ new/trytond_purchase-4.2.6/tryton.cfg   2018-05-08 22:21:24.0 
+0200
@@ -1,5 +1,5 @@
 [tryton]
-version=4.2.5
+version=4.2.6
 depends:
 account
 account_invoice
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond_purchase-4.2.5/trytond_purchase.egg-info/PKG-INFO 
new/trytond_purchase-4.2.6/trytond_purchase.egg-info/PKG-INFO
--- old/trytond_purchase-4.2.5/trytond_purchase.egg-info/PKG-INFO   
2018-05-08 22:21:10.0 +0200
+++ new/trytond_purchase-4.2.6/trytond_purchase.egg-info/PKG-INFO   
2018-07-05 12:17:09.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-purchase
-Version: 4.2.5
+Version: 4.2.6
 Summary: Tryton module for purchase
 Home-page: http://www.tryton.org/
 Author: Tryton




commit trytond_purchase for openSUSE:Factory

2018-05-15 Thread root
Hello community,

here is the log from the commit of package trytond_purchase for 
openSUSE:Factory checked in at 2018-05-15 10:14:09

Comparing /work/SRC/openSUSE:Factory/trytond_purchase (Old)
 and  /work/SRC/openSUSE:Factory/.trytond_purchase.new (New)


Package is "trytond_purchase"

Tue May 15 10:14:09 2018 rev:6 rq:606653 version:4.2.5

Changes:

--- /work/SRC/openSUSE:Factory/trytond_purchase/trytond_purchase.changes
2018-03-11 15:24:39.880477945 +0100
+++ /work/SRC/openSUSE:Factory/.trytond_purchase.new/trytond_purchase.changes   
2018-05-15 10:33:37.303703925 +0200
@@ -1,0 +2,5 @@
+Sat May 12 12:58:57 UTC 2018 - axel.br...@gmx.de
+
+- Version 4.2.5 - Bugfix Release
+
+---

Old:

  trytond_purchase-4.2.4.tar.gz

New:

  trytond_purchase-4.2.5.tar.gz



Other differences:
--
++ trytond_purchase.spec ++
--- /var/tmp/diff_new_pack.kuDtDY/_old  2018-05-15 10:33:38.227669990 +0200
+++ /var/tmp/diff_new_pack.kuDtDY/_new  2018-05-15 10:33:38.231669843 +0200
@@ -19,7 +19,7 @@
 
 %define majorver 4.2
 Name:   trytond_purchase
-Version:%{majorver}.4
+Version:%{majorver}.5
 Release:0
 Summary:The "purchase" module for the Tryton ERP system
 License:GPL-3.0

++ trytond_purchase-4.2.4.tar.gz -> trytond_purchase-4.2.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.4/.hgtags 
new/trytond_purchase-4.2.5/.hgtags
--- old/trytond_purchase-4.2.4/.hgtags  2018-03-01 23:14:13.0 +0100
+++ new/trytond_purchase-4.2.5/.hgtags  2018-05-08 22:21:10.0 +0200
@@ -19,3 +19,4 @@
 b0f53bcdaeff1ac4dc91cf946780ed4eab4346ab 4.2.2
 49c99efccb434208fe29bf520eb8cd6693d35977 4.2.3
 fa530863cb63861e82e4ca0575e54beaafc395c4 4.2.4
+40c8c030ce8e8573c48c75afc75170800b1e7ced 4.2.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.4/CHANGELOG 
new/trytond_purchase-4.2.5/CHANGELOG
--- old/trytond_purchase-4.2.4/CHANGELOG2018-03-01 23:14:13.0 
+0100
+++ new/trytond_purchase-4.2.5/CHANGELOG2018-05-08 22:21:10.0 
+0200
@@ -1,3 +1,6 @@
+Version 4.2.5 - 2018-05-08
+* Bug fixes (see mercurial logs for details)
+
 Version 4.2.4 - 2018-03-01
 * Bug fixes (see mercurial logs for details)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.4/PKG-INFO 
new/trytond_purchase-4.2.5/PKG-INFO
--- old/trytond_purchase-4.2.4/PKG-INFO 2018-03-01 23:14:14.0 +0100
+++ new/trytond_purchase-4.2.5/PKG-INFO 2018-05-08 22:21:11.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_purchase
-Version: 4.2.4
+Version: 4.2.5
 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-4.2.4/purchase.py 
new/trytond_purchase-4.2.5/purchase.py
--- old/trytond_purchase-4.2.4/purchase.py  2017-11-08 00:40:42.0 
+0100
+++ new/trytond_purchase-4.2.5/purchase.py  2018-05-08 22:21:08.0 
+0200
@@ -1061,7 +1061,7 @@
 context['taxes'] = [t.id for t in self.taxes]
 return context
 
-@fields.depends('product', 'unit', 'quantity', 'description',
+@fields.depends('product', 'unit', 'quantity', 'description', 'purchase',
 '_parent_purchase.party', '_parent_purchase.currency',
 '_parent_purchase.purchase_date')
 def on_change_product(self):
@@ -1118,7 +1118,7 @@
 if self.product:
 return self.product.default_uom_category.id
 
-@fields.depends('product', 'quantity', 'unit', 'taxes',
+@fields.depends('product', 'quantity', 'unit', 'taxes', 'purchase',
 '_parent_purchase.currency', '_parent_purchase.party',
 '_parent_purchase.purchase_date')
 def on_change_quantity(self):
@@ -1142,7 +1142,7 @@
 def on_change_taxes(self):
 self.on_change_quantity()
 
-@fields.depends('type', 'quantity', 'unit_price', 'unit',
+@fields.depends('type', 'quantity', 'unit_price', 'unit', 'purchase',
 '_parent_purchase.currency')
 def on_change_with_amount(self):
 if self.type == 'line':
@@ -1183,7 +1183,7 @@
 else:
 return self.purchase.party.supplier_location.id
 
-@fields.depends('product', 'quantity', 'moves',
+@fields.depends('product', 'quantity', 'moves', 'purchase',
 '_parent_purchase.purchase_date', '_parent_purchase.party')
 def on_change_with_delivery_date(self, name=None):
 if self.moves:
diff -urN '--exclude=CVS' '-

commit trytond_purchase for openSUSE:Factory

2018-03-11 Thread root
Hello community,

here is the log from the commit of package trytond_purchase for 
openSUSE:Factory checked in at 2018-03-11 15:24:39

Comparing /work/SRC/openSUSE:Factory/trytond_purchase (Old)
 and  /work/SRC/openSUSE:Factory/.trytond_purchase.new (New)


Package is "trytond_purchase"

Sun Mar 11 15:24:39 2018 rev:5 rq:584730 version:4.2.4

Changes:

--- /work/SRC/openSUSE:Factory/trytond_purchase/trytond_purchase.changes
2017-11-16 14:03:37.467950093 +0100
+++ /work/SRC/openSUSE:Factory/.trytond_purchase.new/trytond_purchase.changes   
2018-03-11 15:24:39.880477945 +0100
@@ -1,0 +2,5 @@
+Fri Mar  2 09:11:20 UTC 2018 - axel.br...@gmx.de
+
+- Version 4.2.4 - Bugfix Release
+
+---

Old:

  trytond_purchase-4.2.3.tar.gz

New:

  trytond_purchase-4.2.4.tar.gz



Other differences:
--
++ trytond_purchase.spec ++
--- /var/tmp/diff_new_pack.7tenKV/_old  2018-03-11 15:24:40.588452547 +0100
+++ /var/tmp/diff_new_pack.7tenKV/_new  2018-03-11 15:24:40.588452547 +0100
@@ -19,7 +19,7 @@
 
 %define majorver 4.2
 Name:   trytond_purchase
-Version:%{majorver}.3
+Version:%{majorver}.4
 Release:0
 Summary:The "purchase" module for the Tryton ERP system
 License:GPL-3.0

++ trytond_purchase-4.2.3.tar.gz -> trytond_purchase-4.2.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.3/.hgtags 
new/trytond_purchase-4.2.4/.hgtags
--- old/trytond_purchase-4.2.3/.hgtags  2017-11-08 00:40:44.0 +0100
+++ new/trytond_purchase-4.2.4/.hgtags  2018-03-01 23:14:13.0 +0100
@@ -18,3 +18,4 @@
 082ef8c07ef68bf934d43493987ac975a69b173d 4.2.1
 b0f53bcdaeff1ac4dc91cf946780ed4eab4346ab 4.2.2
 49c99efccb434208fe29bf520eb8cd6693d35977 4.2.3
+fa530863cb63861e82e4ca0575e54beaafc395c4 4.2.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.3/CHANGELOG 
new/trytond_purchase-4.2.4/CHANGELOG
--- old/trytond_purchase-4.2.3/CHANGELOG2017-11-08 00:40:43.0 
+0100
+++ new/trytond_purchase-4.2.4/CHANGELOG2018-03-01 23:14:13.0 
+0100
@@ -1,3 +1,6 @@
+Version 4.2.4 - 2018-03-01
+* Bug fixes (see mercurial logs for details)
+
 Version 4.2.3 - 2017-11-07
 * Bug fixes (see mercurial logs for details)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.3/COPYRIGHT 
new/trytond_purchase-4.2.4/COPYRIGHT
--- old/trytond_purchase-4.2.3/COPYRIGHT2017-11-08 00:40:43.0 
+0100
+++ new/trytond_purchase-4.2.4/COPYRIGHT2018-03-01 23:14:13.0 
+0100
@@ -1,6 +1,6 @@
-Copyright (C) 2008-2017 Cédric Krier.
+Copyright (C) 2008-2018 Cédric Krier.
 Copyright (C) 2008-2013 Bertrand Chenal.
-Copyright (C) 2008-2017 B2CK SPRL.
+Copyright (C) 2008-2018 B2CK SPRL.
 Copyright (C) 2004-2008 Tiny SPRL.
 
 This program is free software: you can redistribute it and/or modify
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.3/PKG-INFO 
new/trytond_purchase-4.2.4/PKG-INFO
--- old/trytond_purchase-4.2.3/PKG-INFO 2017-11-08 00:40:44.0 +0100
+++ new/trytond_purchase-4.2.4/PKG-INFO 2018-03-01 23:14:14.0 +0100
@@ -1,12 +1,13 @@
 Metadata-Version: 1.1
 Name: trytond_purchase
-Version: 4.2.3
+Version: 4.2.4
 Summary: Tryton module for purchase
 Home-page: http://www.tryton.org/
 Author: Tryton
 Author-email: issue_trac...@tryton.org
 License: GPL-3
 Download-URL: http://downloads.tryton.org/4.2/
+Description-Content-Type: UNKNOWN
 Description: trytond_purchase
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.3/invoice.py 
new/trytond_purchase-4.2.4/invoice.py
--- old/trytond_purchase-4.2.3/invoice.py   2017-11-08 00:40:42.0 
+0100
+++ new/trytond_purchase-4.2.4/invoice.py   2018-03-01 23:14:12.0 
+0100
@@ -17,7 +17,8 @@
 pool = Pool()
 Purchase = pool.get('purchase.purchase')
 with Transaction().set_context(_check_access=False):
-purchases = [p for i in cls.browse(invoices) for p in i.purchases]
+purchases = Purchase.browse(
+set(p for i in cls.browse(invoices) for p in i.purchases))
 func(cls, invoices)
 with Transaction().set_context(_check_access=False):
 Purchase.process(purchases)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.3/tryton.cfg 
new/trytond_purchase-4.2.4/tryton.cfg

commit trytond_purchase for openSUSE:Factory

2017-11-16 Thread root
Hello community,

here is the log from the commit of package trytond_purchase for 
openSUSE:Factory checked in at 2017-11-16 14:03:32

Comparing /work/SRC/openSUSE:Factory/trytond_purchase (Old)
 and  /work/SRC/openSUSE:Factory/.trytond_purchase.new (New)


Package is "trytond_purchase"

Thu Nov 16 14:03:32 2017 rev:4 rq:542143 version:4.2.3

Changes:

--- /work/SRC/openSUSE:Factory/trytond_purchase/trytond_purchase.changes
2017-09-17 22:40:06.237679228 +0200
+++ /work/SRC/openSUSE:Factory/.trytond_purchase.new/trytond_purchase.changes   
2017-11-16 14:03:37.467950093 +0100
@@ -1,0 +2,5 @@
+Thu Nov  9 06:04:58 UTC 2017 - axel.br...@gmx.de
+
+- Version 4.2.3 - Bugfix Release
+
+---

Old:

  trytond_purchase-4.2.2.tar.gz

New:

  trytond_purchase-4.2.3.tar.gz



Other differences:
--
++ trytond_purchase.spec ++
--- /var/tmp/diff_new_pack.kyhc2F/_old  2017-11-16 14:03:38.263921244 +0100
+++ /var/tmp/diff_new_pack.kyhc2F/_new  2017-11-16 14:03:38.263921244 +0100
@@ -19,7 +19,7 @@
 
 %define majorver 4.2
 Name:   trytond_purchase
-Version:%{majorver}.2
+Version:%{majorver}.3
 Release:0
 Summary:The "purchase" module for the Tryton ERP system
 License:GPL-3.0

++ trytond_purchase-4.2.2.tar.gz -> trytond_purchase-4.2.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.2/.drone.yml 
new/trytond_purchase-4.2.3/.drone.yml
--- old/trytond_purchase-4.2.2/.drone.yml   1970-01-01 01:00:00.0 
+0100
+++ new/trytond_purchase-4.2.3/.drone.yml   2016-11-28 18:39:03.0 
+0100
@@ -0,0 +1,9 @@
+image: python:all
+env:
+  - POSTGRESQL_URI=postgresql://postgres@127.0.0.1:5432/
+  - MYSQL_URI=mysql://root@127.0.0.1:3306/
+script:
+  - pip install tox
+  - tox -e "{py27,py33,py34,py35}-{sqlite,postgresql}" 
--skip-missing-interpreters
+services:
+  - postgres
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.2/.hgtags 
new/trytond_purchase-4.2.3/.hgtags
--- old/trytond_purchase-4.2.2/.hgtags  1970-01-01 01:00:00.0 +0100
+++ new/trytond_purchase-4.2.3/.hgtags  2017-11-08 00:40:44.0 +0100
@@ -0,0 +1,20 @@
+28f5e05376cda70f569743e695369f3dcb5462d0 1.0.0
+8411703acab8ab25c5b6a34cedbaa65d8edfb74d 1.2.0
+821a4e526a660debd9e815f866edeaef93026535 1.4.0
+eaeea51fd310f387cc5593ac03caa0a7926ed377 1.6.0
+c5a5d252430911794635b127796bb69727c4c50f 1.8.0
+cf37cf340aadf693703bb72cd9090349698f5eec 2.0.0
+155968df100be420b04452a4a66bff26d9b09d9c 2.2.0
+16f519261f4717b8311fab4525fe9b42624fb9d9 2.4.0
+9aa18c79df9b40d85456d01bdc67ed599c49ed65 2.6.0
+94e08118db32cc429b90c45ed6243a5485d927bb 2.8.0
+37e7ff56a2020b546a3ab4362de63fef916485b4 3.0.0
+775b22f5d584e37ecf96e20519c672cc2c78e137 3.2.0
+3b5b95037d900f173929b37a54cd4fc2cea18437 3.4.0
+f575cdd64cba4615ed28849f77b7991aee7f8e6b 3.6.0
+c9a20a9ab9833b4dec50884ab524d3dd331395c6 3.8.0
+4a507c55113e94fed4f23aeb299c354ab19f451f 4.0.0
+d26f28ad5629c320e6cb88caac8b28c7e335372b 4.2.0
+082ef8c07ef68bf934d43493987ac975a69b173d 4.2.1
+b0f53bcdaeff1ac4dc91cf946780ed4eab4346ab 4.2.2
+49c99efccb434208fe29bf520eb8cd6693d35977 4.2.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.2/CHANGELOG 
new/trytond_purchase-4.2.3/CHANGELOG
--- old/trytond_purchase-4.2.2/CHANGELOG2017-09-04 22:39:20.0 
+0200
+++ new/trytond_purchase-4.2.3/CHANGELOG2017-11-08 00:40:43.0 
+0100
@@ -1,3 +1,6 @@
+Version 4.2.3 - 2017-11-07
+* Bug fixes (see mercurial logs for details)
+
 Version 4.2.2 - 2017-09-04
 * Bug fixes (see mercurial logs for details)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.2/PKG-INFO 
new/trytond_purchase-4.2.3/PKG-INFO
--- old/trytond_purchase-4.2.2/PKG-INFO 2017-09-04 22:39:21.0 +0200
+++ new/trytond_purchase-4.2.3/PKG-INFO 2017-11-08 00:40:44.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_purchase
-Version: 4.2.2
+Version: 4.2.3
 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-4.2.2/invoice.py 
new/trytond_purchase-4.2.3/invoice.py
--- old/trytond_purchase-4.2.2/invoice.py   2016-11-28 18:39:03.0 
+0100
+++ new/trytond_purchase-4.2.3/invoice.py   2017-11-08 00:40:42.0 
+0100
@@ -66,8 +66,8 @@
 
 @classmethod
 def search_purchases(cls, name, clause):
-return [('lines.origin.purch

commit trytond_purchase for openSUSE:Factory

2017-09-17 Thread root
Hello community,

here is the log from the commit of package trytond_purchase for 
openSUSE:Factory checked in at 2017-09-17 22:39:10

Comparing /work/SRC/openSUSE:Factory/trytond_purchase (Old)
 and  /work/SRC/openSUSE:Factory/.trytond_purchase.new (New)


Package is "trytond_purchase"

Sun Sep 17 22:39:10 2017 rev:3 rq:526514 version:4.2.2

Changes:

--- /work/SRC/openSUSE:Factory/trytond_purchase/trytond_purchase.changes
2017-07-05 23:56:08.255678975 +0200
+++ /work/SRC/openSUSE:Factory/.trytond_purchase.new/trytond_purchase.changes   
2017-09-17 22:40:06.237679228 +0200
@@ -1,0 +2,5 @@
+Sat Sep  9 16:00:55 UTC 2017 - axel.br...@gmx.de
+
+- Version 4.2.2 - Bugfix Release
+
+---

Old:

  trytond_purchase-4.2.1.tar.gz

New:

  trytond_purchase-4.2.2.tar.gz



Other differences:
--
++ trytond_purchase.spec ++
--- /var/tmp/diff_new_pack.x3Lbxv/_old  2017-09-17 22:40:06.857592069 +0200
+++ /var/tmp/diff_new_pack.x3Lbxv/_new  2017-09-17 22:40:06.861591507 +0200
@@ -19,7 +19,7 @@
 
 %define majorver 4.2
 Name:   trytond_purchase
-Version:%{majorver}.1
+Version:%{majorver}.2
 Release:0
 Summary:The "purchase" module for the Tryton ERP system
 License:GPL-3.0

++ trytond_purchase-4.2.1.tar.gz -> trytond_purchase-4.2.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.1/CHANGELOG 
new/trytond_purchase-4.2.2/CHANGELOG
--- old/trytond_purchase-4.2.1/CHANGELOG2017-03-10 11:00:34.0 
+0100
+++ new/trytond_purchase-4.2.2/CHANGELOG2017-09-04 22:39:20.0 
+0200
@@ -1,3 +1,6 @@
+Version 4.2.2 - 2017-09-04
+* Bug fixes (see mercurial logs for details)
+
 Version 4.2.1 - 2017-03-10
 * Bug fixes (see mercurial logs for details)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.1/PKG-INFO 
new/trytond_purchase-4.2.2/PKG-INFO
--- old/trytond_purchase-4.2.1/PKG-INFO 2017-03-10 11:00:43.0 +0100
+++ new/trytond_purchase-4.2.2/PKG-INFO 2017-09-04 22:39:21.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_purchase
-Version: 4.2.1
+Version: 4.2.2
 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-4.2.1/purchase.py 
new/trytond_purchase-4.2.2/purchase.py
--- old/trytond_purchase-4.2.1/purchase.py  2016-11-28 18:39:03.0 
+0100
+++ new/trytond_purchase-4.2.2/purchase.py  2017-09-04 22:39:18.0 
+0200
@@ -446,7 +446,7 @@
 
 def get_tax_amount(self):
 taxes = self._get_taxes().itervalues()
-return sum(tax['amount'] for tax in taxes)
+return sum((tax['amount'] for tax in taxes), Decimal(0))
 
 @classmethod
 def get_amount(cls, purchases, names):
@@ -818,7 +818,10 @@
 purchase.create_return_shipment(return_moves)
 purchase.set_shipment_state()
 if purchase.is_done():
-done.append(purchase)
+if purchase.state != 'done':
+if purchase.state == 'confirmed':
+process.append(purchase)
+done.append(purchase)
 elif purchase.state != 'processing':
 process.append(purchase)
 if process:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.1/setup.cfg 
new/trytond_purchase-4.2.2/setup.cfg
--- old/trytond_purchase-4.2.1/setup.cfg2017-03-10 11:00:43.0 
+0100
+++ new/trytond_purchase-4.2.2/setup.cfg2017-09-04 22:39:21.0 
+0200
@@ -1,5 +1,4 @@
 [egg_info]
 tag_build = 
 tag_date = 0
-tag_svn_revision = 0
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.1/tryton.cfg 
new/trytond_purchase-4.2.2/tryton.cfg
--- old/trytond_purchase-4.2.1/tryton.cfg   2016-11-28 18:42:11.0 
+0100
+++ new/trytond_purchase-4.2.2/tryton.cfg   2017-03-10 11:01:38.0 
+0100
@@ -1,5 +1,5 @@
 [tryton]
-version=4.2.1
+version=4.2.2
 depends:
 account
 account_invoice
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond_purchase-4.2.1/trytond_purchase.egg-info/PKG-INFO 
new/trytond_purchase-4.2.2/trytond_purchase.egg-info/PKG-INFO
--- old/trytond_purchase-4.2.1/trytond_purchase.egg-info/PKG-INFO   
2017-03-10 11:00:42.0 +0100
+++ new/trytond_purchase-4.2.2/trytond_purchase.egg-info/PKG

commit trytond_purchase for openSUSE:Factory

2017-07-05 Thread root
Hello community,

here is the log from the commit of package trytond_purchase for 
openSUSE:Factory checked in at 2017-07-05 23:56:07

Comparing /work/SRC/openSUSE:Factory/trytond_purchase (Old)
 and  /work/SRC/openSUSE:Factory/.trytond_purchase.new (New)


Package is "trytond_purchase"

Wed Jul  5 23:56:07 2017 rev:2 rq:505316 version:4.2.1

Changes:

--- /work/SRC/openSUSE:Factory/trytond_purchase/trytond_purchase.changes
2016-09-23 11:31:03.0 +0200
+++ /work/SRC/openSUSE:Factory/.trytond_purchase.new/trytond_purchase.changes   
2017-07-05 23:56:08.255678975 +0200
@@ -2 +2 @@
-Thu Aug 25 09:10:04 UTC 2016 - axel.br...@gmx.de
+Fri Mar 10 10:24:03 UTC 2017 - axel.br...@gmx.de
@@ -4 +4 @@
-- LICENSE added
+- Version 4.2.1
@@ -7 +7 @@
-Sun Aug 21 12:33:04 UTC 2016 - jeng...@inai.de
+Mon Nov 28 18:22:41 UTC 2016 - axel.br...@gmx.de 
@@ -9 +9,6 @@
-- Update summary/description
+- Tryton Release 4.2 
+
+--- 
+Tue May 02 10:24:48 UTC 2016 - axel.br...@gmx.de 
+
+- Tryton Release 4.0 

Old:

  trytond_purchase-3.8.2.tar.gz

New:

  trytond_purchase-4.2.1.tar.gz



Other differences:
--
++ trytond_purchase.spec ++
--- /var/tmp/diff_new_pack.BufgwV/_old  2017-07-05 23:56:08.775605735 +0200
+++ /var/tmp/diff_new_pack.BufgwV/_new  2017-07-05 23:56:08.779605172 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package trytond_purchase
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2014-2016 Dr. Axel Braun
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,9 +17,9 @@
 #
 
 
-%define majorver 3.8
+%define majorver 4.2
 Name:   trytond_purchase
-Version:%{majorver}.2
+Version:%{majorver}.1
 Release:0
 Summary:The "purchase" module for the Tryton ERP system
 License:GPL-3.0
@@ -27,9 +27,7 @@
 Url:http://www.tryton.org/
 Source: 
http://downloads.tryton.org/%{majorver}/%{name}-%{version}.tar.gz
 BuildRequires:  fdupes
-# List of additional build dependencies
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
+BuildRequires:  python3-setuptools
 Requires:   trytond
 Requires:   trytond_account
 Requires:   trytond_account_invoice
@@ -41,7 +39,6 @@
 Requires:   trytond_stock
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
-%py_requires
 
 %description
 The purchase module defines the Purchase model in the Tryton
@@ -53,16 +50,14 @@
 %setup -q
 
 %build
-python setup.py build
-
+python3 setup.py build   
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+python3 setup.py install --prefix=%_prefix --root=%buildroot 
 %fdupes -s %{buildroot}
 
 %files
 %defattr(-,root,root)
-%doc LICENSE README
-%{python_sitelib}/*
+%{python3_sitelib}/*
 
 %changelog

++ trytond_purchase-3.8.2.tar.gz -> trytond_purchase-4.2.1.tar.gz ++
 39686 lines of diff (skipped)




commit trytond_purchase for openSUSE:Factory

2016-09-23 Thread h_root
Hello community,

here is the log from the commit of package trytond_purchase for 
openSUSE:Factory checked in at 2016-09-23 11:30:55

Comparing /work/SRC/openSUSE:Factory/trytond_purchase (Old)
 and  /work/SRC/openSUSE:Factory/.trytond_purchase.new (New)


Package is "trytond_purchase"

Changes:

New Changes file:

--- /dev/null   2016-09-15 12:42:18.240042505 +0200
+++ /work/SRC/openSUSE:Factory/.trytond_purchase.new/trytond_purchase.changes   
2016-09-23 11:31:03.0 +0200
@@ -0,0 +1,28 @@
+---
+Thu Aug 25 09:10:04 UTC 2016 - axel.br...@gmx.de
+
+- LICENSE added
+
+---
+Sun Aug 21 12:33:04 UTC 2016 - jeng...@inai.de
+
+- Update summary/description
+
+--- 
+Wed Oct 19 20:14:38 UTC 2015 - axel.br...@gmx.de 
+
+- Tryton Release 3.8 
+
+--- 
+Wed Apr 15 07:24:15 UTC 2015 - axel.br...@gmx.de 
+
+- Tryton Release 3.6 
+
+---
+Fri Oct 25 17:51:39 UTC 2013 - axel.br...@gmx.de
+
+- new branch 3.0
+
+
+* Thu May 02 2013 axel.br...@gmx.de
+- initial build

New:

  _service
  trytond_purchase-3.8.2.tar.gz
  trytond_purchase.changes
  trytond_purchase.spec



Other differences:
--
++ trytond_purchase.spec ++
#
# spec file for package trytond_purchase
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2014-2016 Dr. Axel Braun
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define majorver 3.8
Name:   trytond_purchase
Version:%{majorver}.2
Release:0
Summary:The "purchase" module for the Tryton ERP system
License:GPL-3.0
Group:  Productivity/Office/Management
Url:http://www.tryton.org/
Source: 
http://downloads.tryton.org/%{majorver}/%{name}-%{version}.tar.gz
BuildRequires:  fdupes
# List of additional build dependencies
BuildRequires:  python-devel
BuildRequires:  python-setuptools
Requires:   trytond
Requires:   trytond_account
Requires:   trytond_account_invoice
Requires:   trytond_account_product
Requires:   trytond_company
Requires:   trytond_currency
Requires:   trytond_party
Requires:   trytond_product
Requires:   trytond_stock
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildArch:  noarch
%py_requires

%description
The purchase module defines the Purchase model in the Tryton
application platform. The purchase is mainly defined by a party from
which the products will be purchased and a list of purchase lines,
each one containing a product and a quantity.

%prep
%setup -q

%build
python setup.py build


%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%fdupes -s %{buildroot}

%files
%defattr(-,root,root)
%doc LICENSE README
%{python_sitelib}/*

%changelog
++ _service ++