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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Georgios Dagkakis
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 @@
...
@@ -28,7 +28,7 @@
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
from
Products.ERP5Type
import
Permissions
from
Products.ERP5Type.Accessor.Constant
import
PropertyGetter
as
ConstantGetter
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
):
class
GroupCalendarAssignment
(
PresencePeriod
):
# CMF Type Definition
# 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 @@
...
@@ -30,7 +30,7 @@
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
,
PropertySheet
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
):
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
...
@@ -30,7 +30,6 @@ import unittest
from
unittest
import
skip
from
unittest
import
skip
from
Products.ERP5Type.tests.ERP5TypeTestCase
import
ERP5ReportTestCase
from
Products.ERP5Type.tests.ERP5TypeTestCase
import
ERP5ReportTestCase
from
AccessControl.SecurityManagement
import
newSecurityManager
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
DateTime
import
DateTime
from
DateTime
import
DateTime
...
@@ -62,7 +61,7 @@ class TestCalendar(ERP5ReportTestCase):
...
@@ -62,7 +61,7 @@ class TestCalendar(ERP5ReportTestCase):
cal_type_category_list
=
[
'type1'
,
'type2'
,
'type3'
]
cal_type_category_list
=
[
'type1'
,
'type2'
,
'type3'
]
if
len
(
self
.
category_tool
.
calendar_period_type
.
contentValues
())
==
0
:
if
len
(
self
.
category_tool
.
calendar_period_type
.
contentValues
())
==
0
:
for
category_id
in
cal_type_category_list
:
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'
,
portal_type
=
'Category'
,
id
=
category_id
)
id
=
category_id
)
...
@@ -175,13 +174,6 @@ class TestCalendar(ERP5ReportTestCase):
...
@@ -175,13 +174,6 @@ class TestCalendar(ERP5ReportTestCase):
group_presence_period
=
group_presence_period
,
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
,
def
stepSetGroupPresencePeriodDates
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kw
):
sequence_list
=
None
,
**
kw
):
"""
"""
...
@@ -288,13 +280,6 @@ class TestCalendar(ERP5ReportTestCase):
...
@@ -288,13 +280,6 @@ class TestCalendar(ERP5ReportTestCase):
personal_leave_period
=
sequence
.
get
(
'personal_leave_period'
)
personal_leave_period
=
sequence
.
get
(
'personal_leave_period'
)
sequence
.
edit
(
obj_to_check
=
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
,
def
stepSetPersonalLeavePeriodDates
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kw
):
sequence_list
=
None
,
**
kw
):
"""
"""
...
@@ -429,13 +414,6 @@ class TestCalendar(ERP5ReportTestCase):
...
@@ -429,13 +414,6 @@ class TestCalendar(ERP5ReportTestCase):
personal_presence_period
=
sequence
.
get
(
'personal_presence_period'
)
personal_presence_period
=
sequence
.
get
(
'personal_presence_period'
)
sequence
.
edit
(
obj_to_check
=
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
,
def
stepSetPersonalPresencePeriodDates
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kw
):
sequence_list
=
None
,
**
kw
):
"""
"""
...
@@ -485,7 +463,6 @@ class TestCalendar(ERP5ReportTestCase):
...
@@ -485,7 +463,6 @@ class TestCalendar(ERP5ReportTestCase):
CreateGroupCalendar
\
CreateGroupCalendar
\
SetGroupCalendarAssignment
\
SetGroupCalendarAssignment
\
CreateGroupPresencePeriod
\
CreateGroupPresencePeriod
\
SetGroupPresencePeriodValues
\
Tic
\
Tic
\
SetGroupCalendarAssignmentToCheck
\
SetGroupCalendarAssignmentToCheck
\
CheckNotCatalogued
\
CheckNotCatalogued
\
...
@@ -512,7 +489,6 @@ class TestCalendar(ERP5ReportTestCase):
...
@@ -512,7 +489,6 @@ class TestCalendar(ERP5ReportTestCase):
CreateLeaveRequest
\
CreateLeaveRequest
\
SetLeaveRequestDestination
\
SetLeaveRequestDestination
\
CreatePersonalLeavePeriod
\
CreatePersonalLeavePeriod
\
SetPersonalLeavePeriodValues
\
Tic
\
Tic
\
SetPersonalLeavePeriodToCheck
\
SetPersonalLeavePeriodToCheck
\
CheckNotCatalogued
\
CheckNotCatalogued
\
...
@@ -540,7 +516,6 @@ class TestCalendar(ERP5ReportTestCase):
...
@@ -540,7 +516,6 @@ class TestCalendar(ERP5ReportTestCase):
CreateLeaveRequest
CreateLeaveRequest
SetLeaveRequestDestination
SetLeaveRequestDestination
CreatePersonalLeavePeriod
CreatePersonalLeavePeriod
SetPersonalLeavePeriodValues
Tic
Tic
SetPersonalLeavePeriodToCheck
SetPersonalLeavePeriodToCheck
CheckNotCatalogued
CheckNotCatalogued
...
@@ -686,7 +661,6 @@ class TestCalendar(ERP5ReportTestCase):
...
@@ -686,7 +661,6 @@ class TestCalendar(ERP5ReportTestCase):
CreateGroupCalendar
\
CreateGroupCalendar
\
SetGroupCalendarAssignment
\
SetGroupCalendarAssignment
\
CreateGroupPresencePeriod
\
CreateGroupPresencePeriod
\
SetGroupPresencePeriodValues
\
Tic
\
Tic
\
SetGroupCalendarAssignmentToCheck
\
SetGroupCalendarAssignmentToCheck
\
SetGroupPresencePeriodDates
\
SetGroupPresencePeriodDates
\
...
@@ -705,7 +679,6 @@ class TestCalendar(ERP5ReportTestCase):
...
@@ -705,7 +679,6 @@ class TestCalendar(ERP5ReportTestCase):
CreateGroupCalendar
\
CreateGroupCalendar
\
SetGroupCalendarAssignment
\
SetGroupCalendarAssignment
\
CreateGroupPresencePeriod
\
CreateGroupPresencePeriod
\
SetGroupPresencePeriodValues
\
Tic
\
Tic
\
SetGroupCalendarAssignmentToCheck
\
SetGroupCalendarAssignmentToCheck
\
SetGroupPresencePeriodDates
\
SetGroupPresencePeriodDates
\
...
@@ -725,7 +698,6 @@ class TestCalendar(ERP5ReportTestCase):
...
@@ -725,7 +698,6 @@ class TestCalendar(ERP5ReportTestCase):
CreateGroupCalendar
\
CreateGroupCalendar
\
SetGroupCalendarAssignment
\
SetGroupCalendarAssignment
\
CreateGroupPresencePeriod
\
CreateGroupPresencePeriod
\
SetGroupPresencePeriodValues
\
Tic
\
Tic
\
SetGroupCalendarAssignmentToCheck
\
SetGroupCalendarAssignmentToCheck
\
PlanGroupCalendar
\
PlanGroupCalendar
\
...
@@ -745,7 +717,6 @@ class TestCalendar(ERP5ReportTestCase):
...
@@ -745,7 +717,6 @@ class TestCalendar(ERP5ReportTestCase):
CreateLeaveRequest
\
CreateLeaveRequest
\
SetLeaveRequestDestination
\
SetLeaveRequestDestination
\
CreatePersonalLeavePeriod
\
CreatePersonalLeavePeriod
\
SetPersonalLeavePeriodValues
\
Tic
\
Tic
\
SetPersonalLeavePeriodToCheck
\
SetPersonalLeavePeriodToCheck
\
PlanLeaveRequest
\
PlanLeaveRequest
\
...
@@ -765,7 +736,6 @@ class TestCalendar(ERP5ReportTestCase):
...
@@ -765,7 +736,6 @@ class TestCalendar(ERP5ReportTestCase):
CreateGroupCalendar
\
CreateGroupCalendar
\
SetGroupCalendarAssignment
\
SetGroupCalendarAssignment
\
CreateGroupPresencePeriod
\
CreateGroupPresencePeriod
\
SetGroupPresencePeriodValues
\
Tic
\
Tic
\
SetGroupCalendarAssignmentToCheck
\
SetGroupCalendarAssignmentToCheck
\
SetGroupPresencePeriodDates
\
SetGroupPresencePeriodDates
\
...
@@ -778,7 +748,6 @@ class TestCalendar(ERP5ReportTestCase):
...
@@ -778,7 +748,6 @@ class TestCalendar(ERP5ReportTestCase):
CreateLeaveRequest
\
CreateLeaveRequest
\
SetLeaveRequestDestination
\
SetLeaveRequestDestination
\
CreatePersonalLeavePeriod
\
CreatePersonalLeavePeriod
\
SetPersonalLeavePeriodValues
\
Tic
\
Tic
\
PlanLeaveRequest
\
PlanLeaveRequest
\
ConfirmLeaveRequest
\
ConfirmLeaveRequest
\
...
@@ -790,13 +759,11 @@ class TestCalendar(ERP5ReportTestCase):
...
@@ -790,13 +759,11 @@ class TestCalendar(ERP5ReportTestCase):
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
@
skip
(
"Not Implemented"
)
def
test_04_getCapacityAvailability
(
self
):
def
test_04_getCapacityAvailability
(
self
):
"""
"""
Test getCapacityAvailability
Test getCapacityAvailability
"""
"""
return
# XXX this test is disabled
raise
NotImplementedError
# Test that calendar group increase time availability
# Test that calendar group increase time availability
sequence_list
=
SequenceList
()
sequence_list
=
SequenceList
()
sequence_string
=
'
\
sequence_string
=
'
\
...
@@ -804,7 +771,6 @@ class TestCalendar(ERP5ReportTestCase):
...
@@ -804,7 +771,6 @@ class TestCalendar(ERP5ReportTestCase):
CreateGroupCalendar
\
CreateGroupCalendar
\
SetGroupCalendarAssignment
\
SetGroupCalendarAssignment
\
CreateGroupPresencePeriod
\
CreateGroupPresencePeriod
\
SetGroupPresencePeriodValues
\
Tic
\
Tic
\
SetGroupCalendarAssignmentToCheck
\
SetGroupCalendarAssignmentToCheck
\
ConfirmGroupCalendar
\
ConfirmGroupCalendar
\
...
@@ -823,7 +789,6 @@ class TestCalendar(ERP5ReportTestCase):
...
@@ -823,7 +789,6 @@ class TestCalendar(ERP5ReportTestCase):
CreateGroupCalendar
\
CreateGroupCalendar
\
SetGroupCalendarAssignment
\
SetGroupCalendarAssignment
\
CreateGroupPresencePeriod
\
CreateGroupPresencePeriod
\
SetGroupPresencePeriodValues
\
Tic
\
Tic
\
SetGroupCalendarAssignmentToCheck
\
SetGroupCalendarAssignmentToCheck
\
ConfirmGroupCalendar
\
ConfirmGroupCalendar
\
...
@@ -843,7 +808,6 @@ class TestCalendar(ERP5ReportTestCase):
...
@@ -843,7 +808,6 @@ class TestCalendar(ERP5ReportTestCase):
CreateGroupCalendar
\
CreateGroupCalendar
\
SetGroupCalendarAssignment
\
SetGroupCalendarAssignment
\
CreateGroupPresencePeriod
\
CreateGroupPresencePeriod
\
SetGroupPresencePeriodValues
\
Tic
\
Tic
\
SetGroupCalendarAssignmentToCheck
\
SetGroupCalendarAssignmentToCheck
\
ConfirmGroupCalendar
\
ConfirmGroupCalendar
\
...
@@ -2116,7 +2080,6 @@ class TestCalendar(ERP5ReportTestCase):
...
@@ -2116,7 +2080,6 @@ class TestCalendar(ERP5ReportTestCase):
my_default_leave_request_period_stop_date
=
LeaveRequest_view
.
\
my_default_leave_request_period_stop_date
=
LeaveRequest_view
.
\
my_default_leave_request_period_stop_date
my_default_leave_request_period_stop_date
my_start_date
=
LeaveRequest_view
.
my_start_date
my_start_date
=
LeaveRequest_view
.
my_start_date
my_stop_date
=
LeaveRequest_view
.
my_stop_date
listbox
=
LeaveRequest_view
.
listbox
listbox
=
LeaveRequest_view
.
listbox
checkDisplayedAsSimple
()
checkDisplayedAsSimple
()
self
.
assertEqual
(
self
.
assertEqual
(
...
@@ -2210,7 +2173,7 @@ class TestCalendar(ERP5ReportTestCase):
...
@@ -2210,7 +2173,7 @@ class TestCalendar(ERP5ReportTestCase):
my_default_presence_request_period_stop_date
=
PresenceRequest_view
.
\
my_default_presence_request_period_stop_date
=
PresenceRequest_view
.
\
my_default_presence_request_period_stop_date
my_default_presence_request_period_stop_date
my_start_date
=
PresenceRequest_view
.
my_start_date
my_start_date
=
PresenceRequest_view
.
my_start_date
my_stop_date
=
PresenceRequest_view
.
my_stop_date
listbox
=
PresenceRequest_view
.
listbox
listbox
=
PresenceRequest_view
.
listbox
checkDisplayedAsSimple
()
checkDisplayedAsSimple
()
self
.
assertEqual
(
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.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