You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
533 B

  1. # Copyright 2018 Eficent Business and IT Consulting Services, S.L.
  2. # License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
  3. from odoo.tests.common import TransactionCase
  4. class TestPosConfigShowAccounting(TransactionCase):
  5. def setUp(self):
  6. super(TestPosConfigShowAccounting, self).setUp()
  7. def test_show_accounting(self):
  8. pos_config = self.env['pos.config'].create(
  9. {'name': 'PoS config show accounting'})
  10. self.assertEquals(pos_config.is_installed_account_accountant, True)