diff -Nru tryton-modules-purchase-6.0.3/CHANGELOG tryton-modules-purchase-6.0.4/CHANGELOG --- tryton-modules-purchase-6.0.3/CHANGELOG 2021-09-16 21:48:12.000000000 +0000 +++ tryton-modules-purchase-6.0.4/CHANGELOG 2021-11-04 23:11:51.000000000 +0000 @@ -1,3 +1,6 @@ +Version 6.0.4 - 2021-11-04 +* Bug fixes (see mercurial logs for details) + Version 6.0.3 - 2021-09-16 * Bug fixes (see mercurial logs for details) diff -Nru tryton-modules-purchase-6.0.3/debian/changelog tryton-modules-purchase-6.0.4/debian/changelog --- tryton-modules-purchase-6.0.3/debian/changelog 2021-11-12 20:53:09.000000000 +0000 +++ tryton-modules-purchase-6.0.4/debian/changelog 2021-12-18 10:35:23.000000000 +0000 @@ -1,3 +1,9 @@ +tryton-modules-purchase (6.0.4-1) unstable; urgency=medium + + * Merging upstream version 6.0.4. + + -- Mathias Behrle Sat, 18 Dec 2021 11:35:23 +0100 + tryton-modules-purchase (6.0.3-2) unstable; urgency=medium * Use debhelper-compat (=13). diff -Nru tryton-modules-purchase-6.0.3/.hgtags tryton-modules-purchase-6.0.4/.hgtags --- tryton-modules-purchase-6.0.3/.hgtags 2021-09-16 21:48:13.000000000 +0000 +++ tryton-modules-purchase-6.0.4/.hgtags 2021-11-04 23:11:51.000000000 +0000 @@ -27,3 +27,4 @@ 72b15615452bc64fd73b5caf3c0abc1351d94dec 6.0.1 1f62b71cc7b791fb68b670f3b3999ceb92f42850 6.0.2 59df785ea68a332dd6bab8eedec328fa13b26146 6.0.3 +86d73697a72fedc55d5fc130c17893faac5d0245 6.0.4 diff -Nru tryton-modules-purchase-6.0.3/PKG-INFO tryton-modules-purchase-6.0.4/PKG-INFO --- tryton-modules-purchase-6.0.3/PKG-INFO 2021-09-16 21:48:14.419874200 +0000 +++ tryton-modules-purchase-6.0.4/PKG-INFO 2021-11-04 23:11:53.203044000 +0000 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: trytond_purchase -Version: 6.0.3 +Version: 6.0.4 Summary: Tryton module for purchase Home-page: http://www.tryton.org/ Author: Tryton diff -Nru tryton-modules-purchase-6.0.3/purchase.py tryton-modules-purchase-6.0.4/purchase.py --- tryton-modules-purchase-6.0.3/purchase.py 2021-07-21 10:03:03.000000000 +0000 +++ tryton-modules-purchase-6.0.4/purchase.py 2021-11-02 17:42:28.000000000 +0000 @@ -1516,6 +1516,8 @@ invoice_line = InvoiceLine() invoice_line.type = self.type + invoice_line.currency = self.currency + invoice_line.company = self.company invoice_line.description = self.description invoice_line.note = self.note invoice_line.origin = self @@ -1545,8 +1547,6 @@ invoice_line.taxes_deductible_rate = ( self.product.supplier_taxes_deductible_rate_used) invoice_line.invoice_type = 'in' - invoice_line.currency = self.currency - invoice_line.company = self.company if self.product: invoice_line.account = self.product.account_expense_used if not invoice_line.account: @@ -1767,6 +1767,7 @@ default.setdefault('moves_ignored', None) default.setdefault('moves_recreated', None) default.setdefault('invoice_lines', None) + default.setdefault('actual_quantity') return super().copy(lines, default=default) diff -Nru tryton-modules-purchase-6.0.3/tryton.cfg tryton-modules-purchase-6.0.4/tryton.cfg --- tryton-modules-purchase-6.0.3/tryton.cfg 2021-08-05 21:49:18.000000000 +0000 +++ tryton-modules-purchase-6.0.4/tryton.cfg 2021-11-02 17:42:28.000000000 +0000 @@ -1,5 +1,5 @@ [tryton] -version=6.0.3 +version=6.0.4 depends: account account_invoice diff -Nru tryton-modules-purchase-6.0.3/trytond_purchase.egg-info/PKG-INFO tryton-modules-purchase-6.0.4/trytond_purchase.egg-info/PKG-INFO --- tryton-modules-purchase-6.0.3/trytond_purchase.egg-info/PKG-INFO 2021-09-16 21:48:13.000000000 +0000 +++ tryton-modules-purchase-6.0.4/trytond_purchase.egg-info/PKG-INFO 2021-11-04 23:11:52.000000000 +0000 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: trytond-purchase -Version: 6.0.3 +Version: 6.0.4 Summary: Tryton module for purchase Home-page: http://www.tryton.org/ Author: Tryton