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

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

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

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 10 24
1752
0
thg 8 24
1574
0
thg 1 24
2063
1
thg 11 23
1778
0
thg 6 23
2100