# -*- coding: utf-8 -*- from openerp import models, fields, api from openerp.exceptions import except_orm, Warning, RedirectWarning class AccountInvoice(models.Model): _inherit = 'account.invoice' task_invoice_id = fields.Many2one('project.service.task')