commit trytond_stock for openSUSE:Factory
Hello community, here is the log from the commit of package trytond_stock for openSUSE:Factory checked in at 2020-06-11 14:52:35 Comparing /work/SRC/openSUSE:Factory/trytond_stock (Old) and /work/SRC/openSUSE:Factory/.trytond_stock.new.3606 (New) Package is "trytond_stock" Thu Jun 11 14:52:35 2020 rev:17 rq:813448 version:5.0.10 Changes: --- /work/SRC/openSUSE:Factory/trytond_stock/trytond_stock.changes 2020-03-11 18:50:54.223555695 +0100 +++ /work/SRC/openSUSE:Factory/.trytond_stock.new.3606/trytond_stock.changes 2020-06-11 14:53:38.703085374 +0200 @@ -1,0 +2,5 @@ +Thu Jun 4 09:58:58 UTC 2020 - Axel Braun + +- Version 5.0.10 - Bugfix Release + +--- Old: trytond_stock-5.0.9.tar.gz New: trytond_stock-5.0.10.tar.gz Other differences: -- ++ trytond_stock.spec ++ --- /var/tmp/diff_new_pack.qlZhBe/_old 2020-06-11 14:53:39.815088765 +0200 +++ /var/tmp/diff_new_pack.qlZhBe/_new 2020-06-11 14:53:39.819088777 +0200 @@ -19,7 +19,7 @@ %define majorver 5.0 Name: trytond_stock -Version:%{majorver}.9 +Version:%{majorver}.10 Release:0 Summary:The "stock" module for the Tryton ERP system License:GPL-3.0-only ++ trytond_stock-5.0.9.tar.gz -> trytond_stock-5.0.10.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-5.0.9/.hgtags new/trytond_stock-5.0.10/.hgtags --- old/trytond_stock-5.0.9/.hgtags 2020-03-09 18:34:29.0 +0100 +++ new/trytond_stock-5.0.10/.hgtags2020-06-03 22:17:00.0 +0200 @@ -28,3 +28,4 @@ c28e197150589c730148a7abc40c96cfef65c5fd 5.0.7 858b2cb7a2710b1469be54a7cf4be780694f0c45 5.0.8 e459804ec7619f9ee737d7fa1abdaacd4d4e1ddb 5.0.9 +cbb30461e6c588d68bd536892e568225f1c301b4 5.0.10 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-5.0.9/CHANGELOG new/trytond_stock-5.0.10/CHANGELOG --- old/trytond_stock-5.0.9/CHANGELOG 2020-03-09 18:34:29.0 +0100 +++ new/trytond_stock-5.0.10/CHANGELOG 2020-06-03 22:17:00.0 +0200 @@ -1,3 +1,6 @@ +Version 5.0.10 - 2020-06-03 +* Bug fixes (see mercurial logs for details) + Version 5.0.9 - 2020-03-09 * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-5.0.9/PKG-INFO new/trytond_stock-5.0.10/PKG-INFO --- old/trytond_stock-5.0.9/PKG-INFO2020-03-09 18:34:31.0 +0100 +++ new/trytond_stock-5.0.10/PKG-INFO 2020-06-03 22:17:02.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: trytond_stock -Version: 5.0.9 +Version: 5.0.10 Summary: Tryton module for stock and inventory Home-page: http://www.tryton.org/ Author: Tryton diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-5.0.9/shipment.py new/trytond_stock-5.0.10/shipment.py --- old/trytond_stock-5.0.9/shipment.py 2019-04-10 18:58:35.0 +0200 +++ new/trytond_stock-5.0.10/shipment.py2020-05-20 00:26:34.0 +0200 @@ -444,6 +444,8 @@ def receive(cls, shipments): Move = Pool().get('stock.move') Move.do([m for s in shipments for m in s.incoming_moves]) +Move.delete([m for s in shipments for m in s.inventory_moves +if m.state in ('draft', 'cancel')]) cls.create_inventory_moves(shipments) # Set received state to allow done transition cls.write(shipments, {'state': 'received'}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-5.0.9/tryton.cfg new/trytond_stock-5.0.10/tryton.cfg --- old/trytond_stock-5.0.9/tryton.cfg 2020-02-02 17:14:59.0 +0100 +++ new/trytond_stock-5.0.10/tryton.cfg 2020-03-09 18:34:41.0 +0100 @@ -1,5 +1,5 @@ [tryton] -version=5.0.9 +version=5.0.10 depends: company currency diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-5.0.9/trytond_stock.egg-info/PKG-INFO new/trytond_stock-5.0.10/trytond_stock.egg-info/PKG-INFO --- old/trytond_stock-5.0.9/trytond_stock.egg-info/PKG-INFO 2020-03-09 18:34:30.0 +0100 +++ new/trytond_stock-5.0.10/trytond_stock.egg-info/PKG-INFO2020-06-03 22:17:01.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: trytond-stock -Version: 5.0.9 +Version: 5.0.10 Summary: Tryton module for stock and inventory Home-page: http://www.tryton.org/ Author: Tryton
commit trytond_stock for openSUSE:Factory
Hello community, here is the log from the commit of package trytond_stock for openSUSE:Factory checked in at 2020-03-11 18:48:48 Comparing /work/SRC/openSUSE:Factory/trytond_stock (Old) and /work/SRC/openSUSE:Factory/.trytond_stock.new.3160 (New) Package is "trytond_stock" Wed Mar 11 18:48:48 2020 rev:16 rq:783385 version:5.0.9 Changes: --- /work/SRC/openSUSE:Factory/trytond_stock/trytond_stock.changes 2020-02-10 21:53:21.554188862 +0100 +++ /work/SRC/openSUSE:Factory/.trytond_stock.new.3160/trytond_stock.changes 2020-03-11 18:50:54.223555695 +0100 @@ -1,0 +2,5 @@ +Tue Mar 10 13:01:01 UTC 2020 - Axel Braun + +- Version 5.0.9 - Bugfix Release + +--- Old: trytond_stock-5.0.8.tar.gz New: trytond_stock-5.0.9.tar.gz Other differences: -- ++ trytond_stock.spec ++ --- /var/tmp/diff_new_pack.0M4IjN/_old 2020-03-11 18:50:54.81960 +0100 +++ /var/tmp/diff_new_pack.0M4IjN/_new 2020-03-11 18:50:54.819555962 +0100 @@ -19,7 +19,7 @@ %define majorver 5.0 Name: trytond_stock -Version:%{majorver}.8 +Version:%{majorver}.9 Release:0 Summary:The "stock" module for the Tryton ERP system License:GPL-3.0-only ++ trytond_stock-5.0.8.tar.gz -> trytond_stock-5.0.9.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-5.0.8/.drone.yml new/trytond_stock-5.0.9/.drone.yml --- old/trytond_stock-5.0.8/.drone.yml 2019-04-10 18:58:35.0 +0200 +++ new/trytond_stock-5.0.9/.drone.yml 2020-03-01 16:46:08.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_stock-5.0.8/.hgtags new/trytond_stock-5.0.9/.hgtags --- old/trytond_stock-5.0.8/.hgtags 2020-02-02 17:14:46.0 +0100 +++ new/trytond_stock-5.0.9/.hgtags 2020-03-09 18:34:29.0 +0100 @@ -27,3 +27,4 @@ f4e1cee034e62f75a9e27d1a93e3a21067ff1ca5 5.0.6 c28e197150589c730148a7abc40c96cfef65c5fd 5.0.7 858b2cb7a2710b1469be54a7cf4be780694f0c45 5.0.8 +e459804ec7619f9ee737d7fa1abdaacd4d4e1ddb 5.0.9 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-5.0.8/CHANGELOG new/trytond_stock-5.0.9/CHANGELOG --- old/trytond_stock-5.0.8/CHANGELOG 2020-02-02 17:14:45.0 +0100 +++ new/trytond_stock-5.0.9/CHANGELOG 2020-03-09 18:34:29.0 +0100 @@ -1,3 +1,6 @@ +Version 5.0.9 - 2020-03-09 +* Bug fixes (see mercurial logs for details) + Version 5.0.8 - 2020-02-02 * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-5.0.8/PKG-INFO new/trytond_stock-5.0.9/PKG-INFO --- old/trytond_stock-5.0.8/PKG-INFO2020-02-02 17:14:47.0 +0100 +++ new/trytond_stock-5.0.9/PKG-INFO2020-03-09 18:34:31.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: trytond_stock -Version: 5.0.8 +Version: 5.0.9 Summary: Tryton module for stock and inventory Home-page: http://www.tryton.org/ Author: Tryton diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-5.0.8/move.py new/trytond_stock-5.0.9/move.py --- old/trytond_stock-5.0.8/move.py 2019-11-15 22:44:58.0 +0100 +++ new/trytond_stock-5.0.9/move.py 2020-02-25 22:01:35.0 +0100 @@ -43,16 +43,17 @@ def _quantity_context(cls, name): pool = Pool() Date = pool.get('ir.date') - +today = Date.today() context = Transaction().context new_context = {} +stock_date_end = context.get('stock_date_end') if name == 'quantity': -if (context.get('stock_date_end') -and context['stock_date_end'] > Date.today()): -new_context['stock_date_end'] = Date.today() +new_context['forecast'] = False +if (stock_date_end or datetime.date.max) > today: +new_context['stock_date_end'] = today elif name == 'forecast_quantity': new_context['forecast'] = True -if not context.get('stock_date_end'): +if not stock_date_end: new_context['stock_date_end'] = datetime.date.max return new_context diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-5.0.8/tests/test_stock.py
commit trytond_stock for openSUSE:Factory
Hello community, here is the log from the commit of package trytond_stock for openSUSE:Factory checked in at 2020-02-10 21:53:16 Comparing /work/SRC/openSUSE:Factory/trytond_stock (Old) and /work/SRC/openSUSE:Factory/.trytond_stock.new.26092 (New) Package is "trytond_stock" Mon Feb 10 21:53:16 2020 rev:15 rq:772532 version:5.0.8 Changes: --- /work/SRC/openSUSE:Factory/trytond_stock/trytond_stock.changes 2019-12-04 14:19:52.610412682 +0100 +++ /work/SRC/openSUSE:Factory/.trytond_stock.new.26092/trytond_stock.changes 2020-02-10 21:53:21.554188862 +0100 @@ -1,0 +2,5 @@ +Sun Feb 2 18:39:58 UTC 2020 - Axel Braun + +- Version 5.0.8 - Bugfix Release + +--- Old: trytond_stock-5.0.7.tar.gz New: trytond_stock-5.0.8.tar.gz Other differences: -- ++ trytond_stock.spec ++ --- /var/tmp/diff_new_pack.69dvim/_old 2020-02-10 21:53:22.010189115 +0100 +++ /var/tmp/diff_new_pack.69dvim/_new 2020-02-10 21:53:22.018189119 +0100 @@ -1,7 +1,7 @@ # # spec file for package trytond_stock # -# Copyright (c) 2019 SUSE LLC. +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2014-2016 Dr. Axel Braun # # All modifications and additions to the file contributed by third parties @@ -19,7 +19,7 @@ %define majorver 5.0 Name: trytond_stock -Version:%{majorver}.7 +Version:%{majorver}.8 Release:0 Summary:The "stock" module for the Tryton ERP system License:GPL-3.0-only ++ trytond_stock-5.0.7.tar.gz -> trytond_stock-5.0.8.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-5.0.7/.hgtags new/trytond_stock-5.0.8/.hgtags --- old/trytond_stock-5.0.7/.hgtags 2019-11-08 19:33:28.0 +0100 +++ new/trytond_stock-5.0.8/.hgtags 2020-02-02 17:14:46.0 +0100 @@ -26,3 +26,4 @@ 4085f4d6aef7613452efb022ff6dfe5300451201 5.0.5 f4e1cee034e62f75a9e27d1a93e3a21067ff1ca5 5.0.6 c28e197150589c730148a7abc40c96cfef65c5fd 5.0.7 +858b2cb7a2710b1469be54a7cf4be780694f0c45 5.0.8 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-5.0.7/CHANGELOG new/trytond_stock-5.0.8/CHANGELOG --- old/trytond_stock-5.0.7/CHANGELOG 2019-11-08 19:33:28.0 +0100 +++ new/trytond_stock-5.0.8/CHANGELOG 2020-02-02 17:14:45.0 +0100 @@ -1,3 +1,6 @@ +Version 5.0.8 - 2020-02-02 +* Bug fixes (see mercurial logs for details) + Version 5.0.7 - 2019-11-08 * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-5.0.7/COPYRIGHT new/trytond_stock-5.0.8/COPYRIGHT --- old/trytond_stock-5.0.7/COPYRIGHT 2019-11-08 19:33:27.0 +0100 +++ new/trytond_stock-5.0.8/COPYRIGHT 2020-02-02 17:14:45.0 +0100 @@ -1,7 +1,7 @@ Copyright (C) 2012 Openlabs Technologies & Consulting (P) LTD. -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_stock-5.0.7/PKG-INFO new/trytond_stock-5.0.8/PKG-INFO --- old/trytond_stock-5.0.7/PKG-INFO2019-11-08 19:33:29.0 +0100 +++ new/trytond_stock-5.0.8/PKG-INFO2020-02-02 17:14:47.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: trytond_stock -Version: 5.0.7 +Version: 5.0.8 Summary: Tryton module for stock and inventory Home-page: http://www.tryton.org/ Author: Tryton diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-5.0.7/product.py new/trytond_stock-5.0.8/product.py --- old/trytond_stock-5.0.7/product.py 2019-05-28 09:57:28.0 +0200 +++ new/trytond_stock-5.0.8/product.py 2020-01-27 19:28:36.0 +0100 @@ -201,7 +201,7 @@ if wh_to_add: for wh, storage in wh_to_add.items(): -for key in quantities: +for key in list(quantities.keys()): if key[0] == storage: quantities[(wh,) + key[1:]] = quantities[key] if storage in storage_to_remove: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-5.0.7/tryton.cfg new/trytond_stock-5.0.8/tryton.cfg --- old/trytond_stock-5.0.7/tryton.cfg 2019-06-10 18:58:09.0 +0200 +++ new/trytond_stock-5.0.8/tryton.cfg 2019-11-15
commit trytond_stock for openSUSE:Factory
Hello community, here is the log from the commit of package trytond_stock for openSUSE:Factory checked in at 2019-12-04 13:51:43 Comparing /work/SRC/openSUSE:Factory/trytond_stock (Old) and /work/SRC/openSUSE:Factory/.trytond_stock.new.4691 (New) Package is "trytond_stock" Wed Dec 4 13:51:43 2019 rev:14 rq:752403 version:5.0.7 Changes: --- /work/SRC/openSUSE:Factory/trytond_stock/trytond_stock.changes 2019-07-17 13:14:58.987827172 +0200 +++ /work/SRC/openSUSE:Factory/.trytond_stock.new.4691/trytond_stock.changes 2019-12-04 14:19:52.610412682 +0100 @@ -1,0 +2,5 @@ +Thu Nov 21 14:28:47 UTC 2019 - Axel Braun + +- version 5.0.7 (GNU Health 3.6 series) + +--- Old: trytond_stock-4.6.7.tar.gz New: trytond_stock-5.0.7.tar.gz Other differences: -- ++ trytond_stock.spec ++ --- /var/tmp/diff_new_pack.cjbjNQ/_old 2019-12-04 14:19:53.090413087 +0100 +++ /var/tmp/diff_new_pack.cjbjNQ/_new 2019-12-04 14:19:53.094413090 +0100 @@ -1,7 +1,7 @@ # # spec file for package trytond_stock # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC. # Copyright (c) 2014-2016 Dr. Axel Braun # # All modifications and additions to the file contributed by third parties @@ -17,14 +17,14 @@ # -%define majorver 4.6 +%define majorver 5.0 Name: trytond_stock Version:%{majorver}.7 Release:0 Summary:The "stock" module for the Tryton ERP system License:GPL-3.0-only Group: Productivity/Office/Management -Url:http://www.tryton.org/ +URL:http://www.tryton.org/ Source: http://downloads.tryton.org/%{majorver}/%{name}-%{version}.tar.gz BuildRequires: fdupes BuildRequires: python3-setuptools ++ trytond_stock-4.6.7.tar.gz -> trytond_stock-5.0.7.tar.gz ++ 30834 lines of diff (skipped)
commit trytond_stock for openSUSE:Factory
Hello community, here is the log from the commit of package trytond_stock for openSUSE:Factory checked in at 2019-07-17 13:14:52 Comparing /work/SRC/openSUSE:Factory/trytond_stock (Old) and /work/SRC/openSUSE:Factory/.trytond_stock.new.1887 (New) Package is "trytond_stock" Wed Jul 17 13:14:52 2019 rev:13 rq:714989 version:4.6.7 Changes: --- /work/SRC/openSUSE:Factory/trytond_stock/trytond_stock.changes 2019-06-01 09:48:18.703348622 +0200 +++ /work/SRC/openSUSE:Factory/.trytond_stock.new.1887/trytond_stock.changes 2019-07-17 13:14:58.987827172 +0200 @@ -1,0 +2,5 @@ +Fri Jul 12 17:19:53 UTC 2019 - Axel Braun + +- Version 4.6.7 - Bugfix Release + +--- Old: trytond_stock-4.6.6.tar.gz New: trytond_stock-4.6.7.tar.gz Other differences: -- ++ trytond_stock.spec ++ --- /var/tmp/diff_new_pack.lst1VD/_old 2019-07-17 13:14:59.607826870 +0200 +++ /var/tmp/diff_new_pack.lst1VD/_new 2019-07-17 13:14:59.611826868 +0200 @@ -19,7 +19,7 @@ %define majorver 4.6 Name: trytond_stock -Version:%{majorver}.6 +Version:%{majorver}.7 Release:0 Summary:The "stock" module for the Tryton ERP system License:GPL-3.0-only ++ trytond_stock-4.6.6.tar.gz -> trytond_stock-4.6.7.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.6.6/.hgtags new/trytond_stock-4.6.7/.hgtags --- old/trytond_stock-4.6.6/.hgtags 2019-04-22 10:59:49.0 +0200 +++ new/trytond_stock-4.6.7/.hgtags 2019-06-10 18:59:03.0 +0200 @@ -23,3 +23,4 @@ 14bda8a14924fa28a1efd093974e611cf66cf478 4.6.4 b4a7de54553df7855985ea79f8ee18ddaec339bb 4.6.5 23286f7fcb42114cf3613c11959eda9e3e6ccc20 4.6.6 +5389bc012181209917a0373935a69234570521d3 4.6.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.6.6/CHANGELOG new/trytond_stock-4.6.7/CHANGELOG --- old/trytond_stock-4.6.6/CHANGELOG 2019-04-22 10:59:48.0 +0200 +++ new/trytond_stock-4.6.7/CHANGELOG 2019-06-10 18:59:02.0 +0200 @@ -1,3 +1,6 @@ +Version 4.6.7 - 2019-06-10 +* Bug fixes (see mercurial logs for details) + Version 4.6.6 - 2019-04-22 * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.6.6/PKG-INFO new/trytond_stock-4.6.7/PKG-INFO --- old/trytond_stock-4.6.6/PKG-INFO2019-04-22 10:59:50.0 +0200 +++ new/trytond_stock-4.6.7/PKG-INFO2019-06-10 18:59:03.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: trytond_stock -Version: 4.6.6 +Version: 4.6.7 Summary: Tryton module for stock and inventory Home-page: http://www.tryton.org/ Author: Tryton diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.6.6/doc/index.rst new/trytond_stock-4.6.7/doc/index.rst --- old/trytond_stock-4.6.6/doc/index.rst 2018-08-20 22:55:18.0 +0200 +++ new/trytond_stock-4.6.7/doc/index.rst 2019-06-10 18:59:01.0 +0200 @@ -111,7 +111,7 @@ Product Quantities -++ +-- Product quantities on each location are the sum of all moves coming from or going to this location. For quantities that are computed for @@ -130,7 +130,7 @@ Supplier Shipment -+ +- A supplier shipment is used when products are received from a supplier. It is mainly composed of a party (the supplier), a location @@ -168,7 +168,7 @@ Customer Shipment -+ +- A customer shipment is used for sending products to customer. It is mainly composed of a party (the customer), a location (the warehouse @@ -223,7 +223,7 @@ Internal Shipment -+ +- An internal shipment is used for sending products across locations inside the company. It is mainly composed of two locations and a list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.6.6/product.py new/trytond_stock-4.6.7/product.py --- old/trytond_stock-4.6.6/product.py 2018-08-20 22:55:18.0 +0200 +++ new/trytond_stock-4.6.7/product.py 2019-05-28 09:59:45.0 +0200 @@ -290,9 +290,25 @@ class ProductQuantitiesByWarehouse(ModelSQL, ModelView): 'Product Quantities By Warehouse' __name__ = 'stock.product_quantities_warehouse' -date = fields.Date('Date') + +class _Date(fields.Date): +def get(self, ids, model, name, values=None): +if values is None: +values = {} +result
commit trytond_stock for openSUSE:Factory
Hello community, here is the log from the commit of package trytond_stock for openSUSE:Factory checked in at 2019-06-01 09:48:16 Comparing /work/SRC/openSUSE:Factory/trytond_stock (Old) and /work/SRC/openSUSE:Factory/.trytond_stock.new.5148 (New) Package is "trytond_stock" Sat Jun 1 09:48:16 2019 rev:12 rq:705912 version:4.6.6 Changes: --- /work/SRC/openSUSE:Factory/trytond_stock/trytond_stock.changes 2019-01-21 10:50:01.148043878 +0100 +++ /work/SRC/openSUSE:Factory/.trytond_stock.new.5148/trytond_stock.changes 2019-06-01 09:48:18.703348622 +0200 @@ -1,0 +2,10 @@ +Fri May 17 10:30:46 UTC 2019 - Axel Braun + +- Version 4.6.6 - Bugfix Release + +--- +Sun Mar 24 19:06:30 UTC 2019 - Axel Braun + +- Version 4.6.5 - Bugfix Release + +--- Old: trytond_stock-4.6.4.tar.gz New: trytond_stock-4.6.6.tar.gz Other differences: -- ++ trytond_stock.spec ++ --- /var/tmp/diff_new_pack.PsDy6M/_old 2019-06-01 09:48:20.223348103 +0200 +++ /var/tmp/diff_new_pack.PsDy6M/_new 2019-06-01 09:48:20.259348091 +0200 @@ -1,7 +1,7 @@ # # spec file for package trytond_stock # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2014-2016 Dr. Axel Braun # # All modifications and additions to the file contributed by third parties @@ -19,7 +19,7 @@ %define majorver 4.6 Name: trytond_stock -Version:%{majorver}.4 +Version:%{majorver}.6 Release:0 Summary:The "stock" module for the Tryton ERP system License:GPL-3.0-only ++ trytond_stock-4.6.4.tar.gz -> trytond_stock-4.6.6.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.6.4/.hgtags new/trytond_stock-4.6.6/.hgtags --- old/trytond_stock-4.6.4/.hgtags 2018-11-12 23:46:43.0 +0100 +++ new/trytond_stock-4.6.6/.hgtags 2019-04-22 10:59:49.0 +0200 @@ -21,3 +21,5 @@ 8e763eb7a57ae23ea3291c639da555a7335a22a1 4.6.2 e24ad5a6b468f1cde9ee3d268de9035bf2cf46fb 4.6.3 14bda8a14924fa28a1efd093974e611cf66cf478 4.6.4 +b4a7de54553df7855985ea79f8ee18ddaec339bb 4.6.5 +23286f7fcb42114cf3613c11959eda9e3e6ccc20 4.6.6 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.6.4/CHANGELOG new/trytond_stock-4.6.6/CHANGELOG --- old/trytond_stock-4.6.4/CHANGELOG 2018-11-12 23:46:42.0 +0100 +++ new/trytond_stock-4.6.6/CHANGELOG 2019-04-22 10:59:48.0 +0200 @@ -1,3 +1,9 @@ +Version 4.6.6 - 2019-04-22 +* Bug fixes (see mercurial logs for details) + +Version 4.6.5 - 2019-03-15 +* Bug fixes (see mercurial logs for details) + Version 4.6.4 - 2018-11-12 * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.6.4/COPYRIGHT new/trytond_stock-4.6.6/COPYRIGHT --- old/trytond_stock-4.6.4/COPYRIGHT 2018-11-12 23:46:42.0 +0100 +++ new/trytond_stock-4.6.6/COPYRIGHT 2019-04-22 10:59:48.0 +0200 @@ -1,7 +1,7 @@ Copyright (C) 2012 Openlabs Technologies & Consulting (P) LTD. -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_stock-4.6.4/PKG-INFO new/trytond_stock-4.6.6/PKG-INFO --- old/trytond_stock-4.6.4/PKG-INFO2018-11-12 23:46:43.0 +0100 +++ new/trytond_stock-4.6.6/PKG-INFO2019-04-22 10:59:50.0 +0200 @@ -1,13 +1,12 @@ Metadata-Version: 1.1 Name: trytond_stock -Version: 4.6.4 +Version: 4.6.6 Summary: Tryton module for stock and inventory 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_stock = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.6.4/location.py new/trytond_stock-4.6.6/location.py --- old/trytond_stock-4.6.4/location.py 2018-08-20 22:55:18.0 +0200 +++ new/trytond_stock-4.6.6/location.py 2019-04-10 19:12:16.0 +0200 @@ -292,12 +292,14 @@ @classmethod def search_rec_name(cls, name, clause): -locations = cls.search([ -
commit trytond_stock for openSUSE:Factory
Hello community, here is the log from the commit of package trytond_stock for openSUSE:Factory checked in at 2019-01-21 10:49:39 Comparing /work/SRC/openSUSE:Factory/trytond_stock (Old) and /work/SRC/openSUSE:Factory/.trytond_stock.new.28833 (New) Package is "trytond_stock" Mon Jan 21 10:49:39 2019 rev:11 rq:664375 version:4.6.4 Changes: --- /work/SRC/openSUSE:Factory/trytond_stock/trytond_stock.changes 2018-12-08 11:21:53.182752348 +0100 +++ /work/SRC/openSUSE:Factory/.trytond_stock.new.28833/trytond_stock.changes 2019-01-21 10:50:01.148043878 +0100 @@ -1,0 +2,5 @@ +Tue Nov 13 16:04:44 UTC 2018 - Axel Braun + +- Version 4.6.4 - Bugfix Release + +--- @@ -68,0 +74 @@ + Old: trytond_stock-4.2.8.tar.gz New: trytond_stock-4.6.4.tar.gz Other differences: -- ++ trytond_stock.spec ++ --- /var/tmp/diff_new_pack.S5sL2d/_old 2019-01-21 10:50:02.108042708 +0100 +++ /var/tmp/diff_new_pack.S5sL2d/_new 2019-01-21 10:50:02.132042679 +0100 @@ -17,9 +17,9 @@ # -%define majorver 4.2 +%define majorver 4.6 Name: trytond_stock -Version:%{majorver}.8 +Version:%{majorver}.4 Release:0 Summary:The "stock" module for the Tryton ERP system License:GPL-3.0-only ++ trytond_stock-4.2.8.tar.gz -> trytond_stock-4.6.4.tar.gz ++ 22064 lines of diff (skipped)
commit trytond_stock for openSUSE:Factory
Hello community, here is the log from the commit of package trytond_stock for openSUSE:Factory checked in at 2018-12-08 11:21:38 Comparing /work/SRC/openSUSE:Factory/trytond_stock (Old) and /work/SRC/openSUSE:Factory/.trytond_stock.new.19453 (New) Package is "trytond_stock" Sat Dec 8 11:21:38 2018 rev:10 rq:653623 version:4.2.8 Changes: --- /work/SRC/openSUSE:Factory/trytond_stock/trytond_stock.changes 2018-05-15 10:33:38.455661616 +0200 +++ /work/SRC/openSUSE:Factory/.trytond_stock.new.19453/trytond_stock.changes 2018-12-08 11:21:53.182752348 +0100 @@ -1,0 +2,5 @@ +Tue Nov 13 15:13:12 UTC 2018 - Axel Braun + +- Version 4.2.8 - Bugfix Release + +--- Old: trytond_stock-4.2.7.tar.gz New: trytond_stock-4.2.8.tar.gz Other differences: -- ++ trytond_stock.spec ++ --- /var/tmp/diff_new_pack.K0vaVj/_old 2018-12-08 11:21:53.746751808 +0100 +++ /var/tmp/diff_new_pack.K0vaVj/_new 2018-12-08 11:21:53.746751808 +0100 @@ -13,13 +13,13 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define majorver 4.2 Name: trytond_stock -Version:%{majorver}.7 +Version:%{majorver}.8 Release:0 Summary:The "stock" module for the Tryton ERP system License:GPL-3.0-only ++ trytond_stock-4.2.7.tar.gz -> trytond_stock-4.2.8.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.2.7/.hgtags new/trytond_stock-4.2.8/.hgtags --- old/trytond_stock-4.2.7/.hgtags 2018-04-03 18:18:16.0 +0200 +++ new/trytond_stock-4.2.8/.hgtags 2018-11-12 23:47:34.0 +0100 @@ -22,3 +22,4 @@ 6947c089e6ef6f58bb8de5ace265246dc6d2768a 4.2.5 1e58aa853ed03710d5dff62d9d62e5d1c42128e3 4.2.6 732c51e75017bd833194d9011b7edcc313252b8d 4.2.7 +2c3a987e08ca92e9bda247240d36a39c0e54 4.2.8 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.2.7/CHANGELOG new/trytond_stock-4.2.8/CHANGELOG --- old/trytond_stock-4.2.7/CHANGELOG 2018-04-03 18:18:15.0 +0200 +++ new/trytond_stock-4.2.8/CHANGELOG 2018-11-12 23:47:34.0 +0100 @@ -1,3 +1,6 @@ +Version 4.2.8 - 2018-11-12 +* Bug fixes (see mercurial logs for details) + Version 4.2.7 - 2018-04-03 * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.2.7/PKG-INFO new/trytond_stock-4.2.8/PKG-INFO --- old/trytond_stock-4.2.7/PKG-INFO2018-04-03 18:18:16.0 +0200 +++ new/trytond_stock-4.2.8/PKG-INFO2018-11-12 23:47:35.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: trytond_stock -Version: 4.2.7 +Version: 4.2.8 Summary: Tryton module for stock and inventory Home-page: http://www.tryton.org/ Author: Tryton diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.2.7/move.py new/trytond_stock-4.2.8/move.py --- old/trytond_stock-4.2.7/move.py 2017-11-07 23:59:31.0 +0100 +++ new/trytond_stock-4.2.8/move.py 2018-10-02 13:04:20.0 +0200 @@ -515,7 +515,7 @@ for move in moves: date = (move.effective_date if move.effective_date else move.planned_date) -if date and date < period.date: +if date and date <= period.date: cls.raise_user_error('period_closed', { 'move': move.rec_name, 'period': period.rec_name, @@ -1039,7 +1039,7 @@ context.get('stock_assign')) elif PeriodCache: periods = Period.search([ -('date', '<', context['stock_date_end']), +('date', '<=', context['stock_date_end']), ('state', '=', 'closed'), ], order=[('date', 'DESC')], limit=1) if periods: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.2.7/tryton.cfg new/trytond_stock-4.2.8/tryton.cfg --- old/trytond_stock-4.2.7/tryton.cfg 2018-03-01 23:06:39.0 +0100 +++ new/trytond_stock-4.2.8/tryton.cfg 2018-08-20 23:00:00.0 +0200 @@ -1,5 +1,5 @@ [tryton] -version=4.2.7 +version=4.2.8 depends: company currency diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
commit trytond_stock for openSUSE:Factory
Hello community, here is the log from the commit of package trytond_stock for openSUSE:Factory checked in at 2018-05-15 10:14:11 Comparing /work/SRC/openSUSE:Factory/trytond_stock (Old) and /work/SRC/openSUSE:Factory/.trytond_stock.new (New) Package is "trytond_stock" Tue May 15 10:14:11 2018 rev:9 rq:606654 version:4.2.7 Changes: --- /work/SRC/openSUSE:Factory/trytond_stock/trytond_stock.changes 2018-03-11 15:24:45.012293845 +0100 +++ /work/SRC/openSUSE:Factory/.trytond_stock.new/trytond_stock.changes 2018-05-15 10:33:38.455661616 +0200 @@ -1,0 +2,5 @@ +Thu Apr 5 16:54:48 UTC 2018 - axel.br...@gmx.de + +- Version 4.2.7 - Bugfix Release + +--- Old: trytond_stock-4.2.6.tar.gz New: trytond_stock-4.2.7.tar.gz Other differences: -- ++ trytond_stock.spec ++ --- /var/tmp/diff_new_pack.XBb3Fe/_old 2018-05-15 10:33:39.051639728 +0200 +++ /var/tmp/diff_new_pack.XBb3Fe/_new 2018-05-15 10:33:39.051639728 +0200 @@ -19,7 +19,7 @@ %define majorver 4.2 Name: trytond_stock -Version:%{majorver}.6 +Version:%{majorver}.7 Release:0 Summary:The "stock" module for the Tryton ERP system License:GPL-3.0-only ++ trytond_stock-4.2.6.tar.gz -> trytond_stock-4.2.7.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.2.6/.hgtags new/trytond_stock-4.2.7/.hgtags --- old/trytond_stock-4.2.6/.hgtags 2018-03-01 23:06:24.0 +0100 +++ new/trytond_stock-4.2.7/.hgtags 2018-04-03 18:18:16.0 +0200 @@ -21,3 +21,4 @@ d5f91da91a5ddea522c91855ecb5472adb1b732d 4.2.4 6947c089e6ef6f58bb8de5ace265246dc6d2768a 4.2.5 1e58aa853ed03710d5dff62d9d62e5d1c42128e3 4.2.6 +732c51e75017bd833194d9011b7edcc313252b8d 4.2.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.2.6/CHANGELOG new/trytond_stock-4.2.7/CHANGELOG --- old/trytond_stock-4.2.6/CHANGELOG 2018-03-01 23:06:23.0 +0100 +++ new/trytond_stock-4.2.7/CHANGELOG 2018-04-03 18:18:15.0 +0200 @@ -1,3 +1,6 @@ +Version 4.2.7 - 2018-04-03 +* Bug fixes (see mercurial logs for details) + Version 4.2.6 - 2018-03-01 * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.2.6/PKG-INFO new/trytond_stock-4.2.7/PKG-INFO --- old/trytond_stock-4.2.6/PKG-INFO2018-03-01 23:06:24.0 +0100 +++ new/trytond_stock-4.2.7/PKG-INFO2018-04-03 18:18:16.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: trytond_stock -Version: 4.2.6 +Version: 4.2.7 Summary: Tryton module for stock and inventory Home-page: http://www.tryton.org/ Author: Tryton diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.2.6/location.py new/trytond_stock-4.2.7/location.py --- old/trytond_stock-4.2.6/location.py 2017-08-08 18:36:56.0 +0200 +++ new/trytond_stock-4.2.7/location.py 2018-04-03 18:18:14.0 +0200 @@ -248,7 +248,7 @@ context = {} if (name == 'quantity' -and Transaction().context.get('stock_date_end') > +and Transaction().context.get('stock_date_end', datetime.date.max) > Date_.today()): context['stock_date_end'] = Date_.today() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.2.6/tryton.cfg new/trytond_stock-4.2.7/tryton.cfg --- old/trytond_stock-4.2.6/tryton.cfg 2017-11-07 23:59:52.0 +0100 +++ new/trytond_stock-4.2.7/tryton.cfg 2018-03-01 23:06:39.0 +0100 @@ -1,5 +1,5 @@ [tryton] -version=4.2.6 +version=4.2.7 depends: company currency diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.2.6/trytond_stock.egg-info/PKG-INFO new/trytond_stock-4.2.7/trytond_stock.egg-info/PKG-INFO --- old/trytond_stock-4.2.6/trytond_stock.egg-info/PKG-INFO 2018-03-01 23:06:24.0 +0100 +++ new/trytond_stock-4.2.7/trytond_stock.egg-info/PKG-INFO 2018-04-03 18:18:16.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: trytond-stock -Version: 4.2.6 +Version: 4.2.7 Summary: Tryton module for stock and inventory Home-page: http://www.tryton.org/ Author: Tryton
commit trytond_stock for openSUSE:Factory
Hello community, here is the log from the commit of package trytond_stock for openSUSE:Factory checked in at 2018-03-11 15:24:42 Comparing /work/SRC/openSUSE:Factory/trytond_stock (Old) and /work/SRC/openSUSE:Factory/.trytond_stock.new (New) Package is "trytond_stock" Sun Mar 11 15:24:42 2018 rev:8 rq:584732 version:4.2.6 Changes: --- /work/SRC/openSUSE:Factory/trytond_stock/trytond_stock.changes 2017-11-16 14:03:43.295738878 +0100 +++ /work/SRC/openSUSE:Factory/.trytond_stock.new/trytond_stock.changes 2018-03-11 15:24:45.012293845 +0100 @@ -1,0 +2,5 @@ +Fri Mar 2 09:11:09 UTC 2018 - axel.br...@gmx.de + +- Version 4.2.6 - Bugfix Release + +--- Old: trytond_stock-4.2.5.tar.gz New: trytond_stock-4.2.6.tar.gz Other differences: -- ++ trytond_stock.spec ++ --- /var/tmp/diff_new_pack.ICeZKO/_old 2018-03-11 15:24:45.644271173 +0100 +++ /var/tmp/diff_new_pack.ICeZKO/_new 2018-03-11 15:24:45.652270886 +0100 @@ -1,7 +1,7 @@ # # spec file for package trytond_stock # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2014-2016 Dr. Axel Braun # # All modifications and additions to the file contributed by third parties @@ -19,10 +19,10 @@ %define majorver 4.2 Name: trytond_stock -Version:%{majorver}.5 +Version:%{majorver}.6 Release:0 Summary:The "stock" module for the Tryton ERP system -License:GPL-3.0 +License:GPL-3.0-only Group: Productivity/Office/Management Url:http://www.tryton.org/ Source: http://downloads.tryton.org/%{majorver}/%{name}-%{version}.tar.gz ++ trytond_stock-4.2.5.tar.gz -> trytond_stock-4.2.6.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.2.5/.hgtags new/trytond_stock-4.2.6/.hgtags --- old/trytond_stock-4.2.5/.hgtags 2017-11-07 23:59:33.0 +0100 +++ new/trytond_stock-4.2.6/.hgtags 2018-03-01 23:06:24.0 +0100 @@ -20,3 +20,4 @@ 9f3ce9dd80e5ce5373a1753ca6fc637a6b8c66cb 4.2.3 d5f91da91a5ddea522c91855ecb5472adb1b732d 4.2.4 6947c089e6ef6f58bb8de5ace265246dc6d2768a 4.2.5 +1e58aa853ed03710d5dff62d9d62e5d1c42128e3 4.2.6 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.2.5/CHANGELOG new/trytond_stock-4.2.6/CHANGELOG --- old/trytond_stock-4.2.5/CHANGELOG 2017-11-07 23:59:33.0 +0100 +++ new/trytond_stock-4.2.6/CHANGELOG 2018-03-01 23:06:23.0 +0100 @@ -1,3 +1,6 @@ +Version 4.2.6 - 2018-03-01 +* Bug fixes (see mercurial logs for details) + Version 4.2.5 - 2017-11-07 * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.2.5/COPYRIGHT new/trytond_stock-4.2.6/COPYRIGHT --- old/trytond_stock-4.2.5/COPYRIGHT 2017-11-07 23:59:33.0 +0100 +++ new/trytond_stock-4.2.6/COPYRIGHT 2018-03-01 23:06:23.0 +0100 @@ -1,7 +1,7 @@ Copyright (C) 2012 Openlabs Technologies & Consulting (P) LTD. -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_stock-4.2.5/PKG-INFO new/trytond_stock-4.2.6/PKG-INFO --- old/trytond_stock-4.2.5/PKG-INFO2017-11-07 23:59:34.0 +0100 +++ new/trytond_stock-4.2.6/PKG-INFO2018-03-01 23:06:24.0 +0100 @@ -1,12 +1,13 @@ Metadata-Version: 1.1 Name: trytond_stock -Version: 4.2.5 +Version: 4.2.6 Summary: Tryton module for stock and inventory 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_stock = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.2.5/inventory.py new/trytond_stock-4.2.6/inventory.py --- old/trytond_stock-4.2.5/inventory.py2017-11-07 23:59:31.0 +0100 +++ new/trytond_stock-4.2.6/inventory.py2018-03-01 23:06:22.0 +0100 @@ -227,8 +227,7 @@ # Update existing lines for line in inventory.lines: -if not (line.product.active and -
commit trytond_stock for openSUSE:Factory
Hello community, here is the log from the commit of package trytond_stock for openSUSE:Factory checked in at 2017-11-16 14:03:40 Comparing /work/SRC/openSUSE:Factory/trytond_stock (Old) and /work/SRC/openSUSE:Factory/.trytond_stock.new (New) Package is "trytond_stock" Thu Nov 16 14:03:40 2017 rev:7 rq:542145 version:4.2.5 Changes: --- /work/SRC/openSUSE:Factory/trytond_stock/trytond_stock.changes 2017-10-06 11:03:41.927089504 +0200 +++ /work/SRC/openSUSE:Factory/.trytond_stock.new/trytond_stock.changes 2017-11-16 14:03:43.295738878 +0100 @@ -1,0 +2,5 @@ +Thu Nov 9 06:04:34 UTC 2017 - axel.br...@gmx.de + +- Version 4.2.5 - Bugfix Release + +--- Old: trytond_stock-4.2.4.tar.gz New: trytond_stock-4.2.5.tar.gz Other differences: -- ++ trytond_stock.spec ++ --- /var/tmp/diff_new_pack.Jeiytn/_old 2017-11-16 14:03:44.119709015 +0100 +++ /var/tmp/diff_new_pack.Jeiytn/_new 2017-11-16 14:03:44.119709015 +0100 @@ -19,7 +19,7 @@ %define majorver 4.2 Name: trytond_stock -Version:%{majorver}.4 +Version:%{majorver}.5 Release:0 Summary:The "stock" module for the Tryton ERP system License:GPL-3.0 ++ trytond_stock-4.2.4.tar.gz -> trytond_stock-4.2.5.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.2.4/.drone.yml new/trytond_stock-4.2.5/.drone.yml --- old/trytond_stock-4.2.4/.drone.yml 1970-01-01 01:00:00.0 +0100 +++ new/trytond_stock-4.2.5/.drone.yml 2016-11-28 18:39:12.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_stock-4.2.4/.hgtags new/trytond_stock-4.2.5/.hgtags --- old/trytond_stock-4.2.4/.hgtags 1970-01-01 01:00:00.0 +0100 +++ new/trytond_stock-4.2.5/.hgtags 2017-11-07 23:59:33.0 +0100 @@ -0,0 +1,22 @@ +36cc8c10a10e0df5e7a0ef2cb6d6cdda706c0180 1.0.0 +f1d720635a60692c9abeb972734482e01ebc4b87 1.2.0 +0571f5c67623c43272e5fc05cc381554d6bf3db0 1.4.0 +6a658c8f74a540a10272f5d7f311d6c61c04f3da 1.6.0 +902e4b31b9d56918b1e9eb6e9486f52d19820fa6 1.8.0 +c2e3b9e568b73f262ebf0b69c2ca98f97cbb886e 2.0.0 +3babec8ed968fa95e07a7d90351de0e23a1125bf 2.2.0 +6217a989c27b4780c99ae09ee8cd1bd99807f857 2.4.0 +be073cc040e1ea0eabf77e09eaa8c8c97062e3ab 2.6.0 +83de8e4076f99f7247dc034a909a85a0dc500d84 2.8.0 +1e2bd2e0ec24c7c6109d38625e90462dffb18c13 3.0.0 +bcb26eaee7652f9b11cc717402859b0c3c6d87d2 3.2.0 +70be46258bf1471f5712285ae1772941610aaf7b 3.4.0 +70c741dc67fb55b51b950b2c5fa383318e693e04 3.6.0 +1b17ff426586b71fc7df09353c6337abe409c7cc 3.8.0 +f8628e226bd36c24c4ba5fece3363a272d2090eb 4.0.0 +ba22e15da88bf5736b49a85f12d8d4c864f4bd3f 4.2.0 +a03e56a5b2593526522b067f6a8f08e2e2cace51 4.2.1 +516af9f9a519df32d947ec13468b9fb2174b011f 4.2.2 +9f3ce9dd80e5ce5373a1753ca6fc637a6b8c66cb 4.2.3 +d5f91da91a5ddea522c91855ecb5472adb1b732d 4.2.4 +6947c089e6ef6f58bb8de5ace265246dc6d2768a 4.2.5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.2.4/CHANGELOG new/trytond_stock-4.2.5/CHANGELOG --- old/trytond_stock-4.2.4/CHANGELOG 2017-10-04 22:01:44.0 +0200 +++ new/trytond_stock-4.2.5/CHANGELOG 2017-11-07 23:59:33.0 +0100 @@ -1,3 +1,6 @@ +Version 4.2.5 - 2017-11-07 +* Bug fixes (see mercurial logs for details) + Version 4.2.4 - 2017-10-04 * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.2.4/PKG-INFO new/trytond_stock-4.2.5/PKG-INFO --- old/trytond_stock-4.2.4/PKG-INFO2017-10-04 22:01:45.0 +0200 +++ new/trytond_stock-4.2.5/PKG-INFO2017-11-07 23:59:34.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: trytond_stock -Version: 4.2.4 +Version: 4.2.5 Summary: Tryton module for stock and inventory Home-page: http://www.tryton.org/ Author: Tryton diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.2.4/inventory.py new/trytond_stock-4.2.5/inventory.py --- old/trytond_stock-4.2.4/inventory.py2017-08-08 18:36:56.0 +0200 +++ new/trytond_stock-4.2.5/inventory.py2017-11-07 23:59:31.0 +0100 @@ -358,7 +358,7 @@ @classmethod def search_rec_name(cls, name, clause): -return [('product',) +
commit trytond_stock for openSUSE:Factory
Hello community, here is the log from the commit of package trytond_stock for openSUSE:Factory checked in at 2017-10-06 11:03:41 Comparing /work/SRC/openSUSE:Factory/trytond_stock (Old) and /work/SRC/openSUSE:Factory/.trytond_stock.new (New) Package is "trytond_stock" Fri Oct 6 11:03:41 2017 rev:6 rq:531466 version:4.2.4 Changes: --- /work/SRC/openSUSE:Factory/trytond_stock/trytond_stock.changes 2017-08-18 15:04:20.798639234 +0200 +++ /work/SRC/openSUSE:Factory/.trytond_stock.new/trytond_stock.changes 2017-10-06 11:03:41.927089504 +0200 @@ -1,0 +2,5 @@ +Wed Oct 4 20:26:21 UTC 2017 - axel.br...@gmx.de + +- Version 4.2.4 - Bugfix Release + +--- Old: trytond_stock-4.2.3.tar.gz New: trytond_stock-4.2.4.tar.gz Other differences: -- ++ trytond_stock.spec ++ --- /var/tmp/diff_new_pack.0NSkZG/_old 2017-10-06 11:03:42.574991519 +0200 +++ /var/tmp/diff_new_pack.0NSkZG/_new 2017-10-06 11:03:42.578990915 +0200 @@ -19,7 +19,7 @@ %define majorver 4.2 Name: trytond_stock -Version:%{majorver}.3 +Version:%{majorver}.4 Release:0 Summary:The "stock" module for the Tryton ERP system License:GPL-3.0 ++ trytond_stock-4.2.3.tar.gz -> trytond_stock-4.2.4.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.2.3/CHANGELOG new/trytond_stock-4.2.4/CHANGELOG --- old/trytond_stock-4.2.3/CHANGELOG 2017-08-08 18:36:58.0 +0200 +++ new/trytond_stock-4.2.4/CHANGELOG 2017-10-04 22:01:44.0 +0200 @@ -1,3 +1,6 @@ +Version 4.2.4 - 2017-10-04 +* Bug fixes (see mercurial logs for details) + Version 4.2.3 - 2017-08-08 * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.2.3/PKG-INFO new/trytond_stock-4.2.4/PKG-INFO --- old/trytond_stock-4.2.3/PKG-INFO2017-08-08 18:36:59.0 +0200 +++ new/trytond_stock-4.2.4/PKG-INFO2017-10-04 22:01:45.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: trytond_stock -Version: 4.2.3 +Version: 4.2.4 Summary: Tryton module for stock and inventory Home-page: http://www.tryton.org/ Author: Tryton diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.2.3/period.py new/trytond_stock-4.2.4/period.py --- old/trytond_stock-4.2.3/period.py 2017-08-08 18:36:56.0 +0200 +++ new/trytond_stock-4.2.4/period.py 2017-10-04 22:01:42.0 +0200 @@ -69,7 +69,6 @@ if grouping == ('product',): return pool.get('stock.period.cache') -@classmethod def get_rec_name(self, name): return str(self.date) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.2.3/tryton.cfg new/trytond_stock-4.2.4/tryton.cfg --- old/trytond_stock-4.2.3/tryton.cfg 2017-07-01 23:44:16.0 +0200 +++ new/trytond_stock-4.2.4/tryton.cfg 2017-08-08 18:37:16.0 +0200 @@ -1,5 +1,5 @@ [tryton] -version=4.2.3 +version=4.2.4 depends: company currency diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.2.3/trytond_stock.egg-info/PKG-INFO new/trytond_stock-4.2.4/trytond_stock.egg-info/PKG-INFO --- old/trytond_stock-4.2.3/trytond_stock.egg-info/PKG-INFO 2017-08-08 18:36:59.0 +0200 +++ new/trytond_stock-4.2.4/trytond_stock.egg-info/PKG-INFO 2017-10-04 22:01:45.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: trytond-stock -Version: 4.2.3 +Version: 4.2.4 Summary: Tryton module for stock and inventory Home-page: http://www.tryton.org/ Author: Tryton
commit trytond_stock for openSUSE:Factory
Hello community, here is the log from the commit of package trytond_stock for openSUSE:Factory checked in at 2017-08-18 15:04:16 Comparing /work/SRC/openSUSE:Factory/trytond_stock (Old) and /work/SRC/openSUSE:Factory/.trytond_stock.new (New) Package is "trytond_stock" Fri Aug 18 15:04:16 2017 rev:5 rq:517035 version:4.2.3 Changes: --- /work/SRC/openSUSE:Factory/trytond_stock/trytond_stock.changes 2017-07-05 23:56:22.785632203 +0200 +++ /work/SRC/openSUSE:Factory/.trytond_stock.new/trytond_stock.changes 2017-08-18 15:04:20.798639234 +0200 @@ -1,0 +2,5 @@ +Thu Aug 10 20:04:25 UTC 2017 - axel.br...@gmx.de + +- Version 4.2.3 + +--- Old: trytond_stock-4.2.2.tar.gz New: trytond_stock-4.2.3.tar.gz Other differences: -- ++ trytond_stock.spec ++ --- /var/tmp/diff_new_pack.9Wz6yd/_old 2017-08-18 15:04:23.054321538 +0200 +++ /var/tmp/diff_new_pack.9Wz6yd/_new 2017-08-18 15:04:23.058320975 +0200 @@ -19,7 +19,7 @@ %define majorver 4.2 Name: trytond_stock -Version:%{majorver}.2 +Version:%{majorver}.3 Release:0 Summary:The "stock" module for the Tryton ERP system License:GPL-3.0 ++ trytond_stock-4.2.2.tar.gz -> trytond_stock-4.2.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.2.2/CHANGELOG new/trytond_stock-4.2.3/CHANGELOG --- old/trytond_stock-4.2.2/CHANGELOG 2017-07-01 23:44:01.0 +0200 +++ new/trytond_stock-4.2.3/CHANGELOG 2017-08-08 18:36:58.0 +0200 @@ -1,3 +1,6 @@ +Version 4.2.3 - 2017-08-08 +* Bug fixes (see mercurial logs for details) + Version 4.2.2 - 2017-07-01 * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.2.2/PKG-INFO new/trytond_stock-4.2.3/PKG-INFO --- old/trytond_stock-4.2.2/PKG-INFO2017-07-01 23:44:02.0 +0200 +++ new/trytond_stock-4.2.3/PKG-INFO2017-08-08 18:36:59.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: trytond_stock -Version: 4.2.2 +Version: 4.2.3 Summary: Tryton module for stock and inventory Home-page: http://www.tryton.org/ Author: Tryton diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.2.2/inventory.py new/trytond_stock-4.2.3/inventory.py --- old/trytond_stock-4.2.2/inventory.py2016-11-28 18:39:12.0 +0100 +++ new/trytond_stock-4.2.3/inventory.py2017-08-08 18:36:56.0 +0200 @@ -266,7 +266,6 @@ class InventoryLine(ModelSQL, ModelView): 'Stock Inventory Line' __name__ = 'stock.inventory.line' -_rec_name = 'product' _states = { 'readonly': Eval('inventory_state') != 'draft', } @@ -357,6 +356,10 @@ def get_rec_name(self, name): return self.product.rec_name +@classmethod +def search_rec_name(cls, name, clause): +return [('product',) + tuple(clause[1:])] + def get_uom(self, name): return self.product.default_uom.id diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.2.2/location.py new/trytond_stock-4.2.3/location.py --- old/trytond_stock-4.2.2/location.py 2016-11-28 18:39:12.0 +0100 +++ new/trytond_stock-4.2.3/location.py 2017-08-08 18:36:56.0 +0200 @@ -176,15 +176,19 @@ """ Check locations with moves have types compatible with moves. """ invalid_move_types = ['warehouse', 'view'] Move = Pool().get('stock.move') -if (self.type in invalid_move_types -and Move.search([ +if self.type in invalid_move_types: +# Use root to compute for all companies +with Transaction().set_user(0): +moves = Move.search([ ['OR', ('to_location', '=', self.id), ('from_location', '=', self.id), ], ('state', 'not in', ['staging', 'draft']), -])): -self.raise_user_error('invalid_type_for_moves', (self.rec_name,)) +]) +if moves: +self.raise_user_error( +'invalid_type_for_moves', (self.rec_name,)) @staticmethod def default_active(): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-4.2.2/move.py new/trytond_stock-4.2.3/move.py --- old/trytond_stock-4.2.2/move.py 2016-11-28 18:39:12.0 +0100 +++
commit trytond_stock for openSUSE:Factory
Hello community, here is the log from the commit of package trytond_stock for openSUSE:Factory checked in at 2017-07-05 23:56:21 Comparing /work/SRC/openSUSE:Factory/trytond_stock (Old) and /work/SRC/openSUSE:Factory/.trytond_stock.new (New) Package is "trytond_stock" Wed Jul 5 23:56:21 2017 rev:4 rq:507766 version:4.2.2 Changes: --- /work/SRC/openSUSE:Factory/trytond_stock/trytond_stock.changes 2016-11-08 18:28:25.0 +0100 +++ /work/SRC/openSUSE:Factory/.trytond_stock.new/trytond_stock.changes 2017-07-05 23:56:22.785632203 +0200 @@ -2 +2 @@ -Sun Nov 6 19:41:51 UTC 2016 - axel.br...@gmx.de +Mon Jul 3 09:11:56 UTC 2017 - axel.br...@gmx.de @@ -4 +4 @@ -- version 3.8.4 +- Version 4.2.2 @@ -7 +7 @@ -Sun Sep 25 09:48:05 UTC 2016 - jeng...@inai.de +Fri Mar 10 10:23:37 UTC 2017 - axel.br...@gmx.de @@ -9 +9 @@ -- Update summary/description +- Version 4.2.1 @@ -12 +12 @@ -Tue Sep 6 15:25:12 UTC 2016 - axel.br...@gmx.de +Mon Nov 28 18:22:41 UTC 2016 - axel.br...@gmx.de @@ -14 +14,6 @@ -- version 3.8.3 +- Tryton Release 4.2 + +--- +Tue May 02 10:24:48 UTC 2016 - axel.br...@gmx.de + +- Tryton Release 4.0 Old: trytond_stock-3.8.4.tar.gz New: trytond_stock-4.2.2.tar.gz Other differences: -- ++ trytond_stock.spec ++ --- /var/tmp/diff_new_pack.Rt48Zl/_old 2017-07-05 23:56:23.449538681 +0200 +++ /var/tmp/diff_new_pack.Rt48Zl/_new 2017-07-05 23:56:23.453538118 +0200 @@ -1,7 +1,7 @@ # # spec file for package trytond_stock # -# 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_stock -Version:%{majorver}.4 +Version:%{majorver}.2 Release:0 Summary:The "stock" 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_company Requires: trytond_currency @@ -37,7 +35,6 @@ Requires: trytond_product BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch -%py_requires %description The stock module defines fundamentals for all stock management @@ -49,14 +46,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) -%{python_sitelib}/* +%{python3_sitelib}/* %changelog ++ trytond_stock-3.8.4.tar.gz -> trytond_stock-4.2.2.tar.gz ++ 77483 lines of diff (skipped)
commit trytond_stock for openSUSE:Factory
Hello community, here is the log from the commit of package trytond_stock for openSUSE:Factory checked in at 2016-11-08 18:28:23 Comparing /work/SRC/openSUSE:Factory/trytond_stock (Old) and /work/SRC/openSUSE:Factory/.trytond_stock.new (New) Package is "trytond_stock" Changes: --- /work/SRC/openSUSE:Factory/trytond_stock/trytond_stock.changes 2016-09-30 15:32:08.0 +0200 +++ /work/SRC/openSUSE:Factory/.trytond_stock.new/trytond_stock.changes 2016-11-08 18:28:25.0 +0100 @@ -1,0 +2,5 @@ +Sun Nov 6 19:41:51 UTC 2016 - axel.br...@gmx.de + +- version 3.8.4 + +--- Old: trytond_stock-3.8.3.tar.gz New: trytond_stock-3.8.4.tar.gz Other differences: -- ++ trytond_stock.spec ++ --- /var/tmp/diff_new_pack.CNjQ9X/_old 2016-11-08 18:28:27.0 +0100 +++ /var/tmp/diff_new_pack.CNjQ9X/_new 2016-11-08 18:28:27.0 +0100 @@ -19,7 +19,7 @@ %define majorver 3.8 Name: trytond_stock -Version:%{majorver}.3 +Version:%{majorver}.4 Release:0 Summary:The "stock" module for the Tryton ERP system License:GPL-3.0 ++ trytond_stock-3.8.3.tar.gz -> trytond_stock-3.8.4.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-3.8.3/CHANGELOG new/trytond_stock-3.8.4/CHANGELOG --- old/trytond_stock-3.8.3/CHANGELOG 2016-09-03 12:34:31.0 +0200 +++ new/trytond_stock-3.8.4/CHANGELOG 2016-11-06 17:58:25.0 +0100 @@ -1,3 +1,6 @@ +Version 3.8.4 - 2016-11-06 +* Bug fixes (see mercurial logs for details) + Version 3.8.3 - 2016-09-03 * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-3.8.3/PKG-INFO new/trytond_stock-3.8.4/PKG-INFO --- old/trytond_stock-3.8.3/PKG-INFO2016-09-03 12:34:41.0 +0200 +++ new/trytond_stock-3.8.4/PKG-INFO2016-11-06 17:58:36.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: trytond_stock -Version: 3.8.3 +Version: 3.8.4 Summary: Tryton module for stock and inventory Home-page: http://www.tryton.org/ Author: Tryton diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-3.8.3/move.py new/trytond_stock-3.8.4/move.py --- old/trytond_stock-3.8.3/move.py 2016-01-25 23:32:54.0 +0100 +++ new/trytond_stock-3.8.4/move.py 2016-11-06 17:58:11.0 +0100 @@ -5,6 +5,7 @@ from decimal import Decimal from functools import partial from collections import OrderedDict +from itertools import groupby from sql import Literal, Union, Column, Null from sql.aggregate import Sum @@ -502,19 +503,21 @@ @classmethod def check_period_closed(cls, moves): Period = Pool().get('stock.period') -periods = Period.search([ -('state', '=', 'closed'), -], order=[('date', 'DESC')], limit=1) -if periods: -period, = periods -for move in moves: -date = (move.effective_date if move.effective_date -else move.planned_date) -if date and date < period.date: -cls.raise_user_error('period_closed', { -'move': move.rec_name, -'period': period.rec_name, -}) +for company, moves in groupby(moves, lambda m: m.company): +periods = Period.search([ +('state', '=', 'closed'), +('company', '=', company.id), +], order=[('date', 'DESC')], limit=1) +if periods: +period, = periods +for move in moves: +date = (move.effective_date if move.effective_date +else move.planned_date) +if date and date < period.date: +cls.raise_user_error('period_closed', { +'move': move.rec_name, +'period': period.rec_name, +}) def get_rec_name(self, name): return ("%s%s %s" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-3.8.3/tryton.cfg new/trytond_stock-3.8.4/tryton.cfg --- old/trytond_stock-3.8.3/tryton.cfg 2016-07-04 22:53:13.0 +0200 +++ new/trytond_stock-3.8.4/tryton.cfg 2016-09-03 12:34:58.0 +0200 @@ -1,5 +1,5 @@ [tryton] -version=3.8.3 +version=3.8.4 depends: company currency diff -urN '--exclude=CVS' '--exclude=.cvsignore'
commit trytond_stock for openSUSE:Factory
Hello community, here is the log from the commit of package trytond_stock for openSUSE:Factory checked in at 2016-09-30 15:32:07 Comparing /work/SRC/openSUSE:Factory/trytond_stock (Old) and /work/SRC/openSUSE:Factory/.trytond_stock.new (New) Package is "trytond_stock" Changes: --- /work/SRC/openSUSE:Factory/trytond_stock/trytond_stock.changes 2016-09-23 11:32:23.0 +0200 +++ /work/SRC/openSUSE:Factory/.trytond_stock.new/trytond_stock.changes 2016-09-30 15:32:08.0 +0200 @@ -1,0 +2,5 @@ +Sun Sep 25 09:48:05 UTC 2016 - jeng...@inai.de + +- Update summary/description + +--- Other differences: -- ++ trytond_stock.spec ++ --- /var/tmp/diff_new_pack.hdoxy4/_old 2016-09-30 15:32:09.0 +0200 +++ /var/tmp/diff_new_pack.hdoxy4/_new 2016-09-30 15:32:09.0 +0200 @@ -21,7 +21,7 @@ Name: trytond_stock Version:%{majorver}.3 Release:0 -Summary:Tryton is an OpenSource ERP system +Summary:The "stock" module for the Tryton ERP system License:GPL-3.0 Group: Productivity/Office/Management Url:http://www.tryton.org/ @@ -40,7 +40,10 @@ %py_requires %description -The stock module of the Tryton application platform. +The stock module defines fundamentals for all stock management +situations: Locations where product are stored, moves between these +locations, shipments for product arrivals and departures and +inventory to control and update stock levels. %prep %setup -q @@ -48,7 +51,6 @@ %build python setup.py build - %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} %fdupes -s %{buildroot}
commit trytond_stock for openSUSE:Factory
Hello community, here is the log from the commit of package trytond_stock for openSUSE:Factory checked in at 2016-09-23 11:32:17 Comparing /work/SRC/openSUSE:Factory/trytond_stock (Old) and /work/SRC/openSUSE:Factory/.trytond_stock.new (New) Package is "trytond_stock" Changes: New Changes file: --- /dev/null 2016-09-15 12:42:18.240042505 +0200 +++ /work/SRC/openSUSE:Factory/.trytond_stock.new/trytond_stock.changes 2016-09-23 11:32:23.0 +0200 @@ -0,0 +1,23 @@ +--- +Tue Sep 6 15:25:12 UTC 2016 - axel.br...@gmx.de + +- version 3.8.3 + +--- +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_stock-3.8.3.tar.gz trytond_stock.changes trytond_stock.spec Other differences: -- ++ trytond_stock.spec ++ # # spec file for package trytond_stock # # 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_stock Version:%{majorver}.3 Release:0 Summary:Tryton is an OpenSource 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_company Requires: trytond_currency Requires: trytond_party Requires: trytond_product BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %py_requires %description The stock module of the Tryton application platform. %prep %setup -q %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} %fdupes -s %{buildroot} %files %defattr(-,root,root) %{python_sitelib}/* %changelog ++ _service ++