Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
138
Merge Requests
138
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
f2725631
Commit
f2725631
authored
Apr 23, 2020
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ZODB Components: erp5_calendar: Migrate Documents and Test from filesystem.
parent
224ee9a7
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
570 additions
and
63 deletions
+570
-63
bt5/erp5_calendar/DocumentTemplateItem/portal_components/document.erp5.Calendar.py
...tTemplateItem/portal_components/document.erp5.Calendar.py
+20
-20
bt5/erp5_calendar/DocumentTemplateItem/portal_components/document.erp5.Calendar.xml
...TemplateItem/portal_components/document.erp5.Calendar.xml
+110
-0
bt5/erp5_calendar/DocumentTemplateItem/portal_components/document.erp5.CalendarException.py
...Item/portal_components/document.erp5.CalendarException.py
+0
-0
bt5/erp5_calendar/DocumentTemplateItem/portal_components/document.erp5.CalendarException.xml
...tem/portal_components/document.erp5.CalendarException.xml
+104
-0
bt5/erp5_calendar/DocumentTemplateItem/portal_components/document.erp5.GroupCalendarAssignment.py
...ortal_components/document.erp5.GroupCalendarAssignment.py
+1
-1
bt5/erp5_calendar/DocumentTemplateItem/portal_components/document.erp5.LeavePeriod.py
...mplateItem/portal_components/document.erp5.LeavePeriod.py
+1
-1
bt5/erp5_calendar/DocumentTemplateItem/portal_components/document.erp5.LeavePeriod.xml
...plateItem/portal_components/document.erp5.LeavePeriod.xml
+110
-0
bt5/erp5_calendar/DocumentTemplateItem/portal_components/document.erp5.PresencePeriod.py
...ateItem/portal_components/document.erp5.PresencePeriod.py
+0
-0
bt5/erp5_calendar/DocumentTemplateItem/portal_components/document.erp5.PresencePeriod.xml
...teItem/portal_components/document.erp5.PresencePeriod.xml
+104
-0
bt5/erp5_calendar/TestTemplateItem/portal_components/test.erp5.testCalendar.py
...tTemplateItem/portal_components/test.erp5.testCalendar.py
+3
-40
bt5/erp5_calendar/TestTemplateItem/portal_components/test.erp5.testCalendar.xml
...TemplateItem/portal_components/test.erp5.testCalendar.xml
+110
-0
bt5/erp5_calendar/bt/template_document_id_list
bt5/erp5_calendar/bt/template_document_id_list
+5
-1
bt5/erp5_calendar/bt/template_test_id_list
bt5/erp5_calendar/bt/template_test_id_list
+1
-0
bt5/erp5_calendar/bt/test_dependency_list
bt5/erp5_calendar/bt/test_dependency_list
+1
-0
No files found.
product/ERP5/Document/
Calendar.py
→
bt5/erp5_calendar/DocumentTemplateItem/portal_components/document.erp5.
Calendar.py
View file @
f2725631
bt5/erp5_calendar/DocumentTemplateItem/portal_components/document.erp5.Calendar.xml
0 → 100644
View file @
f2725631
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Document Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
Calendar
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.Document.Calendar
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
document.erp5.Calendar
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Document Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<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>
product/ERP5/Document/
CalendarException.py
→
bt5/erp5_calendar/DocumentTemplateItem/portal_components/document.erp5.
CalendarException.py
View file @
f2725631
File moved
bt5/erp5_calendar/DocumentTemplateItem/portal_components/document.erp5.CalendarException.xml
0 → 100644
View file @
f2725631
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Document Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
CalendarException
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.Document.CalendarException
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
document.erp5.CalendarException
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Document Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<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>
bt5/erp5_calendar/DocumentTemplateItem/portal_components/document.erp5.GroupCalendarAssignment.py
View file @
f2725631
...
...
@@ -28,7 +28,7 @@
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
from
Products.ERP5Type.Accessor.Constant
import
PropertyGetter
as
ConstantGetter
from
Products.ERP5.D
ocument.PresencePeriod
import
PresencePeriod
from
erp5.component.d
ocument.PresencePeriod
import
PresencePeriod
class
GroupCalendarAssignment
(
PresencePeriod
):
# CMF Type Definition
...
...
product/ERP5/Document/
LeavePeriod.py
→
bt5/erp5_calendar/DocumentTemplateItem/portal_components/document.erp5.
LeavePeriod.py
View file @
f2725631
...
...
@@ -30,7 +30,7 @@
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5.D
ocument.PresencePeriod
import
PresencePeriod
from
erp5.component.d
ocument.PresencePeriod
import
PresencePeriod
class
LeavePeriod
(
PresencePeriod
):
"""
...
...
bt5/erp5_calendar/DocumentTemplateItem/portal_components/document.erp5.LeavePeriod.xml
0 → 100644
View file @
f2725631
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Document Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
LeavePeriod
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.Document.LeavePeriod
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
document.erp5.LeavePeriod
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Document Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<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>
product/ERP5/Document/
PresencePeriod.py
→
bt5/erp5_calendar/DocumentTemplateItem/portal_components/document.erp5.
PresencePeriod.py
View file @
f2725631
File moved
bt5/erp5_calendar/DocumentTemplateItem/portal_components/document.erp5.PresencePeriod.xml
0 → 100644
View file @
f2725631
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Document Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
PresencePeriod
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.Document.PresencePeriod
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
document.erp5.PresencePeriod
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Document Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<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>
product/ERP5/tests/
testCalendar.py
→
bt5/erp5_calendar/TestTemplateItem/portal_components/test.erp5.
testCalendar.py
View file @
f2725631
...
...
@@ -30,7 +30,6 @@ import unittest
from
unittest
import
skip
from
Products.ERP5Type.tests.ERP5TypeTestCase
import
ERP5ReportTestCase
from
AccessControl.SecurityManagement
import
newSecurityManager
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
DateTime
import
DateTime
...
...
@@ -62,7 +61,7 @@ class TestCalendar(ERP5ReportTestCase):
cal_type_category_list
=
[
'type1'
,
'type2'
,
'type3'
]
if
len
(
self
.
category_tool
.
calendar_period_type
.
contentValues
())
==
0
:
for
category_id
in
cal_type_category_list
:
o
=
self
.
category_tool
.
calendar_period_type
.
newContent
(
self
.
category_tool
.
calendar_period_type
.
newContent
(
portal_type
=
'Category'
,
id
=
category_id
)
...
...
@@ -175,13 +174,6 @@ class TestCalendar(ERP5ReportTestCase):
group_presence_period
=
group_presence_period
,
)
def
stepSetGroupPresencePeriodValues
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kw
):
"""
Set values on personal calendar period
"""
group_presence_period
=
sequence
.
get
(
'group_presence_period'
)
def
stepSetGroupPresencePeriodDates
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kw
):
"""
...
...
@@ -288,13 +280,6 @@ class TestCalendar(ERP5ReportTestCase):
personal_leave_period
=
sequence
.
get
(
'personal_leave_period'
)
sequence
.
edit
(
obj_to_check
=
personal_leave_period
)
def
stepSetPersonalLeavePeriodValues
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kw
):
"""
Set values on personal calendar event
"""
personal_leave_period
=
sequence
.
get
(
'personal_leave_period'
)
def
stepSetPersonalLeavePeriodDates
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kw
):
"""
...
...
@@ -429,13 +414,6 @@ class TestCalendar(ERP5ReportTestCase):
personal_presence_period
=
sequence
.
get
(
'personal_presence_period'
)
sequence
.
edit
(
obj_to_check
=
personal_presence_period
)
def
stepSetPersonalPresencePeriodValues
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kw
):
"""
Set values on personal calendar event
"""
personal_presence_period
=
sequence
.
get
(
'personal_presence_period'
)
def
stepSetPersonalPresencePeriodDates
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kw
):
"""
...
...
@@ -485,7 +463,6 @@ class TestCalendar(ERP5ReportTestCase):
CreateGroupCalendar
\
SetGroupCalendarAssignment
\
CreateGroupPresencePeriod
\
SetGroupPresencePeriodValues
\
Tic
\
SetGroupCalendarAssignmentToCheck
\
CheckNotCatalogued
\
...
...
@@ -512,7 +489,6 @@ class TestCalendar(ERP5ReportTestCase):
CreateLeaveRequest
\
SetLeaveRequestDestination
\
CreatePersonalLeavePeriod
\
SetPersonalLeavePeriodValues
\
Tic
\
SetPersonalLeavePeriodToCheck
\
CheckNotCatalogued
\
...
...
@@ -540,7 +516,6 @@ class TestCalendar(ERP5ReportTestCase):
CreateLeaveRequest
SetLeaveRequestDestination
CreatePersonalLeavePeriod
SetPersonalLeavePeriodValues
Tic
SetPersonalLeavePeriodToCheck
CheckNotCatalogued
...
...
@@ -686,7 +661,6 @@ class TestCalendar(ERP5ReportTestCase):
CreateGroupCalendar
\
SetGroupCalendarAssignment
\
CreateGroupPresencePeriod
\
SetGroupPresencePeriodValues
\
Tic
\
SetGroupCalendarAssignmentToCheck
\
SetGroupPresencePeriodDates
\
...
...
@@ -705,7 +679,6 @@ class TestCalendar(ERP5ReportTestCase):
CreateGroupCalendar
\
SetGroupCalendarAssignment
\
CreateGroupPresencePeriod
\
SetGroupPresencePeriodValues
\
Tic
\
SetGroupCalendarAssignmentToCheck
\
SetGroupPresencePeriodDates
\
...
...
@@ -725,7 +698,6 @@ class TestCalendar(ERP5ReportTestCase):
CreateGroupCalendar
\
SetGroupCalendarAssignment
\
CreateGroupPresencePeriod
\
SetGroupPresencePeriodValues
\
Tic
\
SetGroupCalendarAssignmentToCheck
\
PlanGroupCalendar
\
...
...
@@ -745,7 +717,6 @@ class TestCalendar(ERP5ReportTestCase):
CreateLeaveRequest
\
SetLeaveRequestDestination
\
CreatePersonalLeavePeriod
\
SetPersonalLeavePeriodValues
\
Tic
\
SetPersonalLeavePeriodToCheck
\
PlanLeaveRequest
\
...
...
@@ -765,7 +736,6 @@ class TestCalendar(ERP5ReportTestCase):
CreateGroupCalendar
\
SetGroupCalendarAssignment
\
CreateGroupPresencePeriod
\
SetGroupPresencePeriodValues
\
Tic
\
SetGroupCalendarAssignmentToCheck
\
SetGroupPresencePeriodDates
\
...
...
@@ -778,7 +748,6 @@ class TestCalendar(ERP5ReportTestCase):
CreateLeaveRequest
\
SetLeaveRequestDestination
\
CreatePersonalLeavePeriod
\
SetPersonalLeavePeriodValues
\
Tic
\
PlanLeaveRequest
\
ConfirmLeaveRequest
\
...
...
@@ -790,13 +759,11 @@ class TestCalendar(ERP5ReportTestCase):
sequence_list
.
play
(
self
)
@
skip
(
"Not Implemented"
)
def
test_04_getCapacityAvailability
(
self
):
"""
Test getCapacityAvailability
"""
return
# XXX this test is disabled
raise
NotImplementedError
# Test that calendar group increase time availability
sequence_list
=
SequenceList
()
sequence_string
=
'
\
...
...
@@ -804,7 +771,6 @@ class TestCalendar(ERP5ReportTestCase):
CreateGroupCalendar
\
SetGroupCalendarAssignment
\
CreateGroupPresencePeriod
\
SetGroupPresencePeriodValues
\
Tic
\
SetGroupCalendarAssignmentToCheck
\
ConfirmGroupCalendar
\
...
...
@@ -823,7 +789,6 @@ class TestCalendar(ERP5ReportTestCase):
CreateGroupCalendar
\
SetGroupCalendarAssignment
\
CreateGroupPresencePeriod
\
SetGroupPresencePeriodValues
\
Tic
\
SetGroupCalendarAssignmentToCheck
\
ConfirmGroupCalendar
\
...
...
@@ -843,7 +808,6 @@ class TestCalendar(ERP5ReportTestCase):
CreateGroupCalendar
\
SetGroupCalendarAssignment
\
CreateGroupPresencePeriod
\
SetGroupPresencePeriodValues
\
Tic
\
SetGroupCalendarAssignmentToCheck
\
ConfirmGroupCalendar
\
...
...
@@ -2116,7 +2080,6 @@ class TestCalendar(ERP5ReportTestCase):
my_default_leave_request_period_stop_date
=
LeaveRequest_view
.
\
my_default_leave_request_period_stop_date
my_start_date
=
LeaveRequest_view
.
my_start_date
my_stop_date
=
LeaveRequest_view
.
my_stop_date
listbox
=
LeaveRequest_view
.
listbox
checkDisplayedAsSimple
()
self
.
assertEqual
(
...
...
@@ -2210,7 +2173,7 @@ class TestCalendar(ERP5ReportTestCase):
my_default_presence_request_period_stop_date
=
PresenceRequest_view
.
\
my_default_presence_request_period_stop_date
my_start_date
=
PresenceRequest_view
.
my_start_date
my_stop_date
=
PresenceRequest_view
.
my_stop_date
listbox
=
PresenceRequest_view
.
listbox
checkDisplayedAsSimple
()
self
.
assertEqual
(
...
...
bt5/erp5_calendar/TestTemplateItem/portal_components/test.erp5.testCalendar.xml
0 → 100644
View file @
f2725631
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testCalendar
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.tests.testCalendar
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testCalendar
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<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>
bt5/erp5_calendar/bt/template_document_id_list
View file @
f2725631
document.erp5.Calendar
document.erp5.CalendarException
document.erp5.GroupCalendarAssignment
document.erp5.LeavePeriod
document.erp5.PresencePeriod
\ No newline at end of file
bt5/erp5_calendar/bt/template_test_id_list
0 → 100644
View file @
f2725631
test.erp5.testCalendar
\ No newline at end of file
bt5/erp5_calendar/bt/test_dependency_list
0 → 100644
View file @
f2725631
erp5_full_text_myisam_catalog
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment