account_invoice.py 264 B

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