from openerp import models, fields, api, _

class LaporanBukuBesar(models.AbstractModel):
    _name = 'report.ka_account.template_laporan_buku_besar'
    _template = 'ka_account.template_laporan_buku_besar'
    
    @api.multi
    def render_html(self, docids, data=None):
        report_obj = self.env['report']
        model = self.env.context.get('active_model')
        docs = self.env[model].browse(data['ids'])
        docargs = {
            'data': data['form'],
            'doc_ids': self.ids,
            'doc_model': model,
            'docs': docs,
        }
        return report_obj.render(self._template, docargs)
65bc541c179983fc81859d58f0c9964fcc5f707d
<mask token>


class LaporanBukuBesar(models.AbstractModel):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class LaporanBukuBesar(models.AbstractModel):
    <mask token>
    <mask token>

    @api.multi
    def render_html(self, docids, data=None):
        report_obj = self.env['report']
        model = self.env.context.get('active_model')
        docs = self.env[model].browse(data['ids'])
        docargs = {'data': data['form'], 'doc_ids': self.ids, 'doc_model':
            model, 'docs': docs}
        return report_obj.render(self._template, docargs)

<mask token>


class LaporanBukuBesar(models.AbstractModel):
    _name = 'report.ka_account.template_laporan_buku_besar'
    _template = 'ka_account.template_laporan_buku_besar'

    @api.multi
    def render_html(self, docids, data=None):
        report_obj = self.env['report']
        model = self.env.context.get('active_model')
        docs = self.env[model].browse(data['ids'])
        docargs = {'data': data['form'], 'doc_ids': self.ids, 'doc_model':
            model, 'docs': docs}
        return report_obj.render(self._template, docargs)

from openerp import models, fields, api, _


class LaporanBukuBesar(models.AbstractModel):
    _name = 'report.ka_account.template_laporan_buku_besar'
    _template = 'ka_account.template_laporan_buku_besar'

    @api.multi
    def render_html(self, docids, data=None):
        report_obj = self.env['report']
        model = self.env.context.get('active_model')
        docs = self.env[model].browse(data['ids'])
        docargs = {'data': data['form'], 'doc_ids': self.ids, 'doc_model':
            model, 'docs': docs}
        return report_obj.render(self._template, docargs)

from openerp import models, fields, api, _

class LaporanBukuBesar(models.AbstractModel):
    _name = 'report.ka_account.template_laporan_buku_besar'
    _template = 'ka_account.template_laporan_buku_besar'
    
    @api.multi
    def render_html(self, docids, data=None):
        report_obj = self.env['report']
        model = self.env.context.get('active_model')
        docs = self.env[model].browse(data['ids'])
        docargs = {
            'data': data['form'],
            'doc_ids': self.ids,
            'doc_model': model,
            'docs': docs,
        }
        return report_obj.render(self._template, docargs)