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.

11 lines
230 B

  1. # -*- coding: utf-8 -*-
  2. from openerp import models, fields
  3. class AccountInvoice(models.Model):
  4. _inherit = 'account.invoice'
  5. contract_id = fields.Many2one(
  6. 'account.analytic.account',
  7. string='Contract')