Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Point of Sale error - Uncaught Error: QuotaExceededError: DOM Exception 22

By
Liz Kawala
on 6/26/13, 2:19 PM 4,554 views

I get this error Uncaught Error: QuotaExceededError: DOM Exception 22 when opening the POS web module. I have figured out it is to do with the number of products being opened but do not know how to resolve as ultimately we sell many products and this will not change. This error was received on chrome but I have also tested in Mozilla Firefox and get this error NS_ERROR_DOM_QUOTA_REACHED: Persistent storage maximum size reached. I am using v6.1 and what I believe is the latest version of POS module. Any assistance would be greatly appreciated. Thanks

2
Lluís
On 7/11/13, 8:51 AM

on firefox:

  • open tab and navigate to about:config
  • accept warning
  • search for dom.storage.default_quota
  • increase its value (by default its 5120, check for example with 51200)
0
Pinakin Nayi (pna)
On 7/11/13, 11:26 AM

there is problem with localstorage as chrome gives you upto 5mb localstorage. And if you have not more products than check the size of images. Secondly if there is no any issue of images than you have to increase your localstorage.

The following link may be useful to you . "pinakinnayi.blogspot.in/2013/01/how-to-extend-local-storage.html"

0
Thierry Godin
On 6/26/13, 4:47 PM

Hi,

I don't know about V6.1 but with v7.0 here is the comment Inside the db.js file about data storage capacity

/* PosLS is a localstorage based implementation of the point of sale database. * FIXME: The Products definitions and categories are stored on the locastorage even tough they're * always reloaded at launch. This could induce a slowdown because the data needs to be reparsed from * JSON before each operation. If you have a huge amount of products (around 25000) it can also * blow the 5.0MB localstorage limit. */

Products are stored while launching the POS. You can go with 25000 products. Is it your case ?

Best regards

We have just short of 2000 products so not a huge amount by any means. How can I fix this? Thanks in advance.

Liz Kawala
on 6/27/13, 7:53 AM

Could my image sizes be too big, they were imported from an existing db and are normally 400 x 400px min. Is there a standard size recommended for images in OpenERP? I have been trying to find this out but no luck yet. Thanks

Liz Kawala
on 6/27/13, 8:40 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 6/26/13, 2:19 PM
Seen: 4554 times
Last updated: 3/16/15, 8:10 AM