Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

is .sxw file is necessary for a report module

By
R.sridevi
on 11/15/13, 3:23 AM 937 views

I have created .rml file for report module....I dont know how to convert it in to .sxw file..My doubt is can a report module be created without .sxw file

i created a dhl_clearencee2.rml ......but in .py file we use class clearencee2(report_sxw.rml_parse): so if do not have sxw file what is the purpose of using report_sxw.rml_parse in a class???/??

R.sridevi
on 11/15/13, 3:49 AM

Not necessary for adding .SXW file you have the rml file already. .SXW file is used for generating rml file from your doc file. thats its not mandatory.

Anil R. Kesariya
on 11/15/13, 8:37 AM

K thank you.....sir but in py files of report module there is report_sxw.rml_parse and report_sxw.report_sxw terms....my doubt if i dont have sxw file in my report module then should use report_sxw.report_sxw and report_sxw.rml_parse in py file.....i am confused regarding this matter

R.sridevi
on 11/15/13, 8:50 AM

thanks a lot.....i understood very well.....i created a report module for a module to print a form with out fetching any objects.....my issue is when i try to install a module xml architecture error i do not know where i am going wrong....please view this link and help me https://www.dropbox.com/sh/x90ykrocworffkz/rusLpiXGVE

R.sridevi
on 11/18/13, 7:07 AM
1
Jasad
On 11/21/13, 2:38 AM

Hi R.sridevi,

You can create report without .sxw file. It is not mandatory that .sxw file should be there for a report. Usually we are using .sxw file is for simplicity to design the reports in open office rather than writing the entire code for the report.So that we can convert it to rml file.

0

Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
4341
| 6 6 8
Gandhinagar, India
--Serpent Consulting Services Pvt. Ltd.--

Serpent Consulting Services Pvt. Ltd. Your Odoo/OpenERP Solution, just an email away!

Serpent Consulting Services Pvt. Ltd.
On 11/15/13, 3:27 AM

Hello R. Sridevi

No. .sxw file is not necessary to generate a report. If you are good in creating rml file then you don't need to have sxw.

Actually sxw file is used to generate rml file. sxw is converted into rml.

Thanks,

Serpent Consulting Services

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 11/15/13, 3:23 AM
Seen: 937 times
Last updated: 3/16/15, 8:10 AM