account_invoice.py 349 B

1234567891011
  1. # -*- coding: utf-8 -*-
  2. # © 2016 Therp BV <http://therp.nl>
  3. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
  4. from openerp import fields, models
  5. class AccountInvoice(models.Model):
  6. _inherit = 'account.invoice'
  7. calendar_event_ids = fields.One2many(
  8. 'calendar.event', 'account_invoice_id', string='Anotaciones')