Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyectos
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

Portal Users as Employees

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
employeeemployeesgamification
5 Respuestas
12156 Vistas
Avatar
Danny Santiago

Hi everyone

I recently encountered an issue while using Odoo Enterprise 16 on Odoo.sh. I have over 100 portal users who are employees, but I couldn't afford the rates for 100+ internal users in the Odoo.sh environment. This implementation of Odoo is being used as a closed system for an intranet, and only user creation is done by Google OAuth for the company domain, with all pages hidden so that only portal users can see the site and content.

While this worked great for the intranet resource, I ran into a limitation when trying to use the gamification tool. I was only able to deploy badges to employees, or internal users. However, I only had a handful of licenses available for internal users, and paying the list price for internal user licenses to make use of the free tool seemed like a cruel joke.

So, I used Odoo Studio to modify the test environment and it worked! I then performed the same update to the live environment and everything is working. The problem stemmed from the HR settings of the employee form view. The 'Related User' was tagged to the internal users, so I updated this to any user with a status of confirmed by doing the following:

  1. Go to your employees and select or create an employee to open the HR.employee view form.
  2. Click on the Odoo Studio in the upper right-hand corner to enter the studio configurator.
  3. Once in the configurator, select the 'HR Settings' tab and then the 'Related User' field.
  4. On the left configuration editor, select the 'Domain' entry filter field and replace with [["user_ids.active","=",True]].
  5. In the builder, you can search for 'users'>'active' set to 'true'. This will compute a list of confirmed portal users, which includes the internal users.

I am not an Odoo developer, so I have no idea if this breaks anything in the backend. However, for me, this seems to have no noticeable impact on my system. I hope this information is helpful to others who may be facing a similar issue.


I hope this helps someone.

5
Avatar
Descartar
Jonathan Mburu Githumbi

This helped me, thank you sir

Jonathan Mburu Githumbi

Will implement this in code

Danny Santiago
Autor

@Jonathan Githumbi
when you do would you mind sharing your code? I am working on a larger module to do this and update the portal page for users to see their badges.

Jonathan Mburu Githumbi

sure thing

Jonathan Mburu Githumbi

Hi there, managed to get the Related users to display portal users as well as internal users by inheriting the hr.view_employee_form and using this code to override the domain rule for the user_id field :
<odoo>
<record id="view_employee_form_inherit_portal_user" model="ir.ui.view">
<field name="name">hr.employee.form.inherit.portal_user</field>
<field name="model">hr.employee</field>
<field name="inherit_id" ref="hr.view_employee_form"/>
<field name="arch" type="xml">
<xpath expr="//page[@name='hr_settings']//field[@name='user_id']" position="attributes">
<attribute name="domain">[('active', '=', True)]</attribute>
</xpath>
</field>
</record>
</odoo>

https://github.com/JonathanGithumbi/relate_employee_portaluser

Jonathan Mburu Githumbi

I suppose the same strategy can be applied for any field where you need to access both portal and internal users

Avatar
Pedro Dom
Mejor respuesta

https://apps.odoo.com/apps/modules/17.0/odoo_ess_portal



0
Avatar
Descartar
Avatar
Helpad
Mejor respuesta

An alternative approach to achieve the same result is to utilize the import function in the Human Resources module. By preparing an Excel or CSV file with the IDs of the employee records and the corresponding portal user record IDs, you can also accomplish this task.  

In our scenario, the Human Resources department is looking to acknowledge all employees by sending them congratulatory badges via email using the Odoo module. These recognitions range from simple accomplishments such as ‘Consistent Early Arrival’ to significant milestones like ‘Decade-long with Us’.

0
Avatar
Descartar
Avatar
Juan Pablo Gil Galindo
Mejor respuesta

not just for sales gamification but for hr modules

0
Avatar
Descartar
Avatar
Jonathan Mburu Githumbi
Mejor respuesta

Sure thing.

0
Avatar
Descartar
Avatar
Kriswanto
Mejor respuesta

Hi, can you give some screenshots for this ? If followed all your steps, but where to see employees already have access for this ? I have tried to login using the email for portal that I setup with your recommendation, but not seeing any changes on the portal account.

0
Avatar
Descartar
Danny Santiago
Autor

This doesn't change anything in portal. Just in the HR Sheet for granting badges. You can now select users that are not marked as internal ( licensed )

¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
Employee Challenges & Badges in V18
employees gamification badges challenge
Avatar
0
ene 25
1821
Attendance for not Odoo users
employee payroll attendance employees
Avatar
Avatar
1
ago 15
4864
Timesheet employees need to be users as well
users employee timesheet employees
Avatar
Avatar
1
jun 24
5370
Employees without Email Resuelto
employees
Avatar
Avatar
1
nov 25
2310
hr_employee_public.timesheet_manager_id does not exist
employee
Avatar
Avatar
1
ago 25
4537
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidad
  • Seguridad
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now