Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • eLearning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Información
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y asistencia informática
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Browse all Industries
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Services for Partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar 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
  • Proyecto
  • 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
12040 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.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
Employee Challenges & Badges in V18
employees gamification badges challenge
Avatar
0
ene 25
1781
Attendance for not Odoo users
employee payroll attendance employees
Avatar
Avatar
1
ago 15
4814
Timesheet employees need to be users as well
users employee timesheet employees
Avatar
Avatar
1
jun 24
5301
Employees without Email Resuelto
employees
Avatar
Avatar
1
nov 25
2236
hr_employee_public.timesheet_manager_id does not exist
employee
Avatar
Avatar
1
ago 25
4488
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información 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 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