add backend_theme from openworx.nl
This commit is contained in:
parent
17ecc2e4a0
commit
46d66821ec
70 changed files with 5413 additions and 0 deletions
1
web_responsive/tests/__init__.py
Normal file
1
web_responsive/tests/__init__.py
Normal file
|
@ -0,0 +1 @@
|
|||
from . import test_res_users
|
16
web_responsive/tests/test_res_users.py
Normal file
16
web_responsive/tests/test_res_users.py
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Copyright 2018 Alexandre Díaz
|
||||
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
|
||||
|
||||
from odoo.tests import common
|
||||
|
||||
|
||||
class TestResUsers(common.TransactionCase):
|
||||
|
||||
def test_chatter_position_wr(self):
|
||||
user_public = self.env.ref('base.public_user')
|
||||
|
||||
self.assertEqual(user_public.chatter_position, 'normal')
|
||||
user_public.sudo(user_public).write({
|
||||
'chatter_position': 'sided',
|
||||
})
|
||||
self.assertEqual(user_public.chatter_position, 'sided')
|
Loading…
Add table
Add a link
Reference in a new issue