Hello community, here is the log from the commit of package trytond_account_invoice_stock for openSUSE:Factory checked in at 2020-05-08 23:09:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/trytond_account_invoice_stock (Old) and /work/SRC/openSUSE:Factory/.trytond_account_invoice_stock.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "trytond_account_invoice_stock" Fri May 8 23:09:00 2020 rev:7 rq:801847 version:5.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/trytond_account_invoice_stock/trytond_account_invoice_stock.changes 2020-04-05 20:54:38.257255533 +0200 +++ /work/SRC/openSUSE:Factory/.trytond_account_invoice_stock.new.2738/trytond_account_invoice_stock.changes 2020-05-08 23:09:01.378312231 +0200 @@ -1,0 +2,5 @@ +Fri May 1 17:48:00 UTC 2020 - Axel Braun <axel.br...@gmx.de> + +- Version 5.0.3 - Bugfix Release + +------------------------------------------------------------------- Old: ---- trytond_account_invoice_stock-5.0.2.tar.gz New: ---- trytond_account_invoice_stock-5.0.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ trytond_account_invoice_stock.spec ++++++ --- /var/tmp/diff_new_pack.I7GJbu/_old 2020-05-08 23:09:02.046313596 +0200 +++ /var/tmp/diff_new_pack.I7GJbu/_new 2020-05-08 23:09:02.050313604 +0200 @@ -20,7 +20,7 @@ %define majorver 5.0 Name: trytond_account_invoice_stock -Version: %{majorver}.2 +Version: %{majorver}.3 Release: 0 Summary: The "account_invoice_stock" module for the Tryton ERP system License: GPL-3.0-only ++++++ trytond_account_invoice_stock-5.0.2.tar.gz -> trytond_account_invoice_stock-5.0.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_account_invoice_stock-5.0.2/.hgtags new/trytond_account_invoice_stock-5.0.3/.hgtags --- old/trytond_account_invoice_stock-5.0.2/.hgtags 2020-04-04 17:46:43.000000000 +0200 +++ new/trytond_account_invoice_stock-5.0.3/.hgtags 2020-05-01 18:01:57.000000000 +0200 @@ -10,3 +10,4 @@ 8d2d5e121643a1da0fef72d16c5ac57ec356bb3a 5.0.0 b466fa50cd7a83c027f32da42f87071fd2c02a7f 5.0.1 1a410b9e40ac677e5e6431415ef3ddd2ca4c8d75 5.0.2 +628a300ab8731b9d8f20b5c1a4568d71eb90d5af 5.0.3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_account_invoice_stock-5.0.2/CHANGELOG new/trytond_account_invoice_stock-5.0.3/CHANGELOG --- old/trytond_account_invoice_stock-5.0.2/CHANGELOG 2020-04-04 17:46:42.000000000 +0200 +++ new/trytond_account_invoice_stock-5.0.3/CHANGELOG 2020-05-01 18:01:57.000000000 +0200 @@ -1,3 +1,6 @@ +Version 5.0.3 - 2020-05-01 +* Bug fixes (see mercurial logs for details) + Version 5.0.2 - 2020-04-04 * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_account_invoice_stock-5.0.2/PKG-INFO new/trytond_account_invoice_stock-5.0.3/PKG-INFO --- old/trytond_account_invoice_stock-5.0.2/PKG-INFO 2020-04-04 17:46:44.000000000 +0200 +++ new/trytond_account_invoice_stock-5.0.3/PKG-INFO 2020-05-01 18:01:59.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: trytond_account_invoice_stock -Version: 5.0.2 +Version: 5.0.3 Summary: Tryton module to link stock and invoice Home-page: http://www.tryton.org/ Author: Tryton diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_account_invoice_stock-5.0.2/__init__.py new/trytond_account_invoice_stock-5.0.3/__init__.py --- old/trytond_account_invoice_stock-5.0.2/__init__.py 2018-10-01 15:51:16.000000000 +0200 +++ new/trytond_account_invoice_stock-5.0.3/__init__.py 2020-04-17 14:50:16.000000000 +0200 @@ -11,4 +11,5 @@ InvoiceLineStockMove, InvoiceLine, StockMove, + ShipmentOut, module='account_invoice_stock', type_='model') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_account_invoice_stock-5.0.2/stock.py new/trytond_account_invoice_stock-5.0.3/stock.py --- old/trytond_account_invoice_stock-5.0.2/stock.py 2018-10-01 15:51:16.000000000 +0200 +++ new/trytond_account_invoice_stock-5.0.3/stock.py 2020-04-17 14:50:16.000000000 +0200 @@ -5,7 +5,7 @@ from trytond.transaction import Transaction -__all__ = ['StockMove'] +__all__ = ['StockMove', 'ShipmentOut'] class StockMove(metaclass=PoolMeta): @@ -33,3 +33,13 @@ if not Transaction().context.get('_stock_move_split'): default.setdefault('invoice_lines', None) return super(StockMove, cls).copy(moves, default=default) + + +class ShipmentOut(metaclass=PoolMeta): + __name__ = 'stock.shipment.out' + + def _sync_outgoing_move(self, template=None): + move = super()._sync_outgoing_move(template=template) + if template and template.invoice_lines: + move.invoice_lines = list(template.invoice_lines) + return move diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_account_invoice_stock-5.0.2/tryton.cfg new/trytond_account_invoice_stock-5.0.3/tryton.cfg --- old/trytond_account_invoice_stock-5.0.2/tryton.cfg 2019-02-19 21:56:36.000000000 +0100 +++ new/trytond_account_invoice_stock-5.0.3/tryton.cfg 2020-04-04 17:46:51.000000000 +0200 @@ -1,5 +1,5 @@ [tryton] -version=5.0.2 +version=5.0.3 depends: account_invoice stock diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_account_invoice_stock-5.0.2/trytond_account_invoice_stock.egg-info/PKG-INFO new/trytond_account_invoice_stock-5.0.3/trytond_account_invoice_stock.egg-info/PKG-INFO --- old/trytond_account_invoice_stock-5.0.2/trytond_account_invoice_stock.egg-info/PKG-INFO 2020-04-04 17:46:44.000000000 +0200 +++ new/trytond_account_invoice_stock-5.0.3/trytond_account_invoice_stock.egg-info/PKG-INFO 2020-05-01 18:01:58.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: trytond-account-invoice-stock -Version: 5.0.2 +Version: 5.0.3 Summary: Tryton module to link stock and invoice Home-page: http://www.tryton.org/ Author: Tryton