Commit Graph

7 Commits

Author SHA1 Message Date
Guewen Baconnier
7a869a6d12 Create a new method on statement lines to get the currency 2015-12-02 08:56:08 +01:00
Guewen Baconnier
0656b9afa0 Rename the basic rule 'Balance' to 'Roundings' 2015-12-02 08:56:08 +01:00
Guewen Baconnier
f7074a2664 Extract a function which is reused in account_statement_operation_rule_dunning_fees 2015-12-02 08:56:08 +01:00
Guewen Baconnier
2fb222abe9 The 'balance' rules must not match when we are in multicurrency 2015-12-02 08:56:08 +01:00
Guewen Baconnier
630e995ae8 Use float comparisons 2015-12-02 08:56:08 +01:00
Guewen Baconnier
a87fdeb50a Add a test suite 2015-12-02 08:56:08 +01:00
Guewen Baconnier
4ebb2cbc72 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.
2015-12-02 08:56:08 +01:00