From 0d3fe9dd1fe2d68888f9654b37be91c45c7ec77c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 9 Mar 2015 19:41:46 +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 --- category.xml | 2 +- party.xml | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/category.xml b/category.xml index d1b88ed03e..82880a9fcd 100644 --- a/category.xml +++ b/category.xml @@ -23,7 +23,7 @@ this repository contains the full copyright notices and license terms. --> Categories party.category - [('parent', '=', None)] + diff --git a/party.xml b/party.xml index 006d73e5ea..1fa7a6b183 100644 --- a/party.xml +++ b/party.xml @@ -62,8 +62,11 @@ this repository contains the full copyright notices and license terms. --> Parties by Category party.party - {'categories': [Eval('active_id')]} - [('categories', 'child_of', [Eval('active_id')], 'parent')] + + tree_open