RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "F:\odoo\odoo16\server\odoo\tools\cache\.py",\ line\ 85,\ in\ lookup
\ \ \ \ r\ =\ d\[key\]
\ \ File\ "",\ line\ 2,\ in\ __getitem__
\ \ File\ "F:\odoo\odoo16\server\odoo\tools\func\.py",\ line\ 87,\ in\ locked
\ \ \ \ return\ func\(inst,\ \*args,\ \*\*kwargs\)
\ \ File\ "F:\odoo\odoo16\server\odoo\tools\lru\.py",\ line\ 34,\ in\ __getitem__
\ \ \ \ a\ =\ self\.d\[obj\]
KeyError:\ \('ir\.model\.data',\ ,\ 'account\.tax_group_taxes'\)
During\ handling\ of\ the\ above\ exception,\ another\ exception\ occurred:
Traceback\ \(most\ recent\ call\ last\):
\ \ File\ "F:\odoo\odoo16\server\odoo\http\.py",\ line\ 1578,\ in\ _serve_db
\ \ \ \ return\ service_model\.retrying\(self\._serve_ir_http,\ self\.env\)
\ \ File\ "F:\odoo\odoo16\server\odoo\service\model\.py",\ line\ 134,\ in\ retrying
\ \ \ \ result\ =\ func\(\)
\ \ File\ "F:\odoo\odoo16\server\odoo\http\.py",\ line\ 1607,\ in\ _serve_ir_http
\ \ \ \ response\ =\ self\.dispatcher\.dispatch\(rule\.endpoint,\ args\)
\ \ File\ "F:\odoo\odoo16\server\odoo\http\.py",\ line\ 1804,\ in\ dispatch
\ \ \ \ result\ =\ self\.request\.registry\['ir\.http'\]\._dispatch\(endpoint\)
\ \ File\ "F:\odoo\odoo16\server\odoo\addons\base\models\ir_http\.py",\ line\ 140,\ in\ _dispatch
\ \ \ \ result\ =\ endpoint\(\*\*request\.params\)
\ \ File\ "F:\odoo\odoo16\server\odoo\http\.py",\ line\ 698,\ in\ route_wrapper
\ \ \ \ result\ =\ endpoint\(self,\ \*args,\ \*\*params_ok\)
\ \ File\ "F:\odoo\odoo16\server\odoo\addons\web\controllers\dataset\.py",\ line\ 42,\ in\ call_kw
\ \ \ \ return\ self\._call_kw\(model,\ method,\ args,\ kwargs\)
\ \ File\ "F:\odoo\odoo16\server\odoo\addons\web\controllers\dataset\.py",\ line\ 33,\ in\ _call_kw
\ \ \ \ return\ call_kw\(request\.env\[model\],\ method,\ args,\ kwargs\)
\ \ File\ "F:\odoo\odoo16\server\odoo\api\.py",\ line\ 461,\ in\ call_kw
\ \ \ \ result\ =\ _call_kw_multi\(method,\ model,\ args,\ kwargs\)
\ \ File\ "F:\odoo\odoo16\server\odoo\api\.py",\ line\ 448,\ in\ _call_kw_multi
\ \ \ \ result\ =\ method\(recs,\ \*args,\ \*\*kwargs\)
\ \ File\ "F:\odoo\odoo16\server\odoo\models\.py",\ line\ 6383,\ in\ onchange
\ \ \ \ defaults\ =\ self\.default_get\(missing_names\)
\ \ File\ "F:\odoo\odoo16\server\odoo\addons\account\models\account_tax\.py",\ line\ 161,\ in\ default_get
\ \ \ \ rslt\ =\ super\(AccountTax,\ self\)\.default_get\(fields_list\ \+\ \['company_id'\]\)
\ \ File\ "F:\odoo\odoo16\server\odoo\models\.py",\ line\ 1416,\ in\ default_get
\ \ \ \ defaults\[name\]\ =\ field\.default\(self\)
\ \ File\ "F:\odoo\odoo16\server\odoo\addons\account\models\account_tax\.py",\ line\ 86,\ in\ _default_tax_group
\ \ \ \ return\ self\.env\.ref\('account\.tax_group_taxes'\)
\ \ File\ "F:\odoo\odoo16\server\odoo\api\.py",\ line\ 583,\ in\ ref
\ \ \ \ xml_id,\ raise_if_not_found=raise_if_not_found
\ \ File\ "F:\odoo\odoo16\server\odoo\addons\base\models\ir_model\.py",\ line\ 2018,\ in\ _xmlid_to_res_model_res_id
\ \ \ \ return\ self\._xmlid_lookup\(xmlid\)\[1:3\]
\ \ File\ "",\ line\ 2,\ in\ _xmlid_lookup
\ \ File\ "F:\odoo\odoo16\server\odoo\tools\cache\.py",\ line\ 90,\ in\ lookup
\ \ \ \ value\ =\ d\[key\]\ =\ self\.method\(\*args,\ \*\*kwargs\)
\ \ File\ "F:\odoo\odoo16\server\odoo\addons\base\models\ir_model.py", line 2011, in _xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: account.tax_group_taxes
The above server error caused the following client error:
null
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1
Reply
1221
Views
Hello,
You deleted tax group records from your database that's why you are facing this error.
Thanks,
shivoham.odoo@gmail.com
thank you
but how can i add tax group again
Try to upgrade the account application.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up