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

I have added some custom fields to the model account.move and I want to add these fields in the following Odoo Enterprise reports:


-Accounting/Reporting/Partner ledger
-Accounting/Reporting/Aged receivable
-Accounting/Reporting/Aged payable


I did not find how to add fields to this kind of reports and they are way different than the regular views

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

Hi 
To add custom fields to reports like "Partner Ledger","Aged Receivable",and "Aged Payable", you will need to modify templates associated with these reports.1.Identify the report template and inherit the template to add custom fields.2.Look for sections such as 

<thead>,<tbody>,<xpath>

tags that define the layout and content of the report.3.You can access the fields from the model using dot notation.for example : record.custom_field.
อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.พ. 24
1833
1
พ.ย. 23
2056
0
ก.ย. 23
1601
1
มิ.ย. 23
3260
2
ส.ค. 22
4095