Skip to Content
Odoo Menu
  • Zaloguj się
  • Wypróbuj za darmo
  • Aplikacje
    Finanse
    • Księgowość
    • Fakturowanie
    • Wydatki
    • Arkusz kalkulacyjny (BI)
    • Dokumenty
    • Podpisy
    Sprzedaż
    • CRM
    • Sprzedaż
    • PoS Sklep
    • PoS Restauracja
    • Subskrypcje
    • Wypożyczalnia
    Strony Internetowe
    • Kreator Stron Internetowych
    • eCommerce
    • Blog
    • Forum
    • Czat na Żywo
    • eLearning
    Łańcuch dostaw
    • Magazyn
    • Produkcja
    • PLM
    • Zakupy
    • Konserwacja
    • Jakość
    Zasoby Ludzkie
    • Pracownicy
    • Rekrutacja
    • Urlopy
    • Ocena pracy
    • Polecenia Pracownicze
    • Flota
    Marketing
    • Marketing Społecznościowy
    • E-mail Marketing
    • SMS Marketing
    • Wydarzenia
    • Automatyzacja Marketingu
    • Ankiety
    Usługi
    • Projekt
    • Ewidencja czasu pracy
    • Usługi Terenowe
    • Helpdesk
    • Planowanie
    • Spotkania
    Produktywność
    • Dyskusje
    • Zatwierdzenia
    • IoT
    • VoIP
    • Baza wiedzy
    • WhatsApp
    Aplikacje trzecich stron Studio Odoo Odoo Cloud Platform
  • Branże
    Sprzedaż detaliczna
    • Księgarnia
    • Sklep odzieżowy
    • Sklep meblowy
    • Sklep spożywczy
    • Sklep z narzędziami
    • Sklep z zabawkami
    Żywienie i hotelarstwo
    • Bar i Pub
    • Restauracja
    • Fast Food
    • Pensjonat
    • Dystrybutor napojów
    • Hotel
    Agencja nieruchomości
    • Agencja nieruchomości
    • Biuro architektoniczne
    • Budowa
    • Zarządzanie nieruchomościami
    • Ogrodnictwo
    • Stowarzyszenie właścicieli nieruchomości
    Doradztwo
    • Biuro księgowe
    • Partner Odoo
    • Agencja marketingowa
    • Kancelaria prawna
    • Agencja rekrutacyjna
    • Audyt i certyfikacja
    Produkcja
    • Tekstylia
    • Metal
    • Meble
    • Jedzenie
    • Browar
    • Prezenty firmowe
    Zdrowie & Fitness
    • Klub sportowy
    • Salon optyczny
    • Centrum fitness
    • Praktycy Wellness
    • Apteka
    • Salon fryzjerski
    Transakcje
    • Złota rączka
    • Wsparcie Sprzętu IT
    • Systemy energii słonecznej
    • Szewc
    • Firma sprzątająca
    • Usługi HVAC
    Inne
    • Organizacja non-profit
    • Agencja Środowiskowa
    • Wynajem billboardów
    • Fotografia
    • Leasing rowerów
    • Sprzedawca oprogramowania
    Przeglądaj wszystkie branże
  • Community
    Ucz się
    • Samouczki
    • Dokumentacja
    • Certyfikacje
    • Szkolenie
    • Blog
    • Podcast
    Pomóż w nauce innym
    • Program Edukacyjny
    • Scale Up! Gra biznesowa
    • Odwiedź Odoo
    Skorzystaj z oprogramowania
    • Pobierz
    • Porównaj edycje
    • Wydania
    Współpracuj
    • Github
    • Forum
    • Wydarzenia
    • Tłumaczenia
    • Zostań partnerem
    • Usługi dla partnerów
    • Zarejestruj swoją firmę rachunkową
    Skorzystaj z usług
    • Znajdź partnera
    • Znajdź księgowego
    • Spotkaj się z doradcą
    • Usługi wdrożenia
    • Opinie klientów
    • Wsparcie
    • Aktualizacje
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Zaplanuj demo
  • Cennik
  • Pomoc

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

  • CRM
  • e-Commerce
  • Księgowość
  • Zapasy
  • PoS
  • Projekt
  • MRP
All apps
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Pomoc

Odoo 11 entreprise error 403 forbidden (My experience)

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
500odoov11403-forbidden
7089 Widoki
Awatar
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
Awatar
Odrzuć
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.

Podoba Ci się ta dyskusja? Dołącz do niej!

Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!

Zarejestruj się
Powiązane posty Odpowiedzi Widoki Czynność
500: Internal Server Error
500
Awatar
Awatar
Awatar
Awatar
4
wrz 24
2283
Invited course member receives "403 Forbidden" the page could not be authorized
403-forbidden
Awatar
0
gru 22
2254
Change default location in update quantity on hand window Rozwiązane
odoov11
Awatar
Awatar
Awatar
2
lip 22
9979
odoo v11 options are missing
odoov11
Awatar
Awatar
1
cze 21
3193
[SOLVED] Get related field Rozwiązane
odoov11
Awatar
Awatar
2
lut 21
299
Społeczność
  • Samouczki
  • Dokumentacja
  • Forum
Open Source
  • Pobierz
  • Github
  • Runbot
  • Tłumaczenia
Usługi
  • Hosting Odoo.sh
  • Wsparcie
  • Aktualizacja
  • Indywidualne rozwiązania
  • Edukacja
  • Znajdź księgowego
  • Znajdź partnera
  • Zostań partnerem
O nas
  • Nasza firma
  • Zasoby marki
  • Skontaktuj się z nami
  • Oferty pracy
  • Wydarzenia
  • Podcast
  • Blog
  • Klienci
  • Informacje prawne • Prywatność
  • Bezpieczeństwo Odoo
الْعَرَبيّة 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 to pakiet aplikacji biznesowych typu open source, które zaspokoją wszystkie potrzeby Twojej firmy: CRM, eCommerce, księgowość, inwentaryzacja, punkt sprzedaży, zarządzanie projektami itp.

Unikalną wartością Odoo jest to, że jest jednocześnie bardzo łatwe w użyciu i w pełni zintegrowane.

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