Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
1916 มุมมอง

Hi, I want to edit the layout of the accounting reports, but the studio icon is disabled when opening these reports. Is there any other way to edit the view? i know that in the "financial report" can move the attributes and the formulas, but i don't need that.

Thank you kindly.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Accounting reports use a different system than other reports.

Have to turn on developer (debug) mode.  This should help you get started:

Custom reports — Odoo 16.0 documentation

I'm not an expert mostly just wanted to rearrange the order of things a bit.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

Using Odoo Studio, you can edit models. You can do customizations like adding fields, simple relations etc. 
In the case of accounting reports, it is not a model, it's a client action. When you search for example, the Balance Sheet in action, you can see the type is ir.actions.client. This, unlike a model, is unable to be customized using Odoo Studio. 


Hope it helps

อวตาร
ละทิ้ง
ผู้เขียน

That makes a lot of sense, thank you both of you, but actually you need to find the action, and i imagine that takes a template to put the data to make a PDF file. will search more about that.

ผู้เขียน คำตอบที่ดีที่สุด

Just found the view that shows the report info, in my case is on 'account_reports/views/report_finantial.xml', there you can edit the templates and views of the finantial reports, and at the end of the file, there is a "print_template" for PDF output where you can modify or add new info.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ม.ค. 24
1843
Change footer in Follow up reports แก้ไขแล้ว
2
พ.ค. 23
2491
0
มี.ค. 22
3018
Configuration of report sending by mail แก้ไขแล้ว
1
ส.ค. 23
3088
1
พ.ย. 22
2788