Odoo18-Base/addons/website_sale_collect/models/stock_warehouse.py
2025-01-06 10:57:38 +07:00

12 lines
308 B
Python

# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class StockWarehouse(models.Model):
_inherit = 'stock.warehouse'
opening_hours = fields.Many2one(
string="Opening Hours", comodel_name='resource.calendar', check_company=True
)