Commit 08b3ae6b authored by Arnaud Fontaine's avatar Arnaud Fontaine

ZODB Components: Non-core bt5 with 'Document Component' overriding standard...

ZODB Components: Non-core bt5 with 'Document Component' overriding standard ERP5 Document must create its own version_priority.

Otherwise this will clash when standard ERP5 Document will be migrated to ZODB
Components to erp5_base.
parent 2483d8eb
......@@ -10,9 +10,15 @@
<key> <string>default_reference</string> </key>
<value> <string>Person</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>document.erp5.Person</string> </value>
<value> <string>document.erp5_certificate_authority.Person</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
......@@ -61,51 +67,28 @@
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
<global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>validate</string> </value>
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>ERP5TypeTestCase</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>time</string> </key>
<value>
<object>
<klass>
<global name="DateTime" module="DateTime.DateTime"/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>1377844612.34</float>
<string>GMT+9</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key> <string>validation_state</string> </key>
<value> <string>validated</string> </value>
</item>
</dictionary>
</list>
</tuple>
<dictionary>
<item>
<key> <string>_log</string> </key>
<value>
<list>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>validate</string> </value>
</item>
<item>
<key> <string>validation_state</string> </key>
<value> <string>validated</string> </value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
document.erp5.Person
\ No newline at end of file
document.erp5_certificate_authority.Person
\ No newline at end of file
portal_components/document.erp5.Person
\ No newline at end of file
erp5_certificate_authority | 10.0
\ No newline at end of file
......@@ -26,7 +26,7 @@
#
##############################################################################
from Products.ERP5.Document.Person import Person
from Products.ERP5.Document.Person import Person as ERP5Person
from AccessControl import ClassSecurityInfo
from Products.CMFCore.utils import _checkPermission
from Products.CMFCore.exceptions import AccessControl_Unauthorized
......@@ -35,7 +35,7 @@ from Products.CMFCore.exceptions import AccessControl_Unauthorized
from Products.ERP5Type import Permissions, PropertySheet, Constraint
class Person(Person):
class Person(ERP5Person):
"""
"""
security = ClassSecurityInfo()
......
document.erp5.EGovTypeInformation
document.erp5.Person
\ No newline at end of file
document.erp5_egov.Person
\ No newline at end of file
portal_components/document.erp5.Person
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment