Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

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

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

Concurrency error in OODO 8.0 unstable build

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
errorpsycopg2concurrency8.0unstable
4900 Visualizzazioni
Avatar
camp

We developed a sales portal application based on the version openerp-8.0dev-20140312-000101 and concurrency is an essential basic requirement. But we find that the basic invoicing module itself throws an error (referred down after this question) when we attempt a stress test with more than One User. (Only One user invoice posting is succesful and the other 2 throw an error). So does the extended invoicing module we have written. Is there any way out? I tried updating the following files with same content as in stable 8.0 build:

1. sql_db.py

2. model.py

Am I missing some thing here? Anyway I can avoid a complete code migration to 8.0 ?

The error is as follows:

 

Here is the error msg

2015-02-25 05:30:58,508 6603 ERROR sales_feb_12_15 openerp.netsvc: "could not serialize access due to concurrent update

" while evaluating

u'action_move_create()'

Traceback (most recent call last):

File "/home/athulya/anoop/sales/openerp-8.0dev-20140312-000101/openerp/netsvc.py", line 236, in dispatch_rpc

result = dispatch(method, params)

File "/home/athulya/anoop/sales/openerp-8.0dev-20140312-000101/openerp/service/model.py", line 37, in dispatch

res = fn(db, uid, *params)

File "/home/athulya/anoop/sales/openerp-8.0dev-20140312-000101/openerp/service/model.py", line 113, in wrapper

return f(dbname, *args, **kwargs)

File "/home/athulya/anoop/sales/openerp-8.0dev-20140312-000101/openerp/service/model.py", line 194, in exec_workflow

return exec_workflow_cr(cr, uid, obj, signal, *args)

File "/home/athulya/anoop/sales/openerp-8.0dev-20140312-000101/openerp/service/model.py", line 188, in exec_workflow_cr

return execute_cr(cr, uid, obj, 'signal_workflow', [res_id], signal)[res_id]

File "/home/athulya/anoop/sales/openerp-8.0dev-20140312-000101/openerp/service/model.py", line 159, in execute_cr

return getattr(object, method)(cr, uid, *args, **kw)

File "/home/athulya/anoop/sales/openerp-8.0dev-20140312-000101/openerp/osv/orm.py", line 3620, in signal_workflow

result[res_id] = workflow.trg_validate(uid, self._name, res_id, signal, cr)

File "/home/athulya/anoop/sales/openerp-8.0dev-20140312-000101/openerp/workflow/__init__.py", line 85, in trg_validate

return WorkflowService.new(cr, uid, res_type, res_id).validate(signal)

File "/home/athulya/anoop/sales/openerp-8.0dev-20140312-000101/openerp/workflow/service.py", line 91, in validate

res2 = wi.validate(signal)

File "/home/athulya/anoop/sales/openerp-8.0dev-20140312-000101/openerp/workflow/instance.py", line 75, in validate

wi.process(signal=signal, force_running=force_running, stack=stack)

File "/home/athulya/anoop/sales/openerp-8.0dev-20140312-000101/openerp/workflow/workitem.py", line 121, in process

ok = self._split_test(activity['split_mode'], signal, stack)

File "/home/athulya/anoop/sales/openerp-8.0dev-20140312-000101/openerp/workflow/workitem.py", line 249, in _split_test

self._join_test(t[0], t[1], stack)

File "/home/athulya/anoop/sales/openerp-8.0dev-20140312-000101/openerp/workflow/workitem.py", line 258, in _join_test

WorkflowItem.create(self.session, self.record, activity, inst_id, stack=stack)

File "/home/athulya/anoop/sales/openerp-8.0dev-20140312-000101/openerp/workflow/workitem.py", line 96, in create

workflow_item.process(stack=stack)

File "/home/athulya/anoop/sales/openerp-8.0dev-20140312-000101/openerp/workflow/workitem.py", line 117, in process

if not self._execute(activity, stack):

File "/home/athulya/anoop/sales/openerp-8.0dev-20140312-000101/openerp/workflow/workitem.py", line 163, in _execute

returned_action = self.wkf_expr_execute(activity)

File "/home/athulya/anoop/sales/openerp-8.0dev-20140312-000101/openerp/workflow/workitem.py", line 314, in wkf_expr_execute

return self.wkf_expr_eval_expr(activity['action'])

File "/home/athulya/anoop/sales/openerp-8.0dev-20140312-000101/openerp/workflow/workitem.py", line 292, in wkf_expr_eval_expr

result = eval(line, env, nocopy=True)

File "/home/athulya/anoop/sales/openerp-8.0dev-20140312-000101/openerp/tools/safe_eval.py", line 255, in safe_eval

return eval(c, globals_dict, locals_dict)

File "", line 1, in <module>

File "/home/athulya/anoop/sales/openerp-8.0dev-20140312-000101/openerp/osv/orm.py", line 378, in function_proxy

return attr(self._cr, self._uid, [self._id], *args, **kwargs)

File "/home/athulya/anoop/sales/openerp-8.0dev-20140312-000101/openerp/addons/sales_org_portal/invoice.py", line 2156, in action_move_create

move_obj.post(cr, uid, [move_id], context=ctx)

File "/home/athulya/anoop/sales/openerp-8.0dev-20140312-000101/openerp/addons/account/account.py", line 1339, in post

new_name = obj_sequence.next_by_id(cr, uid, journal.sequence_id.id, c)

File "/home/athulya/anoop/sales/openerp-8.0dev-20140312-000101/openerp/addons/base/ir/ir_sequence.py", line 267, in next_by_id

return self._next(cr, uid, ids, context)

File "/home/athulya/anoop/sales/openerp-8.0dev-20140312-000101/openerp/addons/account/ir_sequence.py", line 56, in _next

return super(ir_sequence, self)._next(cr, uid, seq_ids, context)

File "/home/athulya/anoop/sales/openerp-8.0dev-20140312-000101/openerp/addons/base/ir/ir_sequence.py", line 252, in _next

cr.execute("SELECT number_next FROM ir_sequence WHERE id=%s FOR UPDATE NOWAIT", (seq['id'],))

File "/home/athulya/anoop/sales/openerp-8.0dev-20140312-000101/openerp/sql_db.py", line 156, in wrapper

return f(self, *args, **kwargs)

File "/home/athulya/anoop/sales/openerp-8.0dev-20140312-000101/openerp/sql_db.py", line 221, in execute

res = self._obj.execute(query, params)

ValueError: "could not serialize access due to concurrent update

" while evaluating

u'action_move_create()'

Thanks in advance. regards

0
Avatar
Abbandona
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
Internal Server Error after 9/3 git pull Risolto
error 8.0
Avatar
Avatar
Avatar
Avatar
Avatar
5
gen 24
13567
500: Internal Server Error After Pay Now Risolto
error payment 500 8.0
Avatar
Avatar
Avatar
Avatar
Avatar
4
ago 22
12777
[8.0] 'TypeError: openerp.init is not a function' after logging in
javascript error database 8.0
Avatar
1
lug 16
4180
Odoo 8.0 Odoo Report Designer error during downloading plugin
error 404 8.0 reportdesiner
Avatar
0
mag 16
3534
?"Your country might be blocked by our hosting provider" error when I create new website
error
Avatar
0
nov 25
592
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة 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 è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

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