I m trying to create a new contact in odoo application but it shows me this error :
KeyError: 'ir.values'
The issue is related with this funtion.
class ResPartner(models.Model):
_inherit = 'res.partner'
def _default_credit_limit(self):
return self.env['ir.values'].get_default('account.config.settings', 'credit_limit')
I don't understand the problem
Can you please help me