# Copyright 2026 Criptomart # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import fields from odoo import models class StockMoveLine(models.Model): _inherit = "stock.move.line" product_categ_id = fields.Many2one( comodel_name="product.category", string="Product Category", related="product_id.categ_id", store=True, readonly=True, )