Commit Graph

13 Commits

Author SHA1 Message Date
Guewen Baconnier
e44c46467f Improve usability by splitting the view in 2 parts: rule, result 2016-05-13 13:20:07 +02:00
Guewen Baconnier
475d47c33e Add translation template 2016-05-13 13:20:07 +02:00
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
fd2430747e Add test: check if rounding rules are well skipped on multi-currency lines 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
49f3ee9cab Add a security group an account.statement.operation.rule 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
a4b2800d42 Extract a helper so it can be reused 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