Commit fc7e3878 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 5e7f906f
...@@ -10,9 +10,15 @@ ...@@ -10,9 +10,15 @@
<key> <string>default_reference</string> </key> <key> <string>default_reference</string> </key>
<value> <string>Person</string> </value> <value> <string>Person</string> </value>
</item> </item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>document.erp5.Person</string> </value> <value> <string>document.erp5_certificate_authority.Person</string> </value>
</item> </item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
...@@ -61,51 +67,28 @@ ...@@ -61,51 +67,28 @@
</record> </record>
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<pickle> <pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> <global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/>
</pickle> </pickle>
<pickle> <pickle>
<tuple> <dictionary>
<none/> <item>
<list> <key> <string>_log</string> </key>
<dictionary> <value>
<item> <list>
<key> <string>action</string> </key> <dictionary>
<value> <string>validate</string> </value> <item>
</item> <key> <string>action</string> </key>
<item> <value> <string>validate</string> </value>
<key> <string>actor</string> </key> </item>
<value> <string>ERP5TypeTestCase</string> </value> <item>
</item> <key> <string>validation_state</string> </key>
<item> <value> <string>validated</string> </value>
<key> <string>comment</string> </key> </item>
<value> <string></string> </value> </dictionary>
</item> </list>
<item> </value>
<key> <string>time</string> </key> </item>
<value> </dictionary>
<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>
</pickle> </pickle>
</record> </record>
</ZopeData> </ZopeData>
document.erp5.Person document.erp5_certificate_authority.Person
\ No newline at end of file \ 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 @@ ...@@ -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 AccessControl import ClassSecurityInfo
from Products.CMFCore.utils import _checkPermission from Products.CMFCore.utils import _checkPermission
from Products.CMFCore.exceptions import AccessControl_Unauthorized from Products.CMFCore.exceptions import AccessControl_Unauthorized
...@@ -35,7 +35,7 @@ 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 from Products.ERP5Type import Permissions, PropertySheet, Constraint
class Person(Person): class Person(ERP5Person):
""" """
""" """
security = ClassSecurityInfo() security = ClassSecurityInfo()
......
document.erp5.EGovTypeInformation document.erp5.EGovTypeInformation
document.erp5.Person document.erp5_egov.Person
\ No newline at end of file \ 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