From a509e8a9feea335e5eed1e4bf489cd4b419ffa12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 27 Dec 2012 22:05:51 +0100 Subject: [PATCH] Replace (Field, Operator, Operand) by Domain in Rule review599002 --- sale.xml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sale.xml b/sale.xml index cfaa035c55..107c28f671 100644 --- a/sale.xml +++ b/sale.xml @@ -546,9 +546,7 @@ this repository contains the full copyright notices and license terms. --> - - = - User/Current Company + [('company', '=', user.company.id if user.company else None)]