mirror of
https://github.com/bringout/oca-ocb-pos.git
synced 2026-04-24 06:42:02 +02:00
14 lines
581 B
Python
14 lines
581 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo.tests import tagged
|
|
from odoo.addons.pos_restaurant.tests.test_frontend import TestFrontendCommon
|
|
|
|
@tagged('post_install', '-at_install')
|
|
class TestPosRestaurantFlow(TestFrontendCommon):
|
|
|
|
def test_floor_plans_archive(self):
|
|
floors = self.main_floor + self.second_floor
|
|
floors.action_archive()
|
|
# All floors should be archived successfully
|
|
self.assertTrue(all(floor.active is False for floor in floors), "All floors should be archived")
|