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

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
7083 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.

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
500: Internal Server Error
500
Avatar
Avatar
Avatar
Avatar
4
sept 24
2269
Invited course member receives "403 Forbidden" the page could not be authorized
403-forbidden
Avatar
0
dic 22
2249
Change default location in update quantity on hand window Resuelto
odoov11
Avatar
Avatar
Avatar
2
jul 22
9970
odoo v11 options are missing
odoov11
Avatar
Avatar
1
jun 21
3149
[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 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