Skip to Content
Menu
This question has been flagged
2 Replies
2642 Views






when i try in shell self.env['partner.sms.send']
then it gives error as follows

Traceback (most recent call last): File "<console>", line 1, in <module> File "/opt/odoo/odoo-server/odoo/api.py", line 760, in __getitem__ return self.registry[model_name]._browse((), self) File "/opt/odoo/odoo-server/odoo/modules/registry.py", line 174, in __getitem__ return self.models[model_name] KeyError: 'partner.sms.send'
Avatar
Discard
Author Best Answer

I check and 'partner.sms.send' this model are present in the database

Avatar
Discard
Best Answer

as the error said

KeyError: 'partner.sms.send', no model named partner.sms.send . check whether it is available

Avatar
Discard