From 0ee01769a59508cb88ff8ac52877f8688d197e9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 9 Mar 2015 19:41:38 +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 --- company.xml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/company.xml b/company.xml index 6bea031130..0c374c116e 100644 --- a/company.xml +++ b/company.xml @@ -24,7 +24,7 @@ this repository contains the full copyright notices and license terms. --> Companies company.company - [('parent', '=', None)] + @@ -102,11 +102,13 @@ this repository contains the full copyright notices and license terms. --> - [('company', '=', user.company.id if user.company else None)] + - [('company', '=', None)] + @@ -126,11 +128,13 @@ this repository contains the full copyright notices and license terms. --> - [('company', '=', user.company.id if user.company else None)] + - [('company', '=', None)] + @@ -139,11 +143,13 @@ this repository contains the full copyright notices and license terms. --> - [('company', '=', user.company.id if user.company else None)] + - [('company', '=', None)] +