ihatemoney/ihatemoney
Sungho Cho c6ace4f710 This work is from the previous pr, I have merged it all together so its
possible to continue their fine work.

Add original currency and amount fields to Bill model

Add default currency to Project model

Add minor fix to String length

Reorganize the new migration file

Crete a migration file for Project.default_currency

Change models.py to have Project.default_currency

Added new fields to to_serialize()

Update bill view to display original currencies and original amounts

Minor change to new labels

Add new fields to tests

Include default_currency field in tests.py

Datafield entry in forms

adding a stray file

added requests to the requirements file

Added another exception for catching errors related to mail

Testing to find the issue

revert change

Adding a removed change to list_bills.html template

added currency conversion to the CurrencyConversion class

fixed typo in function name

Edit BillForm to have currency dropdown and convert functionality

Show currency dropdown in BillForm

Fix minor issues with BillForm task

Edit tests.py to include missing original_currency and amount fields

Fix failing tests

Fix other failing tests

Final fix to tests

Ran black on the project directory

Make small ammendments to tests

Temporarily set maxDiff as None

Fix test failure in test_export()

formatted util file so it could pass formatting tests

changed the structure of the table in the bill view to be more reader friendly, by adding the different curriencies in their respective columns

Cleaning up pr with comments from previous prs

Signed-off-by: dark0dave <dark0dave@mykolab.com>

Now caching respone for one day to ensure it is not call often

Signed-off-by: dark0dave <dark0dave@mykolab.com>

Updated migration and currency converter to help existing bills

Signed-off-by: dark0dave <dark0dave@mykolab.com>
2020-04-27 23:49:07 +01:00
..
api Remove obsolete python code (<3.6). (#571) 2020-04-24 12:32:52 +02:00
conf-templates Fix Apache conf template, without relying on environment var (#359) 2018-07-16 22:55:54 +02:00
migrations This work is from the previous pr, I have merged it all together so its 2020-04-27 23:49:07 +01:00
static Add Project History Page (#553) 2020-04-20 15:30:27 +02:00
templates This work is from the previous pr, I have merged it all together so its 2020-04-27 23:49:07 +01:00
tests This work is from the previous pr, I have merged it all together so its 2020-04-27 23:49:07 +01:00
translations Translated using Weblate (French) (#582) 2020-04-25 13:15:02 +02:00
__init__.py Absolute imports & some other improvements (#243) 2017-07-07 00:06:56 +02:00
babel.cfg Absolute imports & some other improvements (#243) 2017-07-07 00:06:56 +02:00
currency_convertor.py This work is from the previous pr, I have merged it all together so its 2020-04-27 23:49:07 +01:00
default_settings.py Add Indonesian and Norwegian to the list of supported languages (#572) 2020-04-25 11:48:32 +02:00
forms.py This work is from the previous pr, I have merged it all together so its 2020-04-27 23:49:07 +01:00
history.py Fix translations (#575) 2020-04-25 11:55:20 +02:00
manage.py Remove obsolete python code (<3.6). (#571) 2020-04-24 12:32:52 +02:00
messages.pot Fix last history string. 2020-04-25 13:04:47 +02:00
models.py This work is from the previous pr, I have merged it all together so its 2020-04-27 23:49:07 +01:00
patch_sqlalchemy_continuum.py Add isort support. (#561) 2020-04-21 13:59:41 +02:00
run.py This work is from the previous pr, I have merged it all together so its 2020-04-27 23:49:07 +01:00
utils.py Fix crash when a localized email template is missing (#592) 2020-04-26 23:12:33 +02:00
versioning.py Add Project History Page (#553) 2020-04-20 15:30:27 +02:00
web.py This work is from the previous pr, I have merged it all together so its 2020-04-27 23:49:07 +01:00
wsgi.py Absolute imports & some other improvements (#243) 2017-07-07 00:06:56 +02:00