Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
16
Merge Requests
16
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
88df600e
Commit
88df600e
authored
Jan 25, 2019
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_subscription_request: Add property sheet for include getStartDate in Subscription Request
parent
903bcc6f
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
6 deletions
+7
-6
master/bt5/slapos_subscription_request/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
...rtalTypePropertySheetTemplateItem/property_sheet_list.xml
+1
-0
master/bt5/slapos_subscription_request/TestTemplateItem/portal_components/test.erp5.testSlapOSSubscriptionSkins.py
...ortal_components/test.erp5.testSlapOSSubscriptionSkins.py
+1
-2
master/bt5/slapos_subscription_request/TestTemplateItem/portal_components/test.erp5.testSlapOSSubscriptionSkins.xml
...rtal_components/test.erp5.testSlapOSSubscriptionSkins.xml
+4
-4
master/bt5/slapos_subscription_request/bt/template_portal_type_property_sheet_list
...ption_request/bt/template_portal_type_property_sheet_list
+1
-0
No files found.
master/bt5/slapos_subscription_request/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
View file @
88df600e
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
<item>
SlapOSAccountingHostingSubscriptionConstraint
</item>
<item>
SlapOSAccountingHostingSubscriptionConstraint
</item>
<item>
SlaposHostingSubscriptionConstraint
</item>
<item>
SlaposHostingSubscriptionConstraint
</item>
<item>
SoftwareInstance
</item>
<item>
SoftwareInstance
</item>
<item>
Task
</item>
<item>
TextDocument
</item>
<item>
TextDocument
</item>
<item>
Url
</item>
<item>
Url
</item>
<item>
VariationRange
</item>
<item>
VariationRange
</item>
...
...
master/bt5/slapos_subscription_request/TestTemplateItem/portal_components/test.erp5.testSlapOSSubscriptionSkins.py
View file @
88df600e
...
@@ -26,7 +26,6 @@ class TestSubscriptionSkinsMixin(SlapOSTestCaseMixinWithAbort):
...
@@ -26,7 +26,6 @@ class TestSubscriptionSkinsMixin(SlapOSTestCaseMixinWithAbort):
self
.
tic
()
self
.
tic
()
return
subscription_request
return
subscription_request
class
TestBase_instanceXmlToDict
(
TestSubscriptionSkinsMixin
):
class
TestBase_instanceXmlToDict
(
TestSubscriptionSkinsMixin
):
def
test_Base_instanceXmlToDict
(
self
):
def
test_Base_instanceXmlToDict
(
self
):
...
@@ -296,7 +295,7 @@ class TestSubscriptionRequest_createUser(TestSubscriptionSkinsMixin):
...
@@ -296,7 +295,7 @@ class TestSubscriptionRequest_createUser(TestSubscriptionSkinsMixin):
self
.
assertEqual
(
person
.
getFirstName
(),
name
)
self
.
assertEqual
(
person
.
getFirstName
(),
name
)
erp5_login
=
[
i
for
i
in
person
.
searchFolder
(
portal_type
=
"ERP5 Login"
)][
0
]
erp5_login
=
[
i
for
i
in
person
.
searchFolder
(
portal_type
=
"ERP5 Login"
)][
0
]
self
.
assertEqual
(
person
.
getValidationState
(),
"
validated
"
)
self
.
assertEqual
(
person
.
getValidationState
(),
"
draft
"
)
self
.
assertEqual
(
erp5_login
.
getValidationState
(),
"validated"
)
self
.
assertEqual
(
erp5_login
.
getValidationState
(),
"validated"
)
self
.
assertEqual
(
erp5_login
.
getReference
(),
person
.
getUserId
())
self
.
assertEqual
(
erp5_login
.
getReference
(),
person
.
getUserId
())
...
...
master/bt5/slapos_subscription_request/TestTemplateItem/portal_components/test.erp5.testSlapOSSubscriptionSkins.xml
View file @
88df600e
...
@@ -46,10 +46,10 @@
...
@@ -46,10 +46,10 @@
<key>
<string>
text_content_warning_message
</string>
</key>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
W:25
5
, 4: Unused variable \'email\' (unused-variable)
</string>
<string>
W:25
4
, 4: Unused variable \'email\' (unused-variable)
</string>
<string>
W:25
6
, 4: Unused variable \'name\' (unused-variable)
</string>
<string>
W:25
5
, 4: Unused variable \'name\' (unused-variable)
</string>
<string>
W:26
7
, 4: Unused variable \'name\' (unused-variable)
</string>
<string>
W:26
6
, 4: Unused variable \'name\' (unused-variable)
</string>
<string>
W:27
6
, 4: Unused variable \'name\' (unused-variable)
</string>
<string>
W:27
5
, 4: Unused variable \'name\' (unused-variable)
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
...
...
master/bt5/slapos_subscription_request/bt/template_portal_type_property_sheet_list
View file @
88df600e
...
@@ -13,6 +13,7 @@ Subscription Request | Reference
...
@@ -13,6 +13,7 @@ Subscription Request | Reference
Subscription Request | SlapOSAccountingHostingSubscriptionConstraint
Subscription Request | SlapOSAccountingHostingSubscriptionConstraint
Subscription Request | SlaposHostingSubscriptionConstraint
Subscription Request | SlaposHostingSubscriptionConstraint
Subscription Request | SoftwareInstance
Subscription Request | SoftwareInstance
Subscription Request | Task
Subscription Request | TextDocument
Subscription Request | TextDocument
Subscription Request | Url
Subscription Request | Url
Subscription Request | VariationRange
Subscription Request | VariationRange
...
...
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