From 36cd50f571308f5b57049c5dca24e3402a4a27b8 Mon Sep 17 00:00:00 2001
From: Julien Muchembled <jm@nexedi.com>
Date: Thu, 13 Oct 2011 14:51:12 +0200
Subject: [PATCH] Remove 'last_id' from exported BT items

---
 product/ERP5/Document/BusinessTemplate.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5/Document/BusinessTemplate.py b/product/ERP5/Document/BusinessTemplate.py
index e24df9e271..33335711a7 100644
--- a/product/ERP5/Document/BusinessTemplate.py
+++ b/product/ERP5/Document/BusinessTemplate.py
@@ -552,7 +552,7 @@ class BaseTemplateItem(Implicit, Persistent):
     klass = obj.__class__
     classname = klass.__name__
 
-    attr_set = set(('_dav_writelocks', '_filepath', '_owner', 'uid',
+    attr_set = set(('_dav_writelocks', '_filepath', '_owner', 'last_id', 'uid',
                     '__ac_local_roles__'))
     if export:
       if not keep_workflow_history:
-- 
2.30.9