Odoo中文社区可以通过以下三个域名访问:shine-it.net , odoocn.org,odoo.net.cn

原论坛用户的基本信息和发帖这里都予以保留,请注意:原论坛用户无需重新注册新用户,但是您的密码需要重置

开发人员可以登录gitter讨论组: http://gitter.im/odoo-china/Talk, 需要github账号

如果您登录系统碰到问题,请在微信公众号留言:

当产品数量超过一定量的时候,pos模块本地存储的容量无法满足,怎么破?



  • 当产品数量超过一定量的时候,pos模块本地存储的容量无法满足,怎么破?<br />Uncaught Error: QuotaExceededError: DOM Exception 22<br />NS_ERROR_DOM_QUOTA_REACHED: Persistent storage maximum size reached



  • 当产品数量超过一定量的时候,pos模块本地存储的容量无法满足,怎么破?<br />Uncaught Error: QuotaExceededError: DOM Exception 22<br />NS_ERROR_DOM_QUOTA_REACHED: Persistent storage maximum size reached



  • 你有多少item就超出了?



  • LocalStorage has a hard 5.0MB on chrome.



  • 5.0MB?



  • [quote author=OpenERP製行业 link=topic=14813.msg27082#msg27082 date=1387237286]<br />5.0MB?<br />[/quote]<br />那就少放图片



  • Chrome 应该可以配置这个参数吧?


  • 管理员

        /* The db module was intended to be used to store all the data needed to run the Point<br />    * of Sale in offline mode. (Products, Categories, Orders, ...) It would also use WebSQL <br />    * or IndexedDB to make the searching and sorting products faster. It turned out not to be <br />    * a so good idea after all. <br />    * <br />    * First it is difficult to make the Point of Sale truly independant of the server. A lot<br />    * of functionality cannot realistically run offline, like generating invoices. <br />    *<br />    * IndexedDB turned out to be complicated and slow as hell, and loading all the data at the<br />    * start made the point of sale take forever to load over small connections. <br />    *<br />    * LocalStorage has a hard 5.0MB on chrome. For those kind of sizes, it is just better <br />    * to put the data in memory and it's not too big to download each time you launch the PoS.<br />    *<br />    * So at this point we are dropping the support for offline mode, and this module doesn't really<br />    * make sense anymore. But if at some point you want to store millions of products and if at<br />    * that point indexedDB has improved to the point it is usable, you can just implement this API. <br />    *<br />    * You would also need to change the way the models are loaded at the start to not reload all your<br />    * product data. <br />    / <br /><br />    / PosLS is a localstorage based implementation of the point of sale database.<br />    * FIXME: The Products definitions and categories are stored on the locastorage even tough they're <br />    * always reloaded at launch. This could induce a slowdown because the data needs to be reparsed from<br />    * JSON before each operation. If you have a huge amount of products (around 25000) it can also <br />    * blow the 5.0MB localstorage limit. <br />    */


登录后回复
 

与 Odoo 中文社区 的连接断开,我们正在尝试重连,请耐心等待