forked from Mapan/odoo17e
16 lines
476 B
Python
16 lines
476 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import models
|
|
|
|
|
|
class StockPicking(models.Model):
|
|
_inherit = 'stock.picking'
|
|
|
|
def _get_fields_stock_barcode(self):
|
|
""" Inject the field 'quality_check_todo' in the initial state of the barcode view.
|
|
"""
|
|
fields = super(StockPicking, self)._get_fields_stock_barcode()
|
|
fields.append('quality_check_todo')
|
|
return fields
|