changeset 743fcc216ab6 in modules/account_payment:4.8
details: 
https://hg.tryton.org/modules/account_payment?cmd=changeset;node=743fcc216ab6
description:
        Add missing parent depends

        issue8712
        review258221002
        (grafted from 9070eb9cb2e2b7eaf0c908b5dc9320b7de30b52a)
diffstat:

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

diffs (13 lines):

diff -r 54865e2ad806 -r 743fcc216ab6 payment.py
--- a/payment.py        Tue Feb 19 22:43:52 2019 +0100
+++ b/payment.py        Wed Oct 16 21:18:12 2019 +0200
@@ -263,7 +263,8 @@
     def on_change_party(self):
         self.line = None
 
-    @fields.depends('line')
+    @fields.depends('line',
+        '_parent_line.maturity_date', '_parent_line.payment_amount')
     def on_change_line(self):
         if self.line:
             self.date = self.line.maturity_date

Reply via email to