c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #02949
[Bug 510834] Re: Print Engine is broken Converting to other type that is not PDF or HTML
Hello,
I'm invalidating this bug because regardless of the features of the reporting engine, you're not supposed to change the types of reports installed by default on the system.
In fact with 6.0 the report type is not a selection field anymore but a character field, and the list of Reports is hidden even from Admins by default to avoid this kind of mistake.
Report entries are internal resources created by modules, which end users (even administrators) are not supposed to alter.
This is certainly not a High issue, because you are messing up with internal OpenERP structures.
If you are developing your own modules and need more details on the
reporting engine don't hesitate to discuss on the forum/mailing-list or
ask questions using the Questions interface.
Thanks!
** Changed in: openobject-server
Importance: High => Wishlist
** Changed in: openobject-server
Status: Confirmed => Invalid
** Changed in: openobject-server
Milestone: 5.0.15 => None
--
Print Engine is broken Converting to other type that is not PDF or HTML
https://bugs.launchpad.net/bugs/510834
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Server: Invalid
Bug description:
Crating reports and selecting odt file extension to ou give me an exception!
Menu > Administration > Low Level Objects > Actions > Report XML
Search with the Object File : "Invoice"
Edit this element and change the value that Say PDF for ODT.
Traceback (most recent call last):
File "/home/nhomar/openerp/stable/5.0/instancias/ingelub/server/bin/service/web_services.py", line 703, in go
(result, format) = obj.create(cr, uid, ids, datas, context)
File "/home/nhomar/openerp/stable/5.0/instancias/ingelub/server/bin/report/report_sxw.py", line 364, in create
fnct_ret = fnct(cr, uid, ids, data, report_xml, context)
File "/home/nhomar/openerp/stable/5.0/instancias/ingelub/server/bin/report/report_sxw.py", line 370, in create_source_odt
return self.create_single_odt(cr, uid, ids, data, report_xml, context or {})
File "/home/nhomar/openerp/stable/5.0/instancias/ingelub/server/bin/report/report_sxw.py", line 518, in create_single_odt
rml_dom = self.preprocess_rml(rml_dom,report_type)
File "/home/nhomar/openerp/stable/5.0/instancias/ingelub/server/bin/report/preprocess.py", line 59, in preprocess_rml
self.preprocess_rml(node,type)
File "/home/nhomar/openerp/stable/5.0/instancias/ingelub/server/bin/report/preprocess.py", line 54, in preprocess_rml
t = _regex1.sub(_sub1, node.text)
File "/home/nhomar/openerp/stable/5.0/instancias/ingelub/server/bin/report/preprocess.py", line 50, in _sub1
while n.tag not in match:
AttributeError: 'NoneType' object has no attribute 'tag'
Edit The Element Again and put HTML
The result if the field are not in a setion this are not located and the printing is directly with the names of variables.
THIS HAPPEND on web-client ando with gtk-client.
I have resources to work in repair it, some body can explain in few words how is the logic in the printing system ¡¡¡¡please!!!!, ¿where are the scripts and the converters? because we had worked on it and We didn't found this characteristic in all the source code, debug the printing behaviour is a COMPLETE MISTERY.
Thanks.