addons-cm/stock_picking_batch_extended/models/stock_warehouse.py

14 lines
382 B
Python

# Copyright 2016 Camptocamp SA
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from odoo import fields, models
class StockWarehouse(models.Model):
_inherit = 'stock.warehouse'
default_user_id = fields.Many2one(
'res.users', 'Default Picker',
help='the user to which the batch pickings are assigned by default',
index=True,
)