(self)
Remove previous partner records and partner refunds in report.
Remove previous partner records and partner refunds in report.
Remove previous partner records and partner refunds in report .
def _cleanup_report(self):
        """Remove previous partner records and partner refunds in report."""
        self.ensure_one()
        self.partner_record_ids.unlink()
        self.partner_refund_ids.unlink()
        self.partner_record_detail_ids.unlink()
        self.partner_refund_detail_ids.unlink()
def _cleanup_report ( self ) : self . ensure_one ( ) self . partner_record_ids . unlink ( ) self . partner_refund_ids . unlink ( ) self . partner_record_detail_ids . unlink ( ) self . partner_refund_detail_ids . unlink ( )