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
9fd65714
Commit
9fd65714
authored
Nov 15, 2022
by
Romain Courteaud
🐸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_accounting: quantity is defined on cell
parent
98bc76f5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/InstanceTree_requestUpdateOpenSaleOrder.py
...pos_accounting/InstanceTree_requestUpdateOpenSaleOrder.py
+1
-2
No files found.
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/InstanceTree_requestUpdateOpenSaleOrder.py
View file @
9fd65714
...
...
@@ -187,7 +187,6 @@ if instance_tree.getCausalityState() == 'diverged':
)
if
order_cell
.
getPrice
()
is
None
:
# No price found, do not create anything for now
# XXX add comment on Instance Tree
storeWorkflowComment
(
instance_tree
,
"No price found"
)
return
open_sale_order
,
open_order_line
,
open_order_cell
=
newOpenOrder
(
...
...
@@ -206,7 +205,7 @@ if instance_tree.getCausalityState() == 'diverged':
assert
open_order_line
.
getBaseContributionList
()[
1
]
==
'base_amount/invoicing/taxable'
assert
open_order_line
.
getUse
()
==
'trade/sale'
#assert open_order_line.getPrice() == 1, open_order_line.getPrice()
assert
open_order_
line
.
getQuantity
()
==
1
assert
open_order_
cell
.
getQuantity
()
==
1
open_sale_order
.
OpenSaleOrder_updatePeriod
()
...
...
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