From a0fc86bb6b0efccd021227e2b04011317a46a9e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 25 Nov 2013 12:29:09 +0100 Subject: [PATCH] Fix access rights - Add missing company rule for journal - Allow statement group to validate statement review1801002 --- journal.xml | 9 +++++++++ statement.xml | 5 +++++ 2 files changed, 14 insertions(+) diff --git a/journal.xml b/journal.xml index ad9a92b493..54f890b3fa 100644 --- a/journal.xml +++ b/journal.xml @@ -51,5 +51,14 @@ this repository contains the full copyright notices and license terms. --> + + + + + + [('company', '=', user.company.id if user.company else None)] + + + diff --git a/statement.xml b/statement.xml index 76b7688950..1246805554 100644 --- a/statement.xml +++ b/statement.xml @@ -174,6 +174,11 @@ this repository contains the full copyright notices and license terms. --> + + + + post