From 52d314e83eca6b560f09f488f10f3e20286a998f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 9 Mar 2015 19:42:20 +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 --- stock.xml | 3 ++- view/template_form.xml | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stock.xml b/stock.xml index 78c66090ae..5c144b389a 100644 --- a/stock.xml +++ b/stock.xml @@ -51,7 +51,8 @@ this repository contains the full copyright notices and license terms. --> Moves stock.move - [('lot', 'in', Eval('active_ids'))] + [('effective_date', 'DESC'), ('planned_date', 'DESC')] - +