You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
558 B
13 lines
558 B
# -*- coding: utf-8 -*-
|
|
from openerp import api, fields, models, _
|
|
|
|
class AccountInvoiceReport(models.Model):
|
|
_inherit = "account.invoice.report"
|
|
|
|
release_capital_request = fields.Boolean(string="Release capital request")
|
|
|
|
def _select(self):
|
|
return super(AccountInvoiceReport, self)._select() + ", sub.release_capital_request as release_capital_request"
|
|
|
|
def _sub_select(self):
|
|
return super(AccountInvoiceReport, self)._sub_select() + ", ai.release_capital_request as release_capital_request"
|