From 1f766b458da353d15b5cf3f687bea740b85176b8 Mon Sep 17 00:00:00 2001
From: Jean-Paul Smets <jp@nexedi.com>
Date: Sat, 24 Feb 2007 16:58:46 +0000
Subject: [PATCH] Added acquisition from parent value if not defined

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13018 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/PropertySheet/Codification.py | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/product/ERP5/PropertySheet/Codification.py b/product/ERP5/PropertySheet/Codification.py
index 714f1a0da0..271fb6e3b7 100644
--- a/product/ERP5/PropertySheet/Codification.py
+++ b/product/ERP5/PropertySheet/Codification.py
@@ -37,6 +37,13 @@ class Codification:
             'id'          : 'codification',
             'description' : 'a string which can be used to identify a category',
             'type'        : 'string',
+            'acquisition_base_category' : ('parent',),
+            'acquisition_portal_type'   : ('Category',),
+            'acquisition_copy_value'    : 0,
+            'acquisition_mask_value'    : 1,
+            'acquisition_sync_value'    : 0,
+            'acquisition_accessor_id'   : 'getCodification',
+            'acquisition_depends'       : None,
             'mode'        : 'w',
         },
     )
-- 
2.30.9