From 87d4d5168b5a87d5002c10d07d25d0303e52b0b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Wed, 16 Nov 2005 09:02:21 +0000 Subject: [PATCH] notify the perisistence system of changes in subobjects by a dummy class variable affectation. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4337 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Form/PDFForm.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/product/ERP5Form/PDFForm.py b/product/ERP5Form/PDFForm.py index 5c4e97ce80..1805f41f27 100755 --- a/product/ERP5Form/PDFForm.py +++ b/product/ERP5Form/PDFForm.py @@ -475,7 +475,9 @@ class PDFForm(File): %(cell_name, `TALES`)) raise ValueError, 'TALES must be a string' self.all_cells[str(cell_name)] = self.cells[str(cell_name)] = TALES - + # invalidate for persistence + self.all_cells = self.all_cells + security.declareProtected(Permissions.View, 'getCellTALES') def getCellTALES(self, cell_name): """ returns the TALES expression associated with this cell """ -- 2.30.9