[IMP] stock_usability: add tracking on lot fields (model already inherit from mail.thread)
This commit is contained in:
@@ -4,6 +4,7 @@ from . import stock_picking
|
||||
from . import stock_picking_type
|
||||
from . import stock_warehouse_orderpoint
|
||||
from . import stock_quant
|
||||
from . import stock_lot
|
||||
from . import procurement_group
|
||||
from . import procurement_scheduler_log
|
||||
from . import product
|
||||
|
||||
14
stock_usability/models/stock_lot.py
Normal file
14
stock_usability/models/stock_lot.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# Copyright 2024 Akretion France (https://www.akretion.com)
|
||||
# @author Alexis de Lattre <alexis.delattre@akretion.com>
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class StockLot(models.Model):
|
||||
_inherit = 'stock.lot'
|
||||
|
||||
name = fields.Char(tracking=True)
|
||||
ref = fields.Char(tracking=True)
|
||||
product_id = fields.Many2one(tracking=True)
|
||||
company_id = fields.Many2one(tracking=True)
|
||||
Reference in New Issue
Block a user