Files
stock-logistics-warehouse/stock_cubiscan/models/stock.py
Guewen Baconnier df2fb57b49 Remove unique constraint on packaging type in cubiscan
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.
2020-07-21 13:48:42 +02:00

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"
)