From 78653bbaa6b68d8de694d8297325e212cb7917cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 9 Mar 2015 19:41:07 +0100 Subject: [PATCH] Remove safe_eval We convert all the fields that were storing python code into PYSON. We add a pyson attribute on field tag to store PYSON value. issue4416 review6971002 --- dunning.xml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/dunning.xml b/dunning.xml index 6fabc9e50f..22b9470a25 100644 --- a/dunning.xml +++ b/dunning.xml @@ -161,14 +161,14 @@ this repository contains the full copyright notices and license terms. --> id="act_dunning_form_domain_draft"> Draft - [('state', '=', 'draft')] + Done - [('state', '=', 'done')] + Dunnings account.dunning - [('line.party', 'in', Eval('active_ids'))] + @@ -214,7 +215,9 @@ this repository contains the full copyright notices and license terms. --> - [('company', '=', user.company.id if user.company else None)] +