Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty

I want to add partner's phone number along with his name on top, I am able to format the report but I don't understand how to add partner's phone. I don't get how partner's other data will be accessed. The class file has field partner_ids, but how this field is accessed in the mako template! Anyone please help.

Avatar
Hylkää

in debug mode you can see field names or you can just search Settings->Technical->DB Structure->Models: partner

object.partener_id.phone

Tekijä

Thanks for the reply but I know how to access phone field but in webkit report there is mako template, the report is designed there and field used is partner_ids. Check account_report_partners_ledger.mako in account_financial_report_webkit module.

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
maalisk. 15
5208
0
maalisk. 15
3558
1
heinäk. 17
8909
0
heinäk. 15
4642
0
maalisk. 15
4124