diff -Nru tryton-modules-sale-opportunity-5.0.1/CHANGELOG tryton-modules-sale-opportunity-5.0.2/CHANGELOG --- tryton-modules-sale-opportunity-5.0.1/CHANGELOG 2019-02-19 21:10:01.000000000 +0000 +++ tryton-modules-sale-opportunity-5.0.2/CHANGELOG 2019-05-16 15:55:52.000000000 +0000 @@ -1,3 +1,6 @@ +Version 5.0.2 - 2019-05-16 +* Bug fixes (see mercurial logs for details) + Version 5.0.1 - 2019-02-19 * Bug fixes (see mercurial logs for details) diff -Nru tryton-modules-sale-opportunity-5.0.1/debian/changelog tryton-modules-sale-opportunity-5.0.2/debian/changelog --- tryton-modules-sale-opportunity-5.0.1/debian/changelog 2019-07-22 10:17:23.000000000 +0000 +++ tryton-modules-sale-opportunity-5.0.2/debian/changelog 2019-07-23 17:12:22.000000000 +0000 @@ -1,3 +1,9 @@ +tryton-modules-sale-opportunity (5.0.2-1) unstable; urgency=medium + + * Merging upstream version 5.0.2. + + -- Mathias Behrle Tue, 23 Jul 2019 19:12:22 +0200 + tryton-modules-sale-opportunity (5.0.1-2) unstable; urgency=medium * Add the actual upstream maintainer key to signing-key.asc. diff -Nru tryton-modules-sale-opportunity-5.0.1/.hgtags tryton-modules-sale-opportunity-5.0.2/.hgtags --- tryton-modules-sale-opportunity-5.0.1/.hgtags 2019-02-19 21:10:02.000000000 +0000 +++ tryton-modules-sale-opportunity-5.0.2/.hgtags 2019-05-16 15:55:53.000000000 +0000 @@ -17,3 +17,4 @@ f8c109894b1eff1d3b39e8182239553776fab26f 4.8.0 5888934279521ac12caf69431fa5385380fde816 5.0.0 14d668c048d0c82ad27d72420c8efe7314101e61 5.0.1 +d8bae1d719d88f57501577459bf61b23a80f829d 5.0.2 diff -Nru tryton-modules-sale-opportunity-5.0.1/opportunity.py tryton-modules-sale-opportunity-5.0.2/opportunity.py --- tryton-modules-sale-opportunity-5.0.1/opportunity.py 2018-10-01 13:51:18.000000000 +0000 +++ tryton-modules-sale-opportunity-5.0.2/opportunity.py 2019-05-04 08:55:43.000000000 +0000 @@ -484,15 +484,19 @@ SaleLine = Pool().get('sale.line') sale_line = SaleLine( type='line', - quantity=self.quantity, - unit=self.unit, product=self.product, sale=sale, description=None, ) sale_line.on_change_product() + self._set_sale_line_quantity(sale_line) + sale_line.on_change_quantity() return sale_line + def _set_sale_line_quantity(self, sale_line): + sale_line.quantity = self.quantity + sale_line.unit = self.unit + def get_rec_name(self, name): return self.product.rec_name diff -Nru tryton-modules-sale-opportunity-5.0.1/PKG-INFO tryton-modules-sale-opportunity-5.0.2/PKG-INFO --- tryton-modules-sale-opportunity-5.0.1/PKG-INFO 2019-02-19 21:10:03.000000000 +0000 +++ tryton-modules-sale-opportunity-5.0.2/PKG-INFO 2019-05-16 15:55:54.000000000 +0000 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: trytond_sale_opportunity -Version: 5.0.1 +Version: 5.0.2 Summary: Tryton module with leads and opportunities Home-page: http://www.tryton.org/ Author: Tryton diff -Nru tryton-modules-sale-opportunity-5.0.1/tryton.cfg tryton-modules-sale-opportunity-5.0.2/tryton.cfg --- tryton-modules-sale-opportunity-5.0.1/tryton.cfg 2018-10-01 13:52:30.000000000 +0000 +++ tryton-modules-sale-opportunity-5.0.2/tryton.cfg 2019-05-04 08:55:43.000000000 +0000 @@ -1,5 +1,5 @@ [tryton] -version=5.0.1 +version=5.0.2 depends: account account_invoice diff -Nru tryton-modules-sale-opportunity-5.0.1/trytond_sale_opportunity.egg-info/PKG-INFO tryton-modules-sale-opportunity-5.0.2/trytond_sale_opportunity.egg-info/PKG-INFO --- tryton-modules-sale-opportunity-5.0.1/trytond_sale_opportunity.egg-info/PKG-INFO 2019-02-19 21:10:02.000000000 +0000 +++ tryton-modules-sale-opportunity-5.0.2/trytond_sale_opportunity.egg-info/PKG-INFO 2019-05-16 15:55:53.000000000 +0000 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: trytond-sale-opportunity -Version: 5.0.1 +Version: 5.0.2 Summary: Tryton module with leads and opportunities Home-page: http://www.tryton.org/ Author: Tryton