Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3814 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
paź 24
1755
0
sie 24
1580
0
sty 24
2067
1
lis 23
1782
0
cze 23
2124