From aa58e9b180f7bcd3f936669e4fe7b1ce76d52625 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Faure-Lacroix?= Date: Mon, 29 Dec 2014 17:31:54 +0300 Subject: [PATCH] Comment workflow that cause the error It should work but further errors could help understand what's going Commented other necessary part Add back workflow Add dependency to knowledge --- document_page_approval/__openerp__.py | 1 + document_page_approval/document_page_wkfl.xml | 18 +++++++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/document_page_approval/__openerp__.py b/document_page_approval/__openerp__.py index 6c2b3e1a..a60b5a0c 100644 --- a/document_page_approval/__openerp__.py +++ b/document_page_approval/__openerp__.py @@ -43,6 +43,7 @@ Scenario * Users reading the page see the last approved version. """, 'depends': [ + 'knowledge', 'document_page', 'email_template', ], diff --git a/document_page_approval/document_page_wkfl.xml b/document_page_approval/document_page_wkfl.xml index a4a94b14..7dc85019 100644 --- a/document_page_approval/document_page_wkfl.xml +++ b/document_page_approval/document_page_wkfl.xml @@ -8,15 +8,6 @@ True - - - True - draft - function - page_approval_draft() - - @@ -26,6 +17,15 @@ True + + + True + draft + function + page_approval_draft() + +