← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 707314] Re: [6.0 trunk] with Swiss localisation (l10n_ch) - BS and P&L reports empty

 

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 = []
            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.

xrg and qdp should review this bug.

Regards

Nicolas


** Changed in: openobject-addons
       Status: In Progress => Invalid

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/707314

Title:
  [6.0 trunk] with Swiss localisation (l10n_ch) - BS and P&L reports
  empty

Status in OpenERP Modules (addons):
  Invalid

Bug description:
  Hi there!

  when using latest rev w/ Swiss localisation, the BS and P&L reports
  (FInance/Reporting/Legal Reports) print pdfs with no data. Of course,
  some test data exist in the system...

  Please investigate.

  Thank you
  Bogdan





Follow ups

References