mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
13 lines
414 B
Python
13 lines
414 B
Python
# Copyright 2018 Camptocamp SA
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo.tests.common import TransactionCase
|
|
|
|
|
|
class TestPutawayMethod(TransactionCase):
|
|
|
|
# Check if "fixed" is a valid putaway method
|
|
def test_01_putaway_methods(self):
|
|
field_method = self.env["product.putaway"]._fields.get("method")
|
|
self.assertIn("fixed", field_method.get_values(self.env))
|