Update depends methods name

issue5191
review47431002
This commit is contained in:
Cédric Krier committed 2018-05-31 13:24:54 +02:00
1 parent 7cd0fccba9
commit 2f74ad234a
1 file changed
+1 -1
+1 -1
View File
@@ -769,7 +769,7 @@ class Line(
'_parent_origin.party', '_parent_origin.account',
'_parent_origin.number', '_parent_origin.description',
'_parent_origin.statement',
methods=['party'])
methods=['on_change_party'])
def on_change_origin(self):
if self.origin:
self.amount = self.origin.pending_amount