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
    • Conocimientos
    • 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

Give access to fields in Accounting Entries, Account Receivable and Account Payable

Suscribirse

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

Se marcó esta pregunta
accountingpermissionsGroups
2 Respuestas
1851 Vistas
Avatar
Josep Marxuach

Hi, I duplicated odoo all default accounting user groups and set a user with this group. I can do everything in accounting except in customers->customer->accounting tab I can no see Accounting Entries, Account Receivable and Account Payable. How can i give access to my user group to this fields ? Need help 


0
Avatar
Descartar
Avatar
Piyush H
Mejor respuesta

Dear Josep

Okay, you've created a custom accounting user group by duplicating the default Odoo accounting groups, but users in this group can't see the "Accounting Entries," "Account Receivable," and "Account Payable" sections in the customer form. This is a common issue related to record rules and field-level access rights. Here's how to troubleshoot and fix it:

Understanding the Problem

The "Accounting Entries," "Account Receivable," and "Account Payable" sections are often displayed using related fields and smart buttons that rely on specific access rights. Even if a user has general accounting access, they might not have the necessary permissions to view the underlying data or trigger the actions that populate these sections.

Troubleshooting Steps and Solutions

  1. Identify the Models and Fields Involved:
    • Accounting Entries: This section likely displays journal entries (account.move) related to the customer.
    • Account Receivable: This section shows the customer's outstanding invoices and payments. It involves the account.move (invoices) and account.payment models.
    • Account Payable: This is less common on a customer form (it's usually on a vendor form), but if it's present, it would show bills and payments related to the customer as a vendor.
  2. Check Record Rules:
    • Record rules are the most common cause of this issue. Odoo uses record rules to restrict access to records based on user groups and conditions.
    • Enable Developer Mode: Go to Settings and activate Developer Mode (also called Debug Mode).
    • Go to Record Rules: Go to Settings -> Technical -> Record Rules.
    • Filter by Model: Filter the record rules by the account.move and account.payment models.
    • Examine the Rules: Carefully examine the record rules that apply to these models. Look for rules that might be restricting access based on company, user, or other conditions.
    • Modify or Duplicate Rules (Carefully):
      • If you find a rule that's restricting access, you have two options:
        • Modify the Rule: Add your custom user group to the rule's "Groups" field. Be very careful when modifying existing rules, as this could affect other users.
        • Duplicate the Rule: Duplicate the existing rule and modify the duplicate to include your custom user group. This is generally the safer option.
      • Ensure Correct Domain Filter: Make sure the domain filter in the record rule is not too restrictive. It should allow users in your custom group to see the relevant records. The domain filter often uses Python code to define the conditions.
  3. Check Field-Level Access Rights:
    • Odoo allows you to control access to individual fields on a model. It's possible that your custom user group doesn't have read access to some of the fields used to display the information in these sections.
    • Go to Access Rights: Go to Settings -> Technical -> Security -> Access Rights.
    • Filter by Model: Filter the access rights by the account.move and account.payment models.
    • Examine the Rights: Check the access rights for your custom user group. Make sure they have "Read" access to all the relevant fields.
    • Add Missing Rights: If your custom group is missing access rights, add them.
  4. Check Inherited Groups:
    • Make sure your custom user group inherits from the correct base accounting groups. It should inherit from at least one of the following:
      • Accounting & Finance / Accountant
      • Accounting & Finance / Adviser
    • This ensures that your custom group has the basic accounting permissions.
  5. Check View Definitions:
    • In rare cases, the view definitions themselves might be restricting access to certain elements based on user groups.
    • Inspect the View: Activate developer mode, open the customer form, and use the "View Form" option in the debugger to inspect the view definition.
    • Look for groups Attributes: Look for groups attributes on the <div> elements that contain the "Accounting Entries," "Account Receivable," and "Account Payable" sections. If there are groups attributes, make sure your custom user group is included.
  6. Clear Odoo Cache:
    • After making any changes to record rules or access rights, clear the Odoo cache to ensure that the changes take effect. You can do this by restarting the Odoo service or by going to Settings -> Technical -> Clear Server Cache.

Specific Steps for "Accounting Entries," "Account Receivable," and "Account Payable"

  • "Accounting Entries" (Journal Entries):
    • Check record rules on account.move to ensure your group can see journal entries related to the customer. The domain filter might need to include a condition that checks the partner_id field.
  • "Account Receivable" (Invoices and Payments):
    • Check record rules on account.move (for invoices) and account.payment to ensure your group can see invoices and payments related to the customer. The domain filter might need to include a condition that checks the partner_id field.
  • "Account Payable" (Less Common on Customer Form):
    • If this section is present, it likely means the customer is also set up as a vendor. Check record rules on account.move (for bills) and account.payment to ensure your group can see bills and payments related to the customer as a vendor. The domain filter might need to include a condition that checks the partner_id field.

Example: Modifying a Record Rule

Let's say you find a record rule on account.move called "Account Move: See own company documents" that has the following domain filter:

['|',('company_id','=',False),('company_id','in',user.company_ids.ids)]

This rule restricts access to journal entries to users who belong to the same company as the journal entry. To allow users in your custom group to see journal entries from other companies, you could duplicate this rule and modify the duplicate to include your custom group in the "Groups" field.

Important Notes

  • Testing: After making any changes, thoroughly test the access rights by logging in as a user in your custom group and verifying that they can now see the "Accounting Entries," "Account Receivable," and "Account Payable" sections.
  • Security: Be very careful when modifying record rules and access rights. Incorrectly configured rules can expose sensitive data or prevent users from performing their jobs.
  • Documentation: Document any changes you make to record rules and access rights so that you can easily understand and maintain them in the future.

By following these steps, you should be able to identify the cause of the access issue and grant your custom user group the necessary permissions to view the "Accounting Entries," "Account Receivable," and "Account Payable" sections in the customer form. Remember to test thoroughly and be careful when modifying record rules and access rights.

🚀 Did This Solve Your Problem?

If this answer helped you save time, money, or frustration, consider:

✅ Upvoting (👍) to help others find it faster

✅ Marking as "Best Answer" if it resolved your issue

Your feedback keeps the Odoo community strong! 💪

(Need further customization? Drop a comment—I’m happy to refine the solution!)

0
Avatar
Descartar
Avatar
D Enterprise
Mejor respuesta

Add your new group as an implied group of the original accounting groups so it inherits their permissions. For example, in your group XML:

<record id="group_my_accounting_group" model="res.groups">

  <field name="implied_ids" eval="[(4, ref('account.group_account_manager')), (4, ref('account.group_account_user'))]"/>

</record>


0
Avatar
Descartar
¿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
UPDATED: Make users see only their OWN invoices and bills Resuelto
accounting Groups Rules Security
Avatar
Avatar
Avatar
Avatar
Avatar
6
jul 23
7302
Can't process payments in v7 (Document Type: Account Entry, Operation: read)?
accounting account payments permissions
Avatar
0
mar 15
4404
Invoice Printing Error in Odoo V19 – GCC/Saudi Localization
accounting
Avatar
0
nov 25
145
After Odoo 18 to Odoo 19 upgrade - how do I manage Bills for products that already posted to the interim account? - مشكلة بعد الترقية من Odoo 18 إلى Odoo 19.
accounting
Avatar
Avatar
1
nov 25
192
I found a small typo in the Odoo 19 Chart of Accounts — and it made my day 😆 Resuelto
accounting
Avatar
Avatar
Avatar
2
nov 25
353
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