Skip to Content
Menu
This question has been flagged
1 Reply
2706 Views

When I  start editing Odoo 13 XML (HTML) pages it warns : " If you edit and save this file, you will never receive updates from Odoo anymore unless you reset your customizations." 

two questions : Does Odoo 13  community edition auto update? (never heard before)

second question does it mean if I edit a page, no more updates from github? How they will prevent. 

I could not find the documentation about this.

thank you.

Avatar
Discard
Best Answer

XML files that you edit are stored in your database. These files allways supercede those fom Odoo. That means that any update in Odoo will let them unchanged. Odoo will be updated but your edited files will still be used.

Odoo is automaticaly updated depending on how you install it : 

  1. Linux users  typicaly use the package manager with the Odoo repository for nightly builds (see https://nightly.odoo.com/). There is no such thing on Windows.

  2. Some users does their install by cloning the Odoo git repository and then regurlarly update it.

You can browse and remove your XML files if needed. First enable the debug mode, then go to the Settings app (not the settings menu), you will see a new Technical menu. In that menu, you will find your customized XML files under the User Interface and the Database Structure menu.

However, the best way to track, update or reverse your changes is to use modules : create a module (as a website theme) and put your XML files in it. It may sounds a bit heavy at first but it really save time, specialy because you can use Git to work on the module.


Avatar
Discard
Author

thank you very much for the detailed info. I am planning to learn module structure to create customization. Do you recommend any good documentation/source for modules w/examples ?

The Odoo documentation is quite complete for a theme module. The hardest part with XML is update with XPath syntax but in most case you will only need the "replace" command (one inherit the XML odoo file and use XPath to change the redevant lines). See w3schools for basis and then read the W3C documentation (I learn advanced XPath by customizing the XSLT files from Tellico collection manager, which are full of advanced technics).

You can see Odoo samples in nearly all modules. For simple web pages customization, see mines :

https://apps.odoo.com/apps/browse?repo_maintainer_id=116148

Author

Great, thank you. I will follow up your advice about documentation and try to get the logic from your sample codes.

Related Posts Replies Views Activity
1
Sep 24
2891
4
Feb 24
4722
3
Mar 24
1662
0
Nov 22
1213
2
Feb 22
4333