Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3334 Visualizzazioni

Hello, I have a module that performs a batch of sell orders that works well for a number of orders boy to perform (250 approx).

The problem arises when the process should make a greater mayor of orders (around 1500).

Always around 5 minutes the process fails and gives the following error:

Package / openerp / sql_db.py ", line 234, in res = self._obj.execute execution (query parameters) TransactionRollbackError: Can not serialize access due to concurrent update CONTEXT: SQL statement" SELECT 1 FROM ONLY "public ". Res_users "x WHERE" id "OPERATOR (pg_catalog. =) $ 1 FOR THE QUOTA KEY x"

It's like 5 minutes another process to run in the background that interrupts mine.

I try modifying the module and creating sales orders in different ways but always within 5 minutes the process fails throwing the error itself.

Anyone know what can occur ??

thanks

Avatar
Abbandona