[ADD] stock_picking_batch_custom: columnas opcionales partner y categoría

This commit is contained in:
snt 2026-02-27 16:03:25 +01:00
parent 97dc41d212
commit ced21cc489
7 changed files with 61 additions and 0 deletions

View file

@ -0,0 +1,17 @@
# 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,
)