Files
stock-logistics-warehouse/stock_change_qty_reason/models/stock_move.py
2019-12-23 08:53:04 +01:00

11 lines
356 B
Python

# Copyright 2019 Eficent Business and IT Consulting Services, S.L.
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
from odoo import fields, models
class StockMove(models.Model):
_inherit = "stock.move"
preset_reason_id = fields.Many2one('stock.inventory.line.reason',
required=False)