erp5_accounting: Simplify code
erp5_accounting: Use {} instead of dict() because is faster