Community mailing list archives

community@mail.odoo.com

Re: Odoo POS

by
Nicolas Seinlet (nse)
- 08/10/2015 04:21:30
Hello,

the malfunction comes from different facts:

- the pos_cache module rewrite the js function load_server_data
- the pos_product_available rewrite the js function load_server_data
- there's no dependency between pos_cache and pos_product_available
- the pos_product_available module do not use the standard odoo way of loading js module, ensuring it's loading right after the pos module.

So, for now, what's append in your case:
1 - pos define the load_server_data function
2 - pos_product_available extend it
3 - pos_cache rewrite it, thus excluding the pos_product_available extention

What's needed to solve this:
- change the way the pos_product_available extend the js widget (I can get in touch with the author)
- manually add a dependency for pos_cache in pos_product_available to ensure it's loaded after the pos_cache module

Hope this help,


Seinlet Nicolas <nse@odoo.com>
Technical Consultant 
Chaussée de Namur, 40 
1367 Grand-Rosière, Belgium

On Fri, Jul 31, 2015 at 6:50 PM, Tutu Moses <etu.moses@gmail.com> wrote:
​Hello,

​my pos had over 15000 items and was loading slowly

so i installed
https://github.com/odoo-dev/odoo/tree/8.0-poscach
​epython-nse/addons/pos_cache





can any one help me with this 

regards 

Tutu.





--
                


Tutu Moses Muguli
Vine Pharmaceuticals Ltd
p.o.Box 23203 Kampala
Bukoto, Kampala, Uganda

256701440613  256794239855 
Tutu Moses



_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe