# _*_ coding: utf-8 _*_
from odoo import models, api,fields

class SaleOrderReport(models.AbstractModel):
    _name = 'report.sale_order_promotion.sale_order_report'

    @api.multi
    def get_report_values(self, docids, data=None):
        docs = self.env['sale.order'].browse(docids)
        return {
            'doc_ids': docs.ids,
            'doc_model': 'sale.order',
            'doc': docs,
            'proforma': True
        }