common.py 467 B

123456789101112131415161718
  1. # -*- coding: utf-8 -*-
  2. # Part of Odoo. See LICENSE file for full copyright and licensing details.
  3. from odoo.tests.common import TransactionCase
  4. class TestContractCommon(TransactionCase):
  5. @classmethod
  6. def setUpClass(cls):
  7. super(TestContractCommon, cls).setUpClass()
  8. cls.employee = cls.env['hr.employee'].create({
  9. 'name': 'Richard',
  10. 'gender': 'male',
  11. 'country_id': cls.env.ref('base.be').id,
  12. })