Commits

kantntreiber committed c4e63e7

Don't change mutable arguments.

Comments (0)

Files changed (1)

 
         if not vals.get('dunning_procedure') and vals.get('party'):
             if account_obj.browse(vals['account']).kind == 'receivable':
+                vals = vals.copy()
                 procedure = party_obj.browse(vals['party']).dunning_procedure
                 vals['dunning_procedure'] = procedure.id