mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-28 17:32:38 +02:00
demo: create Demo project without currency
This matches the default settings of both the web interface and the API regarding currencies.
This commit is contained in:
parent
dc793effce
commit
19b5b13663
1 changed files with 2 additions and 2 deletions
|
@ -408,7 +408,7 @@ class Project(db.Model):
|
|||
name="demonstration",
|
||||
password=generate_password_hash("demo"),
|
||||
contact_email="demo@notmyidea.org",
|
||||
default_currency="EUR",
|
||||
default_currency="XXX",
|
||||
)
|
||||
db.session.add(project)
|
||||
db.session.commit()
|
||||
|
@ -436,7 +436,7 @@ class Project(db.Model):
|
|||
bill.what = subject
|
||||
bill.owers = [members[name] for name in owers]
|
||||
bill.amount = amount
|
||||
bill.original_currency = "EUR"
|
||||
bill.original_currency = "XXX"
|
||||
bill.converted_amount = amount
|
||||
|
||||
db.session.add(bill)
|
||||
|
|
Loading…
Reference in a new issue