# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.

from odoo import fields, models, api


class InvoiceLine(models.Model):
    #_name = 'account.invoice.line'
    _inherit = 'account.invoice.line'

    #categ_id = fields.Many2one('product.category', related="product_id.product_tmpl_id.categ_id", string='Product Internal Category', store=True, readonly=True)
    category_id = fields.Many2one('product.category', related="product_id.product_tmpl_id.categ_id", string='Product Internal Category', store=True, readonly=True)
