This question has been flagged
1 Reply
1515 Views

Hi all,


I want to add a custom field in Purchase Pivot Report:

I added this field in purchase.report and purchase.order.line as well, after that i added this field in query in purchase.report which is  under following method:


@api.model_cr

    def init(self):

     code_here


But this init() method is not getting called and unable to add field in report.

What could be the issue?

Anyone can share a solution please.?

I am using v10.

Avatar
Discard
Best Answer

Hi Yaseen Jamii,

   To add a custom filter in Purchase Pivot Report, you just need to add the custom field in purchase.report.All the filters in the pivot is just the fields in purchase.report.But the filter would be useful only if it contains data

Avatar
Discard