540
542
res_round.setdefault(val_round['account_id'], 0)
541
543
res_without_round.setdefault(val_round['account_id'], 0)
542
544
res_ids.setdefault(val_round['account_id'], 0)
544
546
res_without_round[val_round['account_id']] += val_round['without']
545
547
res_ids[val_round['account_id']] = val_round['id']
546
548
for res_diff_id in res_round.items():
547
549
diff_val = abs(res_without_round[res_diff_id[0]]) - abs(res_round[res_diff_id[0]])
550
552
move_diff_id = [res_ids[res_diff_id[0]]]
551
553
for move in self.browse(cr, uid, move_diff_id, context=context):