跳至內容
選單
此問題已被標幟
2 回覆
4806 瀏覽次數

Dear all,

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

Any ideas? Thanks in advanced.

頭像
捨棄
最佳答案

You can download it from Launchpad Bazar.

頭像
捨棄
作者

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

最佳答案

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,

頭像
捨棄
作者

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.