# -*- coding: utf-8 -*- # @authors: Alexander Ezquevo # Copyright (C) 2016 Acysos S.L. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from openerp import models, fields class AccountInvoiceLine(models.Model): _inherit = 'account.invoice.line' animal_qty = fields.Integer(string = 'Num of animals') farm = fields.Many2one(string='Farm', comodel_name='stock.warehouse')