Siirry sisältöön
Odoo Menu
  • Kirjaudu sisään
  • Kokeile ilmaiseksi
  • Sovellukset
    Talous
    • Kirjanpito
    • Laskutus
    • Kulut
    • Datataulukot (BI)
    • Asiakirjat
    • Allekirjoita
    Myynti
    • CRM
    • Myynti
    • Kassajärjestelmä myymälään
    • Kassajärjestelmä ravintolaan
    • Tilaukset
    • Vuokraus
    Verkkosivut
    • Verkkosivun Rakennustyökalu
    • Verkkokauppa
    • Blogi
    • Foorumi
    • Livechat
    • Verkko-oppiminen
    Toimitusketju
    • Varastointi
    • Tuotanto
    • Tuotteen elinkaaren hallinta (PLM)
    • Ostot
    • Huolto
    • Laatu
    Henkilöstöhallinto
    • Työntekijät
    • Rekrytointi
    • Vapaat
    • Arvioinnit
    • Suositukset
    • Kuljetuskalusto
    Markkinointi
    • Somemarkkinointi
    • Sähköpostimarkkinointi
    • Tekstiviestimarkkinointi
    • Tapahtumat
    • Markkinoinnin automaatio
    • Kyselyt
    Palvelut
    • Projekti
    • Työaikakirjaukset
    • Kenttähuolto
    • Asiakaspalvelu
    • Suunnittelu
    • Ajanvaraukset
    Tuottavuus
    • Viestintä
    • Hyväksynnät
    • IoT
    • IP-puhe
    • Tietokirjasto
    • WhatsApp
    Kolmannen osapuolen sovellukset Odoo-Studio Odoo-Pilvialusta
  • Toimialat
    Vähittäiskauppa
    • Kirjakauppa
    • Vaatekauppa
    • Huonekaluliike
    • Ruokakauppa
    • Laitteistokauppa
    • Lelukauppa
    Ruoka & Majoitus
    • Baari ja Pubi
    • Ravintola
    • Pikaruoka
    • Majatalo
    • Juomien jakelija
    • Hotelli
    Kiinteistöt
    • Kiinteistönvälitystoimisto
    • Arkkitehtitoimisto
    • Rakentaminen
    • Kiinteistönhallinta
    • Puutarhanhoito
    • Kiinteistön omistajien yhdistys
    Konsultointi
    • Tilitoimisto
    • Odoo-kumppani
    • Markkinointitoimisto
    • Lakitoimisto
    • Osaajahankinta
    • Tilintarkastus & sertifiointi
    Tuotanto
    • Tekstiili
    • Metalli
    • Huonekalut
    • Ruoka
    • Panimo
    • Yrityslahjat
    Terveys & Liikunta
    • Urheiluseura
    • Silmälasiliike
    • Kuntokeskus
    • Hyvinvointialan ammattilaiset
    • Apteekki
    • Kampaamo
    Kaupat
    • Yleismies
    • IT-laitteisto & Tuki
    • Aurinkoenergiajärjestelmät
    • Suutari
    • Siivouspalvelut
    • LVI-palvelut
    Muut
    • Voittoa tavoittelematon järjestö
    • Ympäristötoimisto
    • Mainostaulujen vuokraus  
    • Valokuvaus
    • Leasing-pyörät
    • Ohjelmistojen jälleenmyyjä
    Selaa kaikkia toimialoja
  • Yhteisö
    Opi
    • Kurssit
    • Dokumentaatio
    • Todistukset
    • Koulutus
    • Blogi
    • Podcast
    Kannusta kouluttautumaan
    • Koulutusohjelmat
    • Scale Up! Liiketoimintapeli
    • Vieraile Odoolla
    Hanki ohjelmisto
    • Lataa
    • Vertaile versioita
    • Julkaisut
    Tee yhteistyötä
    • Github
    • Foorumi
    • Tapahtumat
    • Käännökset
    • Ryhdy kumppaniksi
    • Kumppanipalvelut
    • Rekisteröi tilitoimistosi
    Hanki palveluja
    • Löydä kumppani
    • Löydä kirjanpitäjä
    • Varaa asiantuntijatapaaminen
    • Implementaatiopalvelut
    • Asiakasreferenssit
    • Tuki
    • Versionkorotukset
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Varaa demo
  • Hinnoittelu
  • Asiakaspalvelu

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

  • CRM
  • e-Commerce
  • Kirjanpito
  • Varastointi
  • PoS
  • Projekti
  • MRP
All apps
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Kaikki kirjoitukset Ihmiset Merkit
Tunnisteet (Näytä kaikki)
odoo accounting v14 pos v15
Tietoa tästä foorumista
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Kaikki kirjoitukset Ihmiset Merkit
Tunnisteet (Näytä kaikki)
odoo accounting v14 pos v15
Tietoa tästä foorumista
Apua

Studio Import Export Error With Field From MRP

Tilaa

Saat ilmoituksen, kun tähän viestiin ilmaantuu aktiviteettia

Tämä kysymys on merkitty
errorexportimportstudio
2 Vastaukset
3314 Näkymät
Avatar
Daniel Buchsbaum

Hello,

I tried to export and import Odoo Studio Customizations, but got the following error message on import:

Error while importing module 'studio_customization'.

while parsing /tmp/tmpxjlz3xfe/studio_customization/data/ir_model_fields.xml:3, somewhere inside

[...]

Make sure those modules are installed and try again.


The error message suggests that the module has not been installed yet, but this is not the case: The field date_planned_start comes from the module mrp, which is already installed in the destination environment.

I also tried to remove the record from the customization.zip, but then the next record threw an error. The new error has a similar message and the field comes from an already installed Odoo module.


I hope someone can help. Thanks in advance.

PS: Unfortunately I cannot post the whole error message as some parts get interpreted by the editor as HTML even if I put it into a code block...


PPS: After manipulating several files from the customizations manually, the import worked. In my opinion, someone who uses Odoo Studio should not have to go into such detail as not everyone has the needed technical knowledge. The errors where not directly visible save in the odoo log:

ERROR: duplicate key value violates unique constraint "act_window_view_unique_mode_per_action" 
DETAIL: Key (act_window_id, view_mode)=(530, kanban) already exists.
    Properties of base fields cannot be altered in this manner!
0
Avatar
Hylkää
Avatar
Daniel Buchsbaum
Tekijä Paras vastaus

..



0
Avatar
Hylkää
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Paras vastaus

Hi Daniel,

The error you're encountering during the import of the Odoo Studio customizations is likely due to dependencies between the customized fields or models. When importing customizations, Odoo expects the referenced models and fields to be present in the target database before attempting to import the customizations.

Here are a few steps you can try to resolve the issue:

  1. Check for Dependency Modules: Ensure that all the modules containing the models and fields referenced in the customization are installed in the target database. Sometimes, a module might depend on another module that is not part of the standard Odoo installation.
  2. Check Module Installation Order: If all the required modules are installed, try uninstalling and reinstalling them in the correct order. The order of module installation can sometimes cause issues if dependencies are not properly resolved.
  3. Clear the Cache and Update the Module List: After installing or updating modules, clear the server cache and update the module list
  4. Check for Conflicting Customizations: Sometimes, customizations made in Odoo Studio can conflict with other customizations or modules. Review the customizations carefully to ensure there are no conflicts.
  5. Check for XML Syntax Errors: The error message suggests an issue while parsing the XML file. Inspect the ir_model_fields.xml file for any potential syntax errors or invalid characters.

Hope it helps



0
Avatar
Hylkää
Daniel Buchsbaum
Tekijä

Hello Cybrosys Team,

thank you for your reply. I took another round of analyzing and debugging:

- Updated/installed all modules in the destination environment that have been installed in the source environment
- Updated module lists and emptied caches
- Re exported the customizations

Again to no avail.

A close look into the Odoo log gave me this error message:

> Properties of base fields cannot be altered in this manner!

Now this would definitely explain why my import doesn't work. This also begs the question why the import/export logic does not consider this from the get-go.

I will reply again as soon as I have tried to manually change the exported customizations.

Cheers

Nautitko keskustelusta? Älä vain lue, vaan osallistu!

Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!

Rekisteröidy
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
import/export records from own build studio app
export import studio
Avatar
1
elok. 20
3711
Price Update
export import
Avatar
Avatar
2
marrask. 24
2296
Export/Import Issue: "Root articles must have internal permission" Ratkaistu
export import
Avatar
1
marrask. 24
3176
RPC_ERROR Arbitrary Uncaught Python Exception when trying Studio Export
python error export studio v15
Avatar
Avatar
1
helmik. 24
11085
Import exported CSV on module load
export import
Avatar
Avatar
1
lokak. 23
3896
Yhteisö
  • Kurssit
  • Dokumentaatio
  • Foorumi
Avoin lähdekoodi
  • Lataa
  • Github
  • Runbot
  • Käännökset
Palvelut
  • Odoo.sh hosting
  • Tuki
  • Versionkorotus
  • Räätälöidyt kehitykset
  • Koulutus
  • Löydä kirjanpitäjä
  • Löydä kumppani
  • Ryhdy kumppaniksi
Meistä
  • Yrityksemme
  • Tavaramerkki
  • Ota yhteyttä
  • Työpaikat
  • Tapahtumat
  • Podcast
  • Blogi
  • Asiakkaat
  • Oikeudellinen ilmoitus • Yksityisyys
  • Tietoturva
الْعَرَبيّة 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 on kokoelma avoimen lähdekoodin yrityssovelluksia, jotka kattavat kaikki yrityksesi tarpeet: asiakkuudenhallinta eli CRM, verkkokauppa, kirjanpito, varastointi, kassajärjestelmä, projektinhallinta, jne.

Odoon uniikki arvolupaus on olla samanaikaisesti erittäin helppokäyttöinen ja täysin integroitu.

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