← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 720091] [NEW] Unable to generate french account report

 

Public bug reported:

Hi,

With the latest web server trunk, I can't generate reports for the
french accounting.

How to reproduce:
- Install the french account plan (France - Plan comptable général)
- Create some journal items
- Go to 'Accounting -> Journal Entries -> Journal Items
- Select some items
- Click on 'Bilan report' on the sidebar

You will get a file without extension, named 'report'. Here, it does 5
bytes and is empty. I got the same problem with other account report,
and with any report, in fact.

I tried the same manipulation with the GTK client, and it worked. That's
why I post the bug report in the web client, however I got this error on
the server console :

[2011-02-16 15:23:51,058][afs] WARNING:report:rml_except: " abs(bpcheck)<0.0001 and removeParentNode('para') "
Traceback (most recent call last):
  File "/home/thibaut/Programmation/OpenERP6/server/openerp/report/render/rml2pdf/utils.py", line 90, in _child_get
    eval(n.get('rml_except'), {}, self.localcontext)
  File "/home/thibaut/Programmation/OpenERP6/server/openerp/tools/safe_eval.py", line 281, in safe_eval
    return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
  File "", line 1, in <module>
NameError: name 'bpcheck' is not defined

** Affects: openobject-client-web
     Importance: Undecided
         Status: New

-- 
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/720091

Title:
  Unable to generate french account report

Status in OpenERP Web Client:
  New

Bug description:
  Hi,

  With the latest web server trunk, I can't generate reports for the
  french accounting.

  How to reproduce:
  - Install the french account plan (France - Plan comptable général)
  - Create some journal items
  - Go to 'Accounting -> Journal Entries -> Journal Items
  - Select some items
  - Click on 'Bilan report' on the sidebar

  You will get a file without extension, named 'report'. Here, it does 5
  bytes and is empty. I got the same problem with other account report,
  and with any report, in fact.

  I tried the same manipulation with the GTK client, and it worked.
  That's why I post the bug report in the web client, however I got this
  error on the server console :

  [2011-02-16 15:23:51,058][afs] WARNING:report:rml_except: " abs(bpcheck)<0.0001 and removeParentNode('para') "
  Traceback (most recent call last):
    File "/home/thibaut/Programmation/OpenERP6/server/openerp/report/render/rml2pdf/utils.py", line 90, in _child_get
      eval(n.get('rml_except'), {}, self.localcontext)
    File "/home/thibaut/Programmation/OpenERP6/server/openerp/tools/safe_eval.py", line 281, in safe_eval
      return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
    File "", line 1, in <module>
  NameError: name 'bpcheck' is not defined





Follow ups

References