c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #21303
[Bug 752523] Re: [V5.0.16] Etree Error : on general ledger printing
Hello,
This the module account_v6_reports_backport has been backported by
OpenERP to V5.
http://bazaar.launchpad.net/~openerp-commiter/openobject-addons/trunk-
extra-addons/files/head%3A/account_v6_reports_backport/
hope this help,
Vincent
--
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/752523
Title:
[V5.0.16] Etree Error : on general ledger printing
Status in OpenERP Modules (addons):
Incomplete
Bug description:
hello,
When we try to print the general for a single account , the client
crash, this is the traceback from the client :
System : Windows-XP-5.1.2600-SP3
OS Name : nt
Operating System Release : XP
Operating System Version : 5.1.2600
Operating System Architecture : 32bit
Operating System Locale : fr_CH.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 5.0.16
Last revision No. & ID :Bazaar Package not Found !Traceback (most
recent call last):
File "/srv/openerp/instances/openerp_aesa/src/server/bin/netsvc.py",
line 299, in dispatch
result = LocalService(service_name)(method, *params)
File "/srv/openerp/instances/openerp_aesa/src/server/bin/netsvc.py",
line 77, in __call__
return getattr(self, method)(*params)
File
"/srv/openerp/instances/openerp_aesa/src/server/bin/service/web_services.py",
line 577, in execute
res = service.execute(db, uid, object, method, *args)
File "/srv/openerp/instances/openerp_aesa/src/server/bin/osv/osv.py",
line 58, in wrapper
return f(self, dbname, *args, **kwargs)
File "/srv/openerp/instances/openerp_aesa/src/server/bin/osv/osv.py",
line 119, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/srv/openerp/instances/openerp_aesa/src/server/bin/osv/osv.py",
line 111, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File
"/srv/openerp/instances/openerp_aesa/src/server/bin/addons/account_v6_reports_backport/wizard/account_report_general_ledger.py",
line 60, in fields_view_get
doc = etree.XML(res['arch'])
NameError: global name 'etree' is not defined
You reproduce by openerp the account chart , just sellect on account
and click on print -> General Ledger
I Think you have forget to include :
from lxml import etree
in account_v6_reports_backport/wizard/account_report_general_ledger.py
Thanks for your help,
Vincent
References