From 4a6939744fb32cbb4865a7f75a9cb336111a395b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Wed, 24 Oct 2007 14:51:38 +0000
Subject: [PATCH] workflow_history is not touched directly, so mark it as
 changed explicitly

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17172 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Extensions/CheckPortalTypes.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/product/ERP5/Extensions/CheckPortalTypes.py b/product/ERP5/Extensions/CheckPortalTypes.py
index e9606c1cd8..6d5a675b5e 100644
--- a/product/ERP5/Extensions/CheckPortalTypes.py
+++ b/product/ERP5/Extensions/CheckPortalTypes.py
@@ -97,5 +97,6 @@ def updateCareerValidationState(self):
       for line in career.workflow_history['career_workflow']:
         if 'state' in line:
           line['validation_state'] = line.pop('state')
+      career.workflow_history._p_changed = 1
       career.reindexObject()
     
-- 
2.30.9