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

Hi,

I'm trying to inherit class partner_balance(report_sxw.rml_parse, common_report_header) from the file addons/account/account_partner_balance.py, but it isn't like the other inherits of osv.osv ... I want to change this function def set_context(self, objects, data, ids, report_type=None) and `this def lines(self)....

Do you know how can I change those functions ?

Thanks

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

Hi,


If you are working with reports, please refer this link.

https://www.odoo.com/forum/help-1/question/is-it-mandatory-to-inherit-report-sxw-rml-parse-for-custom-report-even-with-odoo-8-97653

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ต.ค. 24
1758
0
ส.ค. 24
1585
0
ม.ค. 24
2068
1
พ.ย. 23
1785
0
มิ.ย. 23
2134