Assertion error class trytond.modules.authentiation_sms.res.User

9939 140166612731264 [2019-03-05 07:06:10,489] INFO trytond.backend.postgresql.database connect to "devel"
9939 140166612731264 [2019-03-05 07:06:10,521] INFO trytond.admin init db
9939 140166612731264 [2019-03-05 07:06:15,937] INFO trytond.modules ir:registering classes
9939 140166612731264 [2019-03-05 07:06:15,937] INFO trytond.modules res:registering classes
9939 140166612731264 [2019-03-05 07:06:15,937] INFO trytond.modules authentication_sms:registering classes
Traceback (most recent call last):
 File "./trytond-5.0.5/bin/trytond-admin", line 21, in <module>
   admin.run(options)
 File "/home/nzaniela/trytond-5.0.5/trytond/admin.py", line 54, in run
   activatedeps=options.activatedeps)
 File "/home/nzaniela/trytond-5.0.5/trytond/pool.py", line 149, in init
   self.start()
 File "/home/nzaniela/trytond-5.0.5/trytond/pool.py", line 102, in start
   register_classes()
 File "/home/nzaniela/trytond-5.0.5/trytond/modules/__init__.py", line 334, in register_classes
   the_module.register()
 File "/home/nzaniela/trytond-5.0.5/trytond/modules/authentication_sms/__init__.py", line 12, in register
   module='authentication_sms', type_='model')
 File "/home/nzaniela/trytond-5.0.5/trytond/pool.py", line 87, in register
   assert issubclass(cls.__class__, PoolMeta), cls
AssertionError: <class 'trytond.modules.authentication_sms.res.User'>

Hi,

You could be a little more accurate with your description, but I think the problem is probably a typo in the __name__ of your model : it should be res.user rather than res.User

I think that the module authentication_sms is not from the same series as the server. The server is 5.0 so all the modules should be from series 5.0.