mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-21 05:32:04 +02:00
12 lines
339 B
Python
12 lines
339 B
Python
# Copyright 2021 Camptocamp SA
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class StockMoveLine(models.Model):
|
|
_inherit = "stock.move.line"
|
|
|
|
# Override to make '_calc_product_available_qty' method of
|
|
# 'stock.buffer' more efficient.
|
|
state = fields.Selection(index=True)
|