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
    • e-learning
    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

Odoo 11 entreprise error 403 forbidden (My experience)

Suscribirse

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

Se marcó esta pregunta
500odoov11403-forbidden
7090 Vistas
Avatar
Rachid El hatri

Hi Everyone,

I have tried to work with ODOO for years, and every year I LET GO because of the lot errors I get when I'm trieng to install addons or configuring the system.

The last year I purchased ODOO 10 Entreprise and didn't used it for the same problems (500 internal error, 403 eroor .... ), and when try to fix that it gets worse.

This Month I decided to try again and fix the problems whatever it takes (i'm a software developer by the way).

So I installed the ODOO 11 Entreprise in Windows (First Time with odoo in windows), After 5 days of configuring odoo and installing all the modules I needed in my company, and adding clients, partners, products, accounting details ... and everything work like a charm.   and guess what !?    After i Logged out of my session and want to login again I GET 403 Error.   

3 Days of searching the web for a solution !!  NOTHING fixed the problem

After that I get the Error (500 Internal server error).

I decided to read all the codes in the files of odoo to inderstand how it works, and VOILA I found some lines in (ir_model.py  -- addons\base\ir\ ) file, when I commented this lines EVERYTHING works nicely and without any error since.

Those are the lines commented :

---------------------------------------------------------------

#    if not r:

# # there is no specific rule. We check the generic rule

# self._cr.execute("""SELECT MAX(CASE WHEN perm_{mode} THEN 1 ELSE 0 END)

# FROM ir_model_access a

# JOIN ir_model m ON (m.id = a.model_id)

# WHERE a.group_id IS NULL

# AND m.model = %s

# AND a.active IS TRUE""".format(mode=mode),

# (model,))

# r = self._cr.fetchone()[0]

#

# if not r and raise_exception:

# groups = '\n\t'.join('- %s' % g for g in self.group_names_with_access(model, mode))

# msg_heads = {

# # Messages are declared in extenso so they are properly exported in translation terms

# 'read': _("Sorry, you are not allowed to access this document."),

# 'write': _("Sorry, you are not allowed to modify this document."),

# 'create': _("Sorry, you are not allowed to create this kind of document."),

# 'unlink': _("Sorry, you are not allowed to delete this document."),

# }

# if groups:

# msg_tail = _("Only users with the following access level are currently allowed to do that") + ":\n%s\n\n(" + _("Document model") + ": %s)"

# msg_params = (groups, model)

# else:

# msg_tail = _("Please contact your system administrator if you think this is an error.") + "\n\n(" + _("Document model") + ": %s)"

# msg_params = (model,)

# _logger.info('Access Denied by ACLs for operation: %s, uid: %s, model: %s', mode, self._uid, model)

# msg = '%s %s' % (msg_heads[mode], msg_tail)

# raise AccessError(msg % msg_params)

#

# return bool(r)

----------------------------------------------------------------


So my question is :

- How this lines affect my system ? and is commenting this line well give some problems in the future ?


DETAILS :

- Odoo 11.0e+e-20180323 (Enterprise Edition)

- Windows system

- Modules installed : 

base.module_crm
base.module_project
base.module_stock
base.module_mrp
base.module_sale_management
base.module_mail
base.module_hr_holidays
base.module_account_invoicing
base.module_account_accountant
base.module_quality
base.module_website
base.module_helpdesk
base.module_purchase
base.module_hr
base.module_hr_expense
base.module_board
base.module_contacts
base.module_marketing_automation
base.module_web_studio
base.module_mass_mailing
base.module_maintenance
base.module_calendar
base.module_fleet
base.module_im_livechat
base.module_mrp_repair


Best regards

RACHID 

 

0
Avatar
Descartar
Ermin Trevisan

It is not possible to give you help or answers, because you do not provide the information necessary.

I can only comment:

1. Do not use Windows, if you are not forced to. The most common deployments are on Ubuntu and therefore you also have the best chances to get help.

2. What you did is for sure not recommended and it will most probably screw your deployment sooner or later.

3. You have to identify the causes. The key to your problems is the Odoo log. Please read this log and troubleshoot the issues.

4. Revert to Odoo support first, when you pay for Enterprise.

¿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
500: Internal Server Error
500
Avatar
Avatar
Avatar
Avatar
4
sept 24
2284
Invited course member receives "403 Forbidden" the page could not be authorized
403-forbidden
Avatar
0
dic 22
2254
Change default location in update quantity on hand window Resuelto
odoov11
Avatar
Avatar
Avatar
2
jul 22
9980
odoo v11 options are missing
odoov11
Avatar
Avatar
1
jun 21
3193
[SOLVED] Get related field Resuelto
odoov11
Avatar
Avatar
2
feb 21
299
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