Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

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

Naroči se

Get notified when there's activity on this post

This question has been flagged
modulesimportxmlappsupload
2 Odgovori
4592 Prikazi
Avatar
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
Avatar
Opusti
Avatar
Econ Odoo
Best Answer

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
Avatar
Opusti
Lutz
Avtor

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.

Avatar
Lutz
Avtor Best Answer

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
Avatar
Opusti
Enjoying the discussion? Don't just read, join in!

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

Prijavi
Related Posts Odgovori Prikazi Aktivnost
Can't install Sendcloud module Solved
modules import apps odoo16features
Avatar
Avatar
Avatar
2
mar. 23
3916
Error importing module
modules import
Avatar
0
sep. 24
2016
How to update config setting from XML in Odoo
modules xml
Avatar
0
apr. 17
6256
what is wrong with this code? error is on name="arch" type="xml"
modules xml
Avatar
Avatar
Avatar
Avatar
3
maj 16
9079
Not showing all modules
modules apps
Avatar
Avatar
Avatar
2
mar. 15
6397
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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 a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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