mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
The constraint is moved to the module stock_packaging_type: https://github.com/OCA/product-attribute/pull/654 Having this constraint in this module doesn't make sense.
13 lines
323 B
Python
13 lines
323 B
Python
# Copyright 2019 Camptocamp SA
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class StockWarehouse(models.Model):
|
|
_inherit = "stock.warehouse"
|
|
|
|
cubiscan_device_ids = fields.One2many(
|
|
"cubiscan.device", "warehouse_id", string="Cubiscan Devices"
|
|
)
|