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

Hi everyone,

I have created a custom report on Odoo 12 and noticed that the changes on the template were not being updated after module update.

In order to solve it, I have manually deleted the report, report template and custom qweb view using Odoo technical settings.

The idea was that after upgrading the module, the components were installed again but it did not worked.

The report was installed but, qweb view and template were not installed again.

Since I am still developing the report and have some demo data to use (manually entered), I really want to recover this report template and qweb view inside Odoo without having to create a new database.

Any ideia?

Thank you in advance

Best regards


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

Hi everyone,

I really do not know what was the reason for this problem.

To solve the issue, I have disabled (#commented) all references for the custom report on the __manifest__.py and upgraded the module.

After that, I was able to successfully upgrade the module and after activate all references everything runs fine. Perhaps I missed something I did not noticed...

Thank you all anyway.

Regards

Paulo

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 4 25
3451
1
thg 11 24
1533
0
thg 8 24
1583
0
thg 3 24
1287
2
thg 11 23
3544