changeset 555f90b1dfc4 in modules/account_payment_clearing:default
details: 
https://hg.tryton.org/modules/account_payment_clearing?cmd=changeset;node=555f90b1dfc4
description:
        Prevent assign unknown attributes on Model

        by adding __slots__ on proteus classes.

        issue6573
        review254081002
diffstat:

 tests/scenario_account_negative_payment_clearing.rst |  1 -
 tests/scenario_account_payment_clearing.rst          |  1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r dd858dac381e -r 555f90b1dfc4 
tests/scenario_account_negative_payment_clearing.rst
--- a/tests/scenario_account_negative_payment_clearing.rst      Thu Jun 27 
21:41:55 2019 +0200
+++ b/tests/scenario_account_negative_payment_clearing.rst      Sat Sep 07 
23:38:20 2019 +0200
@@ -45,7 +45,6 @@
     >>> bank_clearing.type = payable.type
     >>> bank_clearing.reconcile = True
     >>> bank_clearing.deferral = True
-    >>> bank_clearing.kind = 'other'
     >>> bank_clearing.save()
 
     >>> Journal = Model.get('account.journal')
diff -r dd858dac381e -r 555f90b1dfc4 tests/scenario_account_payment_clearing.rst
--- a/tests/scenario_account_payment_clearing.rst       Thu Jun 27 21:41:55 
2019 +0200
+++ b/tests/scenario_account_payment_clearing.rst       Sat Sep 07 23:38:20 
2019 +0200
@@ -49,7 +49,6 @@
     >>> bank_clearing.type = payable.type
     >>> bank_clearing.reconcile = True
     >>> bank_clearing.deferral = True
-    >>> bank_clearing.kind = 'other'
     >>> bank_clearing.save()
 
     >>> Journal = Model.get('account.journal')

Reply via email to