stock_usability: add tracking on important fields of stock.production.lot
Code cleanup
This commit is contained in:
13
stock_usability/models/stock_production_lot.py
Normal file
13
stock_usability/models/stock_production_lot.py
Normal file
@@ -0,0 +1,13 @@
|
||||
# Copyright 2024 Akretion France (https://www.akretion.com/)
|
||||
# @author: Alexis de Lattre <alexis.delattre@akretion.com>
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class StockProductionLot(models.Model):
|
||||
_inherit = 'stock.production.lot'
|
||||
|
||||
name = fields.Char(tracking=True)
|
||||
product_id = fields.Many2one(tracking=True)
|
||||
ref = fields.Char(tracking=True)
|
||||
Reference in New Issue
Block a user