Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
4818 Lượt xem

Dear all,

I have accidentally delete invoice report by using OpenERP Report Designer. Fortunately, I still have .sxw file.

Any ideas? Thanks in advanced.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

You can download it from Launchpad Bazar.

Ảnh đại diện
Huỷ bỏ
Tác giả

Can you please tell me a little more about how to upload it after downloaded?

Câu trả lời hay nhất

Hi Tee Wu,

This is a limitation of report designer. Once you change the rml from report designer there is no way to get back to original one.

Either you can create a new database or create a script that reads the original rml and rewrites it to the database. The ir.actions.report.xml field report_rml_content_data needs to be updated with the binary data of your original rml.

Thanks,

Ảnh đại diện
Huỷ bỏ
Tác giả

Could you guide me a little more about which table needs to be rewrite? Thanks!!

Hi Tee Wu I have updated my answer with the model and field name.

Hi Tee Wu I have updated my answer with the model and field name.