[FIX] account_payment_order: wrong function name

This commit is contained in:
Rubén Cerdà
2019-04-09 13:56:37 +02:00
committed by Raf Ven
parent 426a9145bf
commit 87b3b8a87e

View File

@@ -10,7 +10,7 @@ class AccountPaymentOrderReport(models.AbstractModel):
_description = 'Technical model for printing payment order'
@api.model
def get_report_values(self, docids, data=None):
def _get_report_values(self, docids, data=None):
AccountPaymentOrderObj = self.env['account.payment.order']
docs = AccountPaymentOrderObj.browse(docids)