Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Can't access helpdesk.team when using swedish language.

Subscribe

Get notified when there's activity on this post

This question has been flagged
helpdeskl10nodoo16features
2 Replies
3089 Views
Avatar
Oskar Hertzman

After upgrading our odoo environment to version 16. we can't seem to access the helpdesk.team app anymore when swedish language is set. It works if the lang is set to english. 

Here is the full error:

Traceback (most recent call last):
  File "/home/odoo/odoo/lib/odoo/odoo/tools/cache.py", line 85, in lookup
    r = d[key]
  File "", line 2, in __getitem__
  File "/home/odoo/odoo/lib/odoo/odoo/tools/func.py", line 87, in locked
    return func(inst, *args, **kwargs)
  File "/home/odoo/odoo/lib/odoo/odoo/tools/lru.py", line 34, in __getitem__
    a = self.d[obj]
KeyError: ('helpdesk.team', , (False, 'form', None, 'sv_SE'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/odoo/odoo/lib/odoo/odoo/http.py", line 1583, in _serve_db
    return service_model.retrying(self._serve_ir_http, self.env)
  File "/home/odoo/odoo/lib/odoo/odoo/service/model.py", line 134, in retrying
    result = func()
  File "/home/odoo/odoo/lib/odoo/odoo/http.py", line 1610, in _serve_ir_http
    response = self.dispatcher.dispatch(rule.endpoint, args)
  File "/home/odoo/odoo/lib/odoo/odoo/http.py", line 1807, in dispatch
    result = self.request.registry['ir.http']._dispatch(endpoint)
  File "/home/odoo/odoo/lib/odoo/odoo/addons/base/models/ir_http.py", line 154, in _dispatch
    result = endpoint(**request.params)
  File "/home/odoo/odoo/lib/odoo/odoo/http.py", line 696, in route_wrapper
    result = endpoint(self, *args, **params_ok)
  File "/home/odoo/odoo/lib/odoo/addons/web/controllers/dataset.py", line 42, in call_kw
    return self._call_kw(model, method, args, kwargs)
  File "/home/odoo/odoo/lib/odoo/addons/web/controllers/dataset.py", line 33, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/home/odoo/odoo/lib/odoo/odoo/api.py", line 457, in call_kw
    result = _call_kw_model(method, model, args, kwargs)
  File "/home/odoo/odoo/lib/odoo/odoo/api.py", line 430, in _call_kw_model
    result = method(recs, *args, **kwargs)
  File "/home/odoo/odoo/lib/odoo/odoo/addons/base/models/ir_ui_view.py", line 2494, in get_views
    for [v_id, v_type] in views
  File "/home/odoo/odoo/lib/odoo/odoo/addons/base/models/ir_ui_view.py", line 2494, in 
    for [v_id, v_type] in views
  File "/home/odoo/odoo/lib/odoo/odoo/addons/base/models/ir_ui_view.py", line 2674, in get_view
    result = dict(self._get_view_cache(view_id, view_type, **options))
  File "", line 2, in _get_view_cache
  File "/home/odoo/odoo/lib/odoo/odoo/tools/cache.py", line 90, in lookup
    value = d[key] = self.method(*args, **kwargs)
  File "/home/odoo/odoo/lib/odoo/odoo/addons/base/models/ir_ui_view.py", line 2637, in _get_view_cache
    arch, models = view.postprocess_and_fields(arch, model=self._name, **options)
  File "/home/odoo/odoo/lib/odoo/odoo/addons/base/models/ir_ui_view.py", line 1036, in postprocess_and_fields
    name_manager = self._postprocess_view(node, model or self.model, **options)
  File "/home/odoo/odoo/lib/odoo/odoo/addons/base/models/ir_ui_view.py", line 1181, in _postprocess_view
    transfer_node_to_modifiers(node, node_info['modifiers'])
  File "/home/odoo/odoo/lib/odoo/odoo/addons/base/models/ir_ui_view.py", line 84, in transfer_node_to_modifiers
    modifiers.update(ast.literal_eval(attrs.strip()))
  File "/usr/lib/python3.7/ast.py", line 46, in literal_eval
    node_or_string = parse(node_or_string, mode='eval')
  File "/usr/lib/python3.7/ast.py", line 35, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "", line 1
    ”{’invisible’:
    ^
SyntaxError: invalid character in identifier

The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
    at makeErrorFromResponse (https://odoo.w4r.se/web/assets/debug/web.assets_backend.js:10529:19) (/web/static/src/core/network/rpc_service.js:34)
    at XMLHttpRequest. (https://odoo.w4r.se/web/assets/debug/web.assets_backend.js:10582:27) (/web/static/src/core/network/rpc_service.js:87)


Any help would greatly be appreciated and upvoted!

0
Avatar
Discard
Cybrosys Techno Solutions Pvt.Ltd

Hi
Please verify that the Helpdesk Team app you're using is compatible with Odoo version 16. Ensure that you have the latest version of the app installed, specifically designed for Odoo 16. Double-check the language settings in your Odoo instance. Make sure that the Swedish language is properly configured and activated. You can navigate to the Language settings in Odoo and ensure that Swedish (or its corresponding code) is enabled.

Hope it helps

Avatar
Niyas Raphy (Walnut Software Solutions)
Best Answer

Hi,

There is something wrong with the translation in the db, if you have used odoo migration service for the upgrade process, create a support ticker under migration here:  https://www.odoo.com/help

Thanks

1
Avatar
Discard
Oskar Hertzman
Author

The arch_db xml record in the database for helpdesk had these incorrect character, thanks!

Avatar
shubham shiroya
Best Answer

you can check following steps:

  1. Identify the View: The error traceback indicates that the issue is related to the view with the identifier "helpdesk.team" and the language code "sv_SE". Locate the XML view file associated with this identifier.

  2. Check for Syntax Errors: Open the XML view file and carefully review the contents for any syntax errors. Pay attention to the line mentioned in the error message: ”{’invisible’:. It appears that there is an invalid character or incorrect syntax in this line.

  3. Correct the Syntax Error: Once you have identified the syntax error, correct it by replacing the invalid character or fixing the syntax. Ensure that the XML view is properly formatted with correct opening and closing tags, attribute values, and other required elements.

  4. Restart the Odoo Server: After making the necessary changes to the XML view file, restart the Odoo server to apply the updates.

  5. Test the Helpdesk Team App: Access the Helpdesk Team app again, set the language to Swedish (sv_SE), and verify if the error is resolved.


1
Avatar
Discard
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
Related Posts Replies Views Activity
configure multiple email domains to send and receive emails
email helpdesk odoo16features
Avatar
0
Sep 24
2260
Odoo Helpdesk
customer helpdesk odoo16features
Avatar
Avatar
1
Jan 24
1746
Helpdesk App - Odoo 16
helpdesk accessrights odoo16features
Avatar
Avatar
1
Jan 24
2518
v16 - v17: Helpdesk - Ticket Closed status on kanban view? Solved
ticket helpdesk odoo16features v17
Avatar
Avatar
1
Nov 23
2033
Helpdesk: how to limit assignment options ?
helpdesk team Helpdesk odoo16features
Avatar
0
Oct 23
91
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now