From 8e54633cef77d2c4e8b9a3c2913a1b762caa4215 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 27 Dec 2012 22:06:00 +0100 Subject: [PATCH] Replace (Field, Operator, Operand) by Domain in Rule review599002 --- order_point.xml | 4 +--- purchase_request.xml | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/order_point.xml b/order_point.xml index bbad45f64e..2cc8196a2f 100644 --- a/order_point.xml +++ b/order_point.xml @@ -94,9 +94,7 @@ this repository contains the full copyright notices and license terms. --> - - = - User/Current Company + [('company', '=', user.company.id if user.company else None)] diff --git a/purchase_request.xml b/purchase_request.xml index a09d752cae..abd424b656 100644 --- a/purchase_request.xml +++ b/purchase_request.xml @@ -213,9 +213,7 @@ this repository contains the full copyright notices and license terms. --> - - = - User/Current Company + [('company', '=', user.company.id if user.company else None)]