The new woob repository is here: This gitlab will be removed soon.

Commit c6091ad2 authored by Damien's avatar Damien Committed by Vincent A

[delubac] Fix transactions amounts

parent 12037f92
......@@ -181,11 +181,7 @@ class item(ItemElement):
obj_date = Date(CleanText(TableCell('date')), dayfirst=True)
obj_vdate = Date(CleanText(TableCell('vdate')), dayfirst=True)
obj_raw = obj_label = Transaction.Raw(TableCell('raw'))
def obj_amount(self):
amount ='\-*\d+\.\d+', CleanText(TableCell('amount'))(self))
if amount:
return CleanDecimal.US(
obj_amount = CleanDecimal.US(CleanText(TableCell('amount')))
def condition(self):
return Field('amount')(self)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment