I can view all the pos with multicompany, with any user
Bug #1239959 reported by
Vanite
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Medium
|
OpenERP R&D Addons Team 3 |
Bug Description
When I create multi-companies and multi-shops, and create pos for those shops in differents companies. In the pos / your sesion, in the select box, I can view all the pos created to all companies with any user.
summary: |
- i can view all the pos with multicompany, with any user + I can view all the pos with multicompany, with any user |
description: | updated |
affects: | partner-contact-management → openobject-addons |
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Medium |
status: | New → Confirmed |
To post a comment you must log in.
El problema esta en que el POS no esta diseñado para multicompañia.
La solución que he encontrado, es crear una regla en Configuración / Seguridad / Reglas de Registros
En Objeto: Configuración del TPV (pos.config) '|',('shop_ id.company_ id','=' ,False) ,('shop_ id.company_ id','child_ of',[user. company_ id.id]) ]
Y en Definición de regla (filtro de dominio):
[
o modificar y añadir el campo company_id a la tabla de pos_config y asignarle una compañia y luego aplicarle la regla de: ',('company_ id','=' ,False) ,('company_ id','child_ of',[user. company_ id.id]) ]
['|