Skip to Content
Odoo Меню
  • Увійти
  • Спробуйте це безкоштовно
  • Додатки
    Фінанси
    • Бухоблік
    • Виставлення рахунку
    • Витрати
    • Електронні таблиці (BI)
    • Документи
    • Підпис
    Продажі
    • CRM
    • Продажі
    • POS Магазин
    • POS Ресторан
    • Підписки
    • Оренда
    Веб-сайти
    • Конструктор веб-сайту
    • Електронна комерція
    • Блог
    • Форум
    • Живий чат
    • Електронне навчання
    Ланцюг поставок
    • Склад
    • Виробництво
    • PLM
    • Купівлі
    • Технічне обслуговування
    • Якість
    Кадри
    • Співробітники
    • Рекрутинг
    • Відпустки
    • Оцінювання
    • Рекомендації
    • Автотранспорт
    Маркетинг
    • Маркетинг соцмереж
    • Email-маркетинг
    • SMS-маркетинг
    • Події
    • Автом. маркетингу
    • Опитування
    Послуги
    • Проект
    • Табелі
    • Виїзне обслуговування
    • Служба підтримки
    • Планування
    • Призначення
    Продуктивність
    • Обговорення
    • Схвалення
    • IoT
    • IP-телефонія
    • База знань
    • WhatsApp
    Сторонні модулі Odoo Studio Платформа Odoo Cloud
  • Сфери
    Роздрібна торгівля
    • Книжковий магазин
    • Магазин одягу
    • Магазин меблів
    • Продуктовий магазин
    • Магазин будівельних матеріалів
    • Магазин іграшок
    Food & Hospitality
    • Бар та паб
    • Ресторан
    • Фастфуд
    • Guest House
    • Дистриб'ютор напоїв
    • Hotel
    Нерухомість
    • Real Estate Agency
    • Архітектурна фірма
    • Будівництво
    • Управління нерухомістю
    • Садівництво
    • Асоціація власників нерухомості
    Консалтинг
    • Бухгалтерська компанія
    • Партнер Odoo
    • Агенція маркетингу
    • Юридична фірма
    • Придбання Талантів
    • Аудит та сертифікація
    Виробництво
    • Textile
    • Metal
    • Меблі
    • Їжа
    • Brewery
    • Корпоративні подарунки
    Здоров'я & Фітнес
    • Спортивний клуб
    • Оптика
    • Фітнес-центр
    • Практики здоров'я
    • Аптека
    • Салон краси
    Trades
    • Ремонтник
    • IT-обладнання та Підтримка
    • Системи сонячної енергії
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Інші
    • Nonprofit Organization
    • Екологічна агенція
    • Оренда білбордів
    • Фотографія
    • Лізинг велосипедів
    • Реселлер програмного забезпечення
    Browse all Industries
  • Спільнота
    Навчання
    • Навчальний посібник
    • Документація
    • Сертифікації
    • Тренування
    • Блог
    • Подкаст
    Сприяйте Освіті
    • Програма навчання
    • Бізнес гра Scale Up!
    • Відвідайте Odoo
    Отримайте програмне забезпечення
    • Завантаження
    • Порівняйте версії
    • Релізи
    Співпрацюйте
    • Github
    • Форум
    • Події
    • Переклади
    • Стати партнером
    • Services for Partners
    • Зареєструйте вашу бухгалтерську фірму
    Отримайте послуги
    • Знайдіть партнера
    • Знайдіть бухгалтера
    • Зустріньтеся з консультантом
    • Послуги з впровадження
    • Референси клієнтів
    • Підтримка
    • Оновлення
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Отримати демо
  • Ціни
  • Допомога

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

  • CRM
  • e-Commerce
  • Бухоблік
  • Склад
  • PoS
  • Проект
  • MRP
All apps
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
All Posts Люди Значки
Мітки (View all)
odoo accounting v14 pos v15
Про цей форум
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
All Posts Люди Значки
Мітки (View all)
odoo accounting v14 pos v15
Про цей форум
Допомога

Studio Import Export Error With Field From MRP

Підписатися

Отримуйте сповіщення про активність щодо цієї публікації

Це запитання позначене
errorexportimportstudio
2 Відповіді
3337 Переглядів
Аватар
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
Аватар
Відмінити
Аватар
Daniel Buchsbaum
Автор Найкраща відповідь

..



0
Аватар
Відмінити
Аватар
Cybrosys Techno Solutions Pvt.Ltd
Найкраща відповідь

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
Аватар
Відмінити
Daniel Buchsbaum
Автор

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

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Реєстрація
Related Posts Відповіді Переглядів Дія
import/export records from own build studio app
export import studio
Аватар
1
серп. 20
3729
Price Update
export import
Аватар
Аватар
2
лист. 24
2306
Export/Import Issue: "Root articles must have internal permission" Вирішено
export import
Аватар
1
лист. 24
3188
RPC_ERROR Arbitrary Uncaught Python Exception when trying Studio Export
python error export studio v15
Аватар
Аватар
1
лют. 24
11105
Import exported CSV on module load
export import
Аватар
Аватар
1
жовт. 23
3916
Спільнота
  • Навчальний посібник
  • Документація
  • Форум
Open Source
  • Завантаження
  • Github
  • Runbot
  • Переклади
Послуги
  • Хостинг Odoo.sh
  • Підтримка
  • Оновлення
  • Кастомні доробки
  • Навчання
  • Знайдіть бухгалтера
  • Знайдіть партнера
  • Стати партнером
Про нас
  • Наша компанія
  • Торгові активи
  • Зв'яжіться з нами
  • Вакансії
  • Події
  • Подкаст
  • Блог
  • Клієнти
  • Юридичні документи • Конфіденційність
  • Безпека
الْعَرَبيّة 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 - це набір програм для роботи з відкритим кодом, які охоплюють всі ваші потреби компанії: CRM, електронна комерція, бухгалтерський облік, склад, точка продажу, управління проектами тощо.

Унікальна пропозиція Odoo - це одночасно дуже проста у використанні та повністю інтегрована.

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