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.
 
 
 
 

19 lines
563 B

from odoo import 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"
)