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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Romain Courteaud
slapos.core
Commits
f4b6da82
Commit
f4b6da82
authored
Feb 02, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Invert payment.
Payment shall represent fact that customer will give money.
parent
6b711038
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
master/product/Vifib/tests/testVifibSlapComputerPartitionLock.py
...product/Vifib/tests/testVifibSlapComputerPartitionLock.py
+2
-3
No files found.
master/product/Vifib/tests/testVifibSlapComputerPartitionLock.py
View file @
f4b6da82
...
@@ -295,12 +295,11 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
...
@@ -295,12 +295,11 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
person
=
self
.
portal
.
ERP5Site_getAuthenticatedMemberPersonValue
(
sequence
[
person
=
self
.
portal
.
ERP5Site_getAuthenticatedMemberPersonValue
(
sequence
[
'web_user'
])
'web_user'
])
payment_transaction
=
self
.
portal
.
accounting_module
.
newContent
(
payment_transaction
=
self
.
portal
.
accounting_module
.
newContent
(
source
_section
=
'organisation_module/vifib_internet'
,
destination
_section
=
'organisation_module/vifib_internet'
,
destination
_section
=
person
.
getRelativeUrl
(),
source
_section
=
person
.
getRelativeUrl
(),
resource
=
'currency_module/EUR'
,
resource
=
'currency_module/EUR'
,
portal_type
=
"Payment Transaction"
,
portal_type
=
"Payment Transaction"
,
start_date
=
DateTime
()
-
90
,
start_date
=
DateTime
()
-
90
,
# XXX More info needed
)
)
payment_transaction
.
newContent
(
payment_transaction
.
newContent
(
portal_type
=
"Accounting Transaction Line"
,
portal_type
=
"Accounting Transaction Line"
,
...
...
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