8.0 add account cash discount compute ape

cc/ @adrienpeiffer 

PR to support internal review. Do not merge.
I suggest renaming the module l10n_be_cash_discount