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

Getting concurrent update issue in odoo9

Subscribe

Get notified when there's activity on this post

This question has been flagged
serializationodoo9concurrnt
2 Replies
6358 Views
Avatar
Ajeet Yadav (Softprime Consulting Pvt Ltd)

I get this log many times in all odoo versions. is it postgres boundry or odoo code issue. I get this issue in default odoo also.

Please Help if any one have idea.

File "/opt/odoo-9.0/Internal-Odoo/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo-9.0/Internal-Odoo/openerp/addons/base/ir/ir_qweb.py", line 254, in render return self.render_node(element, qwebcontext, generated_attributes=qwebcontext.pop('generated_attributes', '')) File "/opt/odoo-9.0/Internal-Odoo/openerp/addons/base/ir/ir_qweb.py", line 297, in render_node result = self.render_element(element, template_attributes, generated_attributes, qwebcontext) File "/opt/odoo-9.0/Internal-Odoo/openerp/addons/base/ir/ir_qweb.py", line 320, in render_element generated_attributes= name == "t" and generated_attributes or '')) File "/opt/odoo-9.0/Internal-Odoo/openerp/addons/base/ir/ir_qweb.py", line 295, in render_node result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext) File "/opt/odoo-9.0/Internal-Odoo/openerp/addons/base/ir/ir_qweb.py", line 448, in render_tag_call d[0] = self.render_element(element, template_attributes, generated_attributes, d) File "/opt/odoo-9.0/Internal-Odoo/openerp/addons/base/ir/ir_qweb.py", line 320, in render_element generated_attributes= name == "t" and generated_attributes or '')) File "/opt/odoo-9.0/Internal-Odoo/openerp/addons/base/ir/ir_qweb.py", line 295, in render_node result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext) File "/opt/odoo-9.0/Internal-Odoo/openerp/addons/base/ir/ir_qweb.py", line 489, in render_tag_set qwebcontext[template_attributes["set"]] = self.render_element(element, template_attributes, generated_attributes, qwebcontext) File "/opt/odoo-9.0/Internal-Odoo/openerp/addons/base/ir/ir_qweb.py", line 325, in render_element raise_qweb_exception(message="Could not render element %r" % element.tag, node=element, template=template) File "/opt/odoo-9.0/Internal-Odoo/openerp/addons/base/ir/ir_qweb.py", line 320, in render_element generated_attributes= name == "t" and generated_attributes or '')) File "/opt/odoo-9.0/Internal-Odoo/openerp/addons/base/ir/ir_qweb.py", line 295, in render_node result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext) File "/opt/odoo-9.0/Internal-Odoo/openerp/addons/base/ir/ir_qweb.py", line 481, in render_tag_call_assets return bundle.to_html(css=css, js=js, debug=bool(qwebcontext.get('debug')), async=async, qwebcontext=qwebcontext) File "/opt/odoo-9.0/Internal-Odoo/openerp/addons/base/ir/ir_qweb.py", line 1195, in to_html css_attachments = self.css() File "/opt/odoo-9.0/Internal-Odoo/openerp/addons/base/ir/ir_qweb.py", line 1326, in css self.save_attachment("css", ' '.join(page), inc=idx) File "/opt/odoo-9.0/Internal-Odoo/openerp/addons/base/ir/ir_qweb.py", line 1285, in save_attachment self.clean_attachments(type) File "/opt/odoo-9.0/Internal-Odoo/openerp/addons/base/ir/ir_qweb.py", line 1252, in clean_attachments return ira.unlink(self.cr, openerp.SUPERUSER_ID, attachment_ids, context=self.context) File "/opt/odoo-9.0/Internal-Odoo/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo-9.0/Internal-Odoo/openerp/addons/base/ir/ir_attachment.py", line 416, in unlink res = super(ir_attachment, self).unlink(cr, uid, ids, context) File "/opt/odoo-9.0/Internal-Odoo/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo-9.0/Internal-Odoo/openerp/models.py", line 3677, in unlink 'where id IN %s', (sub_ids,)) File "/opt/odoo-9.0/Internal-Odoo/openerp/sql_db.py", line 141, in wrapper return f(self, *args, **kwargs) File "/opt/odoo-9.0/Internal-Odoo/openerp/sql_db.py", line 220, in execute res = self._obj.execute(query, params)QWebException: could not serialize access due to concurrent update

1
Avatar
Discard
Prakash

We are facing same issue in odoo 9. please let me know the solutions above issue

Avatar
Best Answer

Hello,

usually this happens when a database table is locked since another query is done on it, by a cron job, a job of the job queue,... or by a bad query that locked the table ans since it is bad it failed but the lock still there.

So things to try:

- check whether there is another error happening before this concurrent update, and solve it, this will solve the concurrent update.

- check if there are jobs too long, so that the next iteration is starting before that the current iteration finishes, if so then check why it is long, if normal then give more time between iterations.

0
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
How to get data n view using custom widget in odoo 9
odoo9
Avatar
0
Sep 23
2707
How to get data n view using custom widget in odoo 9
odoo9
Avatar
0
Sep 23
2403
How to Remove " ADD NEW COLUMN " from task kanban view of Project Module? Solved
odoo9
Avatar
Avatar
Avatar
2
Jun 25
12019
How to edit the product website description Solved
odoo9
Avatar
Avatar
Avatar
Avatar
Avatar
6
Oct 23
23233
How can I restrict (deny) product creation for some users? Solved
odoo9
Avatar
Avatar
Avatar
Avatar
3
Mar 24
10358
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