Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Social media Marketing
    • E-mailmarketing
    • SMS Marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Goedkeuringen
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelzaak
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Food & Hospitality
    • Bar en Pub
    • Restaurant
    • Fastfood
    • Gastenverblijf
    • Drankenhandelaar
    • Hotel
    Vastgoed
    • Makelaarskantoor
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van eigenaren
    Consulting
    • Accountantskantoor
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textiel
    • Metaal
    • Meubels
    • Eten
    • Brewery
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Trades
    • Klusjesman
    • IT-hardware & support
    • Zonne-energiesystemen
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC-diensten
    Andere
    • Non-profitorganisatie
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Browse all Industries
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijs- programma
    • Scale Up! Business Game
    • Bezoek Odoo
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Word een Partner
    • Services for Partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help

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

  • CRM
  • e-Commerce
  • Boekhouding
  • Voorraad
  • PoS
  • Project
  • MRP
All apps
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

Cannot update/install some modules in production server

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
debugpartnerfieldsrelatedocb
9 Antwoorden
9030 Weergaven
Avatar
Reinhart

I'm having this error while trying to update some modules

File "/opt/odoo/v10/OCB/odoo/fields.py", line 544, in _setup_related_full
    field = target._fields[name]
KeyError: 'partner'

I searched about this error, it seems it's something with a related field.

Since i can't debug in production server, i tried to reproduce it on local development machine, but everything works fine.

I'm really lost at this point, tried to reset last git pulls, but problem persists.

Searched for 'partner' related fields in all my custom modules, but found nothing.

How can i track without debugging where the problem come from?

0
Avatar
Annuleer
Niyas Raphy (Walnut Software Solutions)

make sure that there is no modules which is not in these following state Installed. not Uninstallable, Not installed

Reinhart
Auteur

Thanks for the reply, but this does not work for me, there are no modules out of the installable/uninstalable, and i can install some modules without any problem son there is no module pending that could be breaking the installation

Avatar
Stud_1
Beste antwoord

Hi

I do have the same problem with an integer field. Has anyone found a soulution?
Thanks for sharing it with me.


Update on May 2nd: I found a solution working for me: I had to

  • delete the database I was working on,

  •  delete the folder of my module and reupload it,

  •  create a new database


It's not the best solutions if you have a lot of data in your DB or a lot of modules installed as you have to reinstall them all. For my test-server it worked perfectly fine.

0
Avatar
Annuleer
Niyas Raphy (Walnut Software Solutions)

What is the issue u face ? It will be nice if you can show the code that u have added

Stud_1

There were so many changes in the code since the last version I uploaded on the server… But the error only occurs in one model.

I renamed and integer-field from 'workload' to 'base_workload' and adapted the views (form and tree view). Now when I try to install the model, it sais "field 'base_workload' does not exist". When I remove those fields from the view it sais the same about another field and so on.

Also I just realized that the pre-installed Project-model does not work anymore as well.

Stud_1

There is an uninstallable app (Project_forecast), might this cause the issue?

Avatar
Anusha
Beste antwoord

Hi,

   Make sure you have no such fields named 'partner' in your custom modules and  also check the dependencies .This issue is shown when odoo cannot find a field.      

0
Avatar
Annuleer
Reinhart
Auteur

Why i must add that field and for what reason and where? I have about 20 custom modules, and have no problem with any of them in local development instance, which currently is a copy of the production server, there are non unmeet dependencies, and there only 1 partner field added in hr_employee, and is working fine.

Mihran Thalhath

Hi Reinhart,

Did you add a many2one field in hr_employee?

Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Gerelateerde posts Antwoorden Weergaven Activiteit
How does related works for a readonly (not stored) field?
partner modules fields related odoo10
Avatar
Avatar
1
apr. 18
10438
How to set the default value without a related field?
fields default related
Avatar
Avatar
1
okt. 21
4516
filter field based on the value from other fields
filter fields related
Avatar
Avatar
1
okt. 18
15946
Please Help me with this KeyError problem!
fields related keyerror
Avatar
0
jan. 17
8801
is there any way to pass values from functional field to a related field????
fields on_change related
Avatar
Avatar
1
okt. 15
4998
Community
  • Tutorials
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Word een Partner
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة 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 is een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

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