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

How to import .xml data modules into odoo online. (in Apps View)

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
modulesimportxmlappsupload
2 Odpowiedzi
4588 Widoki
Awatar
Lutz

In Apps View, there is a point "Import Modules". If you click it you get this dialog:


The yellow note says: "you can only import data modules (.xml files and static assets)".


How can I do this?


I have made this failed test:

I have changed a setting (+86 into +81) in the german tax report (which is XML based) on the GUI.

Then I have downloaded the XML file which should be the base for this report:

https://github.com/odoo/odoo/blob/tmp.saas-18.1/addons/l10n_de/data/account_account_tags_data.xml

I saved it as "account_account_tags_data.xml" and ziped it.

I have uploaded the ZIP using this dialog. There was no error message. 

But after reloading the tax report, the changed word is still changed. 

So the upload of the original XML file have not resulted in overwriting my test change.


What is the correct way to do this?

0
Awatar
Odrzuć
Awatar
Econ Odoo
Najlepsza odpowiedź

To make changes or upload modules in the Odoo Online version, follow these steps:

  1. Create Your Own Module: You need to create a custom module according to Odoo specifications. You can use the odoo-bin scaffold command, or ask any language model (such as ChatGPT, Bing, Gemini, or DeepSeek) for guidance on creating modules.
  2. Module Structure: Your custom module should minimally include:
    • A __manifest__.py file: This file defines your module's metadata, dependencies, and references to your modified XML files.
    • A /views/ folder: This folder contains your XML files.
  3. Modifying XML Files: Editing XML files in Odoo is not as simple as direct modification. You need to use XPath to locate the correct elements and make your changes.

0
Awatar
Odrzuć
Lutz
Autor

Thx. My problem before was, i have not tried it whith with __manifest__.py, because it is a python file. I used the data folder, not the views folder, because in the original module, it was also in this folder.

Awatar
Lutz
Autor Najlepsza odpowiedź

it says "only import ... xml and static assets".

Now i have found a way with ignoring this!


Even if "__manifest__.py" is a python file, this manifest file is needed also for data only models !

So i created a folder called like the original model: "l10n_de" (other names resulted in errors)

In this i have putten "__manifest__.py"

And i created an folder "data", in which i have putten my "account_account_tags_data.xml" file.

I zipped the folder "l10n_de" and uploaded it.


Contend of my "__manifest__.py":

{

'name': 'Germany - Accounting - My Tax Report',

'countries': ['de'],

'author': '',

'version': '2.1',

'category': 'Accounting/Localizations/Account Charts',

'description': "Update of VAT Tax-Report for reduced taxes in 2020",

'depends': [

  'base_iban',

  'base_vat',

  'l10n_din5008',

  'account',

],

'auto_install': ['account'],

'data': [

  'data/account_account_tags_data.xml'

],

'post_init_hook': '_post_init_hook',

'license': 'LGPL-3',

}


After importing this ZIP file, it works! My changed settings are gone, because the settings from the uploded package come into effect!

0
Awatar
Odrzuć
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ść
Can't install Sendcloud module Rozwiązane
modules import apps odoo16features
Awatar
Awatar
Awatar
2
mar 23
3916
Error importing module
modules import
Awatar
0
wrz 24
2016
How to update config setting from XML in Odoo
modules xml
Awatar
0
kwi 17
6256
what is wrong with this code? error is on name="arch" type="xml"
modules xml
Awatar
Awatar
Awatar
Awatar
3
maj 16
9077
Not showing all modules
modules apps
Awatar
Awatar
Awatar
2
mar 15
6397
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