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

odoo 15 development error

Subscribe

Get notified when there's activity on this post

This question has been flagged
developmenterrorv15psycopg2.errors
1 Reply
4735 Views
Avatar
mahmoud

i just download odoo 15 make conf and run server

but it give me error



File "/Users/mac/PycharmProjects/odoo15/odoo/odoo/addons/base/models/qweb.py", line 223, in render_template
raise QWebException("Error when render the template", self, options,
File "/Users/mac/PycharmProjects/odoo15/odoo/odoo/addons/base/models/qweb.py", line 45, in __init__
element = qweb._get_template(template, options)[0]
File "/Users/mac/PycharmProjects/odoo15/odoo/odoo/addons/base/models/qweb.py", line 254, in _get_template
raise QWebException("load could not load template", self, options, e, template)
odoo\.addons\.base\.models\.qweb\.QWebException:\ current\ transaction\ is\ aborted,\ commands\ ignored\ until\ end\ of\ transaction\ block

Traceback\ \(most\ recent\ call\ last\):
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/tools/cache\.py",\ line\ 85,\ in\ lookup
\ \ \ \ r\ =\ d\[key\]
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/tools/func\.py",\ line\ 71,\ in\ wrapper
\ \ \ \ return\ func\(self,\ \*args,\ \*\*kwargs\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/tools/lru\.py",\ line\ 34,\ in\ __getitem__
\ \ \ \ a\ =\ self\.d\[obj\]
KeyError:\ \('ir\.qweb',\ ,\ 'web\.assets_common',\ True,\ False,\ '1',\ False,\ False,\ False,\ \(None,\ 'en_US'\)\)

During\ handling\ of\ the\ above\ exception,\ another\ exception\ occurred:

Traceback\ \(most\ recent\ call\ last\):
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/tools/cache\.py",\ line\ 85,\ in\ lookup
\ \ \ \ r\ =\ d\[key\]
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/tools/func\.py",\ line\ 71,\ in\ wrapper
\ \ \ \ return\ func\(self,\ \*args,\ \*\*kwargs\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/tools/lru\.py",\ line\ 34,\ in\ __getitem__
\ \ \ \ a\ =\ self\.d\[obj\]
KeyError:\ \('ir\.qweb',\ ,\ 'web\.assets_common',\ None,\ False,\ False,\ \(None,\ 'en_US'\)\)

During\ handling\ of\ the\ above\ exception,\ another\ exception\ occurred:

Traceback\ \(most\ recent\ call\ last\):
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/addons/base/models/qweb\.py",\ line\ 219,\ in\ render_template
\ \ \ \ yield\ from\ compiled_fn\(self,\ values,\ log\)
\ \ File\ "",\ line\ 43,\ in\ template_193
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/addons/base/models/ir_qweb\.py",\ line\ 246,\ in\ _get_asset_nodes
\ \ \ \ return\ self\._generate_asset_nodes_cache\(bundle,\ css,\ js,\ debug,\ async_load,\ defer_load,\ lazy_load,\ media\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/venv/lib/python3\.9/site\-packages/decorator\.py",\ line\ 232,\ in\ fun
\ \ \ \ return\ caller\(func,\ \*\(extras\ \+\ args\),\ \*\*kw\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/tools/cache\.py",\ line\ 90,\ in\ lookup
\ \ \ \ value\ =\ d\[key\]\ =\ self\.method\(\*args,\ \*\*kwargs\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/addons/base/models/ir_qweb\.py",\ line\ 255,\ in\ _generate_asset_nodes_cache
\ \ \ \ return\ self\._generate_asset_nodes\(bundle,\ css,\ js,\ debug,\ async_load,\ defer_load,\ lazy_load,\ media\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/addons/base/models/ir_qweb\.py",\ line\ 263,\ in\ _generate_asset_nodes
\ \ \ \ files,\ remains\ =\ self\._get_asset_content\(bundle,\ nodeAttrs,\ defer_load=defer_load,\ lazy_load=lazy_load\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/venv/lib/python3\.9/site\-packages/decorator\.py",\ line\ 232,\ in\ fun
\ \ \ \ return\ caller\(func,\ \*\(extras\ \+\ args\),\ \*\*kw\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/tools/cache\.py",\ line\ 90,\ in\ lookup
\ \ \ \ value\ =\ d\[key\]\ =\ self\.method\(\*args,\ \*\*kwargs\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/addons/base/models/ir_qweb\.py",\ line\ 274,\ in\ _get_asset_content
\ \ \ \ asset_paths\ =\ self\.env\['ir\.asset'\]\._get_asset_paths\(bundle=bundle,\ css=True,\ js=True\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/addons/base/models/ir_asset\.py",\ line\ 123,\ in\ _get_asset_paths
\ \ \ \ self\._fill_asset_paths\(bundle,\ addons,\ installed,\ css,\ js,\ xml,\ asset_paths,\ \[\]\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/addons/base/models/ir_asset\.py",\ line\ 206,\ in\ _fill_asset_paths
\ \ \ \ assets\ =\ self\._get_related_assets\(\[\('bundle',\ '=',\ bundle\)\]\)\.filtered\('active'\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/addons/base/models/ir_asset\.py",\ line\ 231,\ in\ _get_related_assets
\ \ \ \ return\ self\.with_context\(active_test=False\)\.sudo\(\)\.search\(domain,\ order='sequence,\ id'\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/models\.py",\ line\ 1811,\ in\ search
\ \ \ \ return\ res\ if\ count\ else\ self\.browse\(res\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/models\.py",\ line\ 5165,\ in\ browse
\ \ \ \ if\ not\ ids:
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/osv/query\.py",\ line\ 215,\ in\ __bool__
\ \ \ \ return\ bool\(self\._result\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/tools/func\.py",\ line\ 26,\ in\ __get__
\ \ \ \ value\ =\ self\.fget\(obj\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/osv/query\.py",\ line\ 208,\ in\ _result
\ \ \ \ self\._cr\.execute\(query_str,\ params\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/venv/lib/python3\.9/site\-packages/decorator\.py",\ line\ 232,\ in\ fun
\ \ \ \ return\ caller\(func,\ \*\(extras\ \+\ args\),\ \*\*kw\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/sql_db\.py",\ line\ 89,\ in\ check
\ \ \ \ return\ f\(self,\ \*args,\ \*\*kwargs\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/sql_db\.py",\ line\ 310,\ in\ execute
\ \ \ \ res\ =\ self\._obj\.execute\(query,\ params\)
psycopg2\.errors\.UndefinedTable:\ relation\ "ir_asset"\ does\ not\ exist
LINE\ 1:\ SELECT\ "ir_asset"\.id\ FROM\ "ir_asset"\ WHERE\ \("ir_asset"\."bund\.\.\.


load\ could\ not\ load\ template
InFailedSqlTransaction:\ current\ transaction\ is\ aborted,\ commands\ ignored\ until\ end\ of\ transaction\ block

Template:\ 283

During\ handling\ of\ the\ above\ exception,\ another\ exception\ occurred:

Traceback\ \(most\ recent\ call\ last\):
\ \ File\ "/Users/mac/PycharmProjects/odoo15/venv/lib/python3\.9/site\-packages/werkzeug/serving\.py",\ line\ 306,\ in\ run_wsgi
\ \ \ \ execute\(self\.server\.app\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/venv/lib/python3\.9/site\-packages/werkzeug/serving\.py",\ line\ 294,\ in\ execute
\ \ \ \ application_iter\ =\ app\(environ,\ start_response\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/service/server\.py",\ line\ 482,\ in\ app
\ \ \ \ return\ self\.app\(e,\ s\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/service/wsgi_server\.py",\ line\ 112,\ in\ application
\ \ \ \ return\ application_unproxied\(environ,\ start_response\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/service/wsgi_server\.py",\ line\ 87,\ in\ application_unproxied
\ \ \ \ result\ =\ odoo\.http\.root\(environ,\ start_response\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/http\.py",\ line\ 1336,\ in\ __call__
\ \ \ \ return\ self\.dispatch\(environ,\ start_response\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/http\.py",\ line\ 1302,\ in\ __call__
\ \ \ \ return\ self\.app\(environ,\ start_wrapped\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/venv/lib/python3\.9/site\-packages/werkzeug/middleware/shared_data\.py",\ line\ 220,\ in\ __call__
\ \ \ \ return\ self\.app\(environ,\ start_response\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/http\.py",\ line\ 1531,\ in\ dispatch
\ \ \ \ result\ =\ ir_http\._dispatch\(\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/addons/auth_signup/models/ir_http\.py",\ line\ 19,\ in\ _dispatch
\ \ \ \ return\ super\(Http,\ cls\)\._dispatch\(\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/addons/web_editor/models/ir_http\.py",\ line\ 21,\ in\ _dispatch
\ \ \ \ return\ super\(IrHttp,\ cls\)\._dispatch\(\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/addons/utm/models/ir_http\.py",\ line\ 29,\ in\ _dispatch
\ \ \ \ response\ =\ super\(IrHttp,\ cls\)\._dispatch\(\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/addons/http_routing/models/ir_http\.py",\ line\ 512,\ in\ _dispatch
\ \ \ \ return\ cls\._handle_exception\(routing_error\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/addons/utm/models/ir_http\.py",\ line\ 34,\ in\ _handle_exception
\ \ \ \ response\ =\ super\(IrHttp,\ cls\)\._handle_exception\(exc\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/addons/http_routing/models/ir_http\.py",\ line\ 666,\ in\ _handle_exception
\ \ \ \ code,\ html\ =\ 418,\ env\['ir\.ui\.view'\]\._render_template\('http_routing\.http_error',\ values\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/addons/base/models/ir_ui_view\.py",\ line\ 1985,\ in\ _render_template
\ \ \ \ return\ self\.browse\(self\.get_view_id\(template\)\)\._render\(values,\ engine\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/addons/base/models/ir_ui_view\.py",\ line\ 1873,\ in\ get_view_id
\ \ \ \ view\ =\ self\.sudo\(\)\.search\(\[\('key',\ '=',\ template\)\],\ limit=1\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/models\.py",\ line\ 1811,\ in\ search
\ \ \ \ return\ res\ if\ count\ else\ self\.browse\(res\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/models\.py",\ line\ 5165,\ in\ browse
\ \ \ \ if\ not\ ids:
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/osv/query\.py",\ line\ 215,\ in\ __bool__
\ \ \ \ return\ bool\(self\._result\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/tools/func\.py",\ line\ 26,\ in\ __get__
\ \ \ \ value\ =\ self\.fget\(obj\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/osv/query\.py",\ line\ 208,\ in\ _result
\ \ \ \ self\._cr\.execute\(query_str,\ params\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/venv/lib/python3\.9/site\-packages/decorator\.py",\ line\ 232,\ in\ fun
\ \ \ \ return\ caller\(func,\ \*\(extras\ \+\ args\),\ \*\*kw\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/sql_db\.py",\ line\ 89,\ in\ check
\ \ \ \ return\ f\(self,\ \*args,\ \*\*kwargs\)
\ \ File\ "/Users/mac/PycharmProjects/odoo15/odoo/odoo/sql_db\.py",\ line\ 310,\ in\ execute
\ \ \ \ res\ =\ self\._obj\.execute\(query,\ params\)
psycopg2.errors.InFailedSqlTransaction: current transaction is aborted, commands ignored until end of transaction block - - -

0
Avatar
Discard
Avatar
Abdulmomen Kadhim Khlaif
Best Answer

are there any solutions to this?

0
Avatar
Discard
Hamid Abdalla Mohamed Ibrahim

sir are you find any solution ?

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
psycopg2.errors.DatatypeMismatch: COALESCE types text and integer cannot be matched
error module v15 psycopg2.errors
Avatar
0
Feb 23
15
Odoo error on log
error v15
Avatar
Avatar
1
Nov 25
2456
how to make user see only his a signed default warehouse Returns & Delivery Orders & Receipts in overview backend
development v15
Avatar
0
May 23
2156
(Solved) v15: wrong view after change view_id Solved
development v15
Avatar
Avatar
1
Sep 22
4008
Odoo 15 error viewing some email templates Solved
error v15
Avatar
1
May 22
3782
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