Commit Graph

8 Commits

Author SHA1 Message Date
Guewen Baconnier
cb488c6329 Add a selection of currencies for the 'Currencies' rules
It allows to have a different setup for different currencies (the amounts won't
be the same).
2016-05-13 13:20:07 +02:00
Guewen Baconnier
585416d7f8 Create a new method on statement lines to get the currency 2016-05-13 13:20:07 +02:00
Guewen Baconnier
ae6934e270 Rename the basic rule 'Balance' to 'Roundings' 2016-05-13 13:20:07 +02:00
Guewen Baconnier
b376806d59 Extract a function which is reused in account_statement_operation_rule_dunning_fees 2016-05-13 13:20:07 +02:00
Guewen Baconnier
e2ecb1bb3a The 'balance' rules must not match when we are in multicurrency 2016-05-13 13:20:07 +02:00
Guewen Baconnier
58979a77c1 Use float comparisons 2016-05-13 13:20:07 +02:00
Guewen Baconnier
fc360e656c Add a test suite 2016-05-13 13:20:07 +02:00
Guewen Baconnier
64871c6950 Add module account_statement_operation_rule
This module allows to automatically apply Statement Operations (or
"presets") on the statement lines reconciliations according to rules,
for instance based on the balance.
2016-05-13 13:20:07 +02:00