Community mailing list archives

Odoo POS filter client by company

Alien Group Lda, Alaney Kilson Dória
- 08/15/2016 05:40:31
Hi All,

We are implementing Odoo 8 POS to a client in a multi-company
environment and we notice that POS doesn't filter client per company. Is
there any module that do that? I try tocustomize the POS to filter by
company but my code only works in debug mode. In this  code I was trying
to get the company Id in javascript but I couldn't find a way to get it
so I had to make it call a python function. I believe there is a better
way to do this. Any hint?

Here my code.

var models = module.PosModel.prototype.models;
    for(var i=0; i