I have found the source of the bug, the bug does not come from l10n_ch but for the reports. The reports have harcoded type but does not uses internal types but user_type of the account that can be manually overridden.
types = [ 'expense', 'income'
]
for typ in types: accounts_temp = []
for account in accounts:
if (account.user_type.report_type) and (account.user_type.report_type == typ):
The report should use internal types and not user type. This is clear we have defined and attributed account to swiss account user type.
Hello,
I have found the source of the bug, the bug does not come from l10n_ch but for the reports. The reports have harcoded type but does not uses internal types but user_type of the account that can be manually overridden.
types = [
'expense' ,
'income'
]
for typ in types:
accounts_ temp = [] user_type. report_ type) and (account. user_type. report_ type == typ):
for account in accounts:
if (account.
The report should use internal types and not user type. This is clear we have defined and attributed account to swiss account user type.
xrg and qdp should review this bug.
Regards
Nicolas