Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
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
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
Hamza
erp5-Boxiang
Commits
5ddac0b4
Commit
5ddac0b4
authored
May 30, 2011
by
Yusei Tahara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more comment.
parent
f5d5c525
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
product/ERP5/tests/testInventoryModule.py
product/ERP5/tests/testInventoryModule.py
+2
-0
No files found.
product/ERP5/tests/testInventoryModule.py
View file @
5ddac0b4
...
@@ -568,6 +568,8 @@ class TestInventoryModule(TestOrderMixin, ERP5TypeTestCase):
...
@@ -568,6 +568,8 @@ class TestInventoryModule(TestOrderMixin, ERP5TypeTestCase):
self
.
createVariatedInventoryLine
(
start_date
=
date
,
self
.
createVariatedInventoryLine
(
start_date
=
date
,
sequence
=
sequence
,
quantity
=
quantity
)
sequence
=
sequence
,
quantity
=
quantity
)
inventory_line
=
inventory
.
objectValues
(
portal_type
=
'Inventory Line'
)[
0
]
inventory_line
=
inventory
.
objectValues
(
portal_type
=
'Inventory Line'
)[
0
]
# Set non-default quantity unit to make sure that conversion correctly
# works and converted value is applied to stock.
inventory_line
.
setQuantityUnitValue
(
self
.
portal
.
portal_categories
.
quantity_unit
.
unit
.
drum
)
inventory_line
.
setQuantityUnitValue
(
self
.
portal
.
portal_categories
.
quantity_unit
.
unit
.
drum
)
self
.
createVariatedInventoryLine
(
start_date
=
date
,
self
.
createVariatedInventoryLine
(
start_date
=
date
,
sequence
=
sequence
,
quantity
=
quantity
)
sequence
=
sequence
,
quantity
=
quantity
)
...
...
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