From 9f437c8d6125b4d92205931dcc5689b4c877954a Mon Sep 17 00:00:00 2001
From: Nicolas Dumazet <nicolas.dumazet@nexedi.com>
Date: Wed, 22 Sep 2010 08:56:12 +0000
Subject: [PATCH] Add an 'abstract' group for Amount/Movement soon-to-be new
 portal types. Those are required to spawn newTempXXX with portal types as
 classes

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38539 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Type/ERP5Type.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/product/ERP5Type/ERP5Type.py b/product/ERP5Type/ERP5Type.py
index 227cd63ca7..a5a36d54d7 100644
--- a/product/ERP5Type/ERP5Type.py
+++ b/product/ERP5Type/ERP5Type.py
@@ -237,7 +237,10 @@ class ERP5TypeInformation(XMLObject,
       'alarm', 'rule',
       # ERP5 UBM (5 Classes)
       'resource', 'node', 'item',
-      'path', # movement is generated from all *_movement group above
+      'path', # movement is generated from all *_movement group above.
+      # Documents need to have portal types associated to them
+      # just to be able to spawn temporary objects with the same behavior
+      'abstract',
       # Trade
       'discount', 'payment_condition', 'payment_node',
       'supply', 'supply_path', 'inventory_movement', 'tax_movement',
-- 
2.30.9