تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3792 أدوات العرض

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أكتوبر 24
1750
0
أغسطس 24
1573
0
يناير 24
2061
1
نوفمبر 23
1776
0
يونيو 23
2096