changeset b9329dc4ee28 in modules/account_cash_rounding:default
details: 
https://hg.tryton.org/modules/account_cash_rounding?cmd=changeset;node=b9329dc4ee28
description:
        Assign the last value to cash_rounding field

        issue9332
        review291721002
diffstat:

 purchase.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 38d4a80ef2c0 -r b9329dc4ee28 purchase.py
--- a/purchase.py       Mon May 04 12:06:28 2020 +0200
+++ b/purchase.py       Tue May 19 18:49:04 2020 +0200
@@ -30,7 +30,7 @@
                     limit=1))
             row = cursor.fetchone()
             if row:
-                selfcash_rounding, = row
+                self.cash_rounding, = row
 
     @fields.depends(methods=['on_change_lines'])
     def on_change_cash_rounding(self):

Reply via email to