Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
AE
Sith
Commits
3e950e1d
Commit
3e950e1d
authored
Aug 15, 2017
by
Sli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migration fix
parent
de4521c1
Pipeline
#1123
passed with stage
in 4 minutes and 39 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
counter/migrations/0013_customer_recorded_products.py
counter/migrations/0013_customer_recorded_products.py
+1
-1
No files found.
counter/migrations/0013_customer_recorded_products.py
View file @
3e950e1d
...
...
@@ -24,7 +24,7 @@ def balance_ecocups(apps, schema_editor):
club
=
cons
.
club
,
counter
=
Counter
.
objects
.
filter
(
name
=
'Foyer'
).
first
(),
quantity
=
qt
,
seller
=
User
.
objects
.
get
(
id
=
0
),
customer
=
customer
).
save
(
allow_negative
=
True
)
customer
.
recorded_products
+=
qt
customer
.
save
()
customer
.
save
()
class
Migration
(
migrations
.
Migration
):
...
...
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