Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Augustin DESOMBRE
chocapix-server
Commits
8cbb3f1c
Commit
8cbb3f1c
authored
Jul 07, 2021
by
Jean-samuel TETTEKPOE
Browse files
Commented embarrassing print
parent
26f98199
Changes
1
Hide whitespace changes
Inline
Side-by-side
bars_transactions/serializers.py
View file @
8cbb3f1c
...
...
@@ -145,7 +145,7 @@ class ItemQtySerializer(serializers.Serializer):
total_price
=
0
for
(
si
,
si_qty
)
in
sellitem
.
calc_price_qty_per_stockitem
():
print
(
"si "
+
str
(
si
)
+
" "
+
str
(
qty
))
#
print("si " + str(si) + " " + str(qty))
delta
=
si_qty
*
qty
si
.
create_operation
(
delta
=-
delta
,
unit
=
"sell"
,
transaction
=
t
,
fuzzy
=
True
...
...
Write
Preview
Supports
Markdown
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