跳至内容
菜单
此问题已终结
1 回复
2946 查看

I made the mistake of modifing the original reports in our Odoo 15 Ent deployment.  We've now upgaded to Odoo 16 and many of the reports now return errors.  I've submitted a ticket.  

All of our report modifications were made in Studio.  Is it possible to 'undue' those changes?  As a last resort I could recreate them.

形象
丢弃
最佳答案

HI,

If you customize the reports using the studio, yes it can be reverted. 

1. Activate the developer mode

2. Navigate to Reports menu under Settings -> Technical

3. Search and open your report record.

4. Click qweb view's smart button

5. Open the report file and see the inherited tab, mostly there will be a inherited view with studio name,

6. delete the inherited view


Thanks

形象
丢弃
编写者

Thank you! I thought there was an option like that. Will investigate in a test branch!

编写者

That has helped to improve, no longer get errors. However they are still not fully reverted. I see some 'studio' views that have odd names and inherit each other:

"Odoo Studio: studio_customization.studio_report_docume_8e28bfb9-04a0-4bc0-8763-6c1532064c78_document customization"

Possibly a Studio naming convention from Odoo 14? Our original deployment was in 14.

编写者

In the case of the 'invoices' report it seems to utilize the 'address_layout' report. I'm not sure if there is a direct way to access that report but removing the 'studio' view of 'address_layout' seems to have helped.

相关帖文 回复 查看 活动
2
2月 24
2144
0
11月 23
1978
1
5月 25
2902
1
4月 25
1408
1
4月 24
3159