Commit graph

32 commits

Author SHA1 Message Date
Romain Bignon
7d8571195f fix docstring issues 2014-08-30 20:45:10 +02:00
Oleg Plakhotniuk
649d777ac5 Transaction amounts cleaner helper for american banks.
Signed-off-by: Oleg Plakhotniuk <olegus8@gmail.com>
2014-08-30 17:51:31 +02:00
Romain Bignon
0afc360970 FrenchTransaction.Amount can take a replace_dots parameter 2014-08-21 16:25:30 +02:00
Florent
76cb004eb4 Move ItemListTable-Element outside of page.py
One of the goal is to not import all modules needed by filters by
loading the page file.

In the same goal, move the import of parsers in the class definition.
2014-07-09 10:23:20 +02:00
Romain Bignon
5c8982e5e9 Filter does not have any logger, raise an exception instead 2014-05-19 22:07:34 +02:00
Romain Bignon
ba7d10046f Amount filter: credit_selector is optional too 2014-05-08 10:27:34 +02:00
Romain Bignon
07f6507096 improve documentation of browser2 2014-04-12 15:02:34 +02:00
Romain Bignon
a84d5f947c add a possible label title 2014-03-26 11:10:09 +01:00
Romain Bignon
75f17333a2 add TransactionsElement and TransactionElement 2014-03-12 08:43:48 +01:00
Romain Bignon
fd8136ebfe keep order in obj_* attributes, and changes in API 2014-03-10 22:52:59 +01:00
Romain Bignon
8b9073de12 add specific filters for browser2 2014-03-10 13:11:07 +01:00
Romain Bignon
9fdc1b4d56 FrenchTransaction.parse_date isn't a class method anymore
This is because we call self._logger to log errors
2013-12-04 22:40:01 +01:00
Romain Bignon
1a581a1543 change FrenchTransaction.parse_date to be a class method 2013-11-29 15:14:57 +01:00
Romain Bignon
6a1ac6d6b6 FrenchTransaction.parse takes a new optional argument 'vdate' 2013-08-01 16:52:16 +02:00
Laurent Bachelier
a6ad7e83ff Use newer form of catching exceptions
autopep8 -i --select=W602
Also some other minor deprecated syntax changes, like "while 1".
I did not commit the less obvious changes.
2013-07-27 15:16:16 +02:00
Romain Bignon
6f95fdd800 do not crash if date in label regexp isn't valid 2013-05-20 20:59:14 +02:00
Romain Bignon
06b314de48 little fixes
- logger might be a private attribute
- compare rdate to date, not to today
2013-02-10 02:17:54 +01:00
Romain Bignon
63dc4e05da support empty dates for transactions 2013-02-08 14:46:01 +01:00
Romain Bignon
78a5c3767f fix compatibility with python2.6 2013-01-16 17:50:29 +01:00
Romain Bignon
a8b1c5ed5b if both credit and debit are empty, set value to 0 2013-01-07 23:03:34 +01:00
Romain Bignon
d91dad2b2b support currencies 2012-12-06 13:21:13 +01:00
Romain Bignon
a7c024e3bc strip EUR from amount strings 2012-07-31 16:48:52 +02:00
Romain Bignon
7ee2d29792 clean_amount is now a class method 2012-07-02 14:00:36 +02:00
Romain Bignon
7cf060a5f6 add a check if the year is on two digits 2012-06-27 16:37:03 +02:00
Romain Bignon
1cd27395de check if matched arguments in transactions are not None 2012-05-31 13:40:57 +02:00
Romain Bignon
c4ad0e705e credit isn't necessarily a positive amount 2012-04-10 10:40:56 +02:00
Romain Bignon
7559a4c93d strip all kind of spaces, check decimal values signs 2012-04-09 11:23:13 +02:00
Gabriel Kerneis
ee59891f62 boursorama: parse categories and date 2012-04-01 14:30:13 +02:00
Gabriel Kerneis
0f6393e642 bank: add a 'category' group in patterns 2012-04-01 11:23:35 +02:00
Romain Bignon
b157e92d5b use decimal.Decimal instead of float to store amounts of money 2012-03-29 16:31:18 +02:00
Romain Bignon
c6a141595c change way to describe fields of CapBaseObject, and lot of documentation 2012-03-26 14:35:54 +02:00
Romain Bignon
2675510f32 add a class FrenchTransaction to factorize common parsing of french banks 2012-03-22 16:33:05 +01:00