edoo.me
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    1
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # Edoo Export Data ![](https://i.imgur.com/6nwcmzf.png) This module was created by our company with the aim of helping other companies or Odoo partners in their processes of integrating or exporting data from one version of Odoo to another. Especially older environments that are thinking about migrating and with that, there is always some concern with the currently existing data whether it will be usable in a new Odoo environment. It is also possible to use this module for organizations that have separate environments, due to some need for processes or even location. Then the subsidiary company can then integrate its data online to the parent company environment, so the data centralizing company could have the data of its subsidiary companies in real time. In this documentation, we will show some scenarios or settings using an Odoo13CE version as a base, but the screens are very similar for other installed versions, whether they are V11, V12 or any other. # Compatible Editions - Community - Enterprise # Compatible Environments - On-Premise (odoo.mycompany.com)/ - Odoo.sh (mycompany.odoo.com) - Localhost # Compatible Versions for Installation - 11.0 (Version available) - 12.0 (Version available) - 13.0 (Version available) - 14.0 (Version available) - 15.0 (Version available) # Compatible Versions to receive the data - All versions listed also for installation, even some other new version to be distributed by odoo.com, example: V16 in 2022 - So if you install our version in V11, you can export data to V12, V13, V14, V15 or V16 - If you install our version in V12, you can export data to V13, V14, V15 or V16 - And so for the other versions, the same behavior # Module Technical Information - Technical Name: **edoo\_export\_data** ![](https://i.imgur.com/nUVX6BE.png) # Dependencies - Technical Name: **queue_job** - This module was created by OCA and customized by us for this export scenario - This module is responsible for creating the connection with Destination V15 or V16 and then inserting/updating the records - Here is the link of version 13 of this module, it is necessary to install in your environment with the compatible version obviously - https://github.com/OCA/queue/tree/13.0/queue_job - Special configuration for this module (../odoo.conf) - https://github.com/OCA/queue/tree/13.0/queue_job#configuration - For Odoo.sh, need some adjust too - https://github.com/OCA/queue/issues/169#issuecomment-604924316 # After Install Module - Only users belonging to the technical menu group - If you run the environment in debug mode and with access to the technical menu, then the module icon will appear on the initial screen of your environment, or through the side menu for Odoo Community versions without any more advanced theme backend ![](https://i.imgur.com/T6N2Bfm.png) # Required settings in origin environment - For a source environment to be able to perform its data export, it is necessary to determine some values in res.company. - We create a TAB to insert connection data such as url, user, password and database name ![](https://i.imgur.com/W3lzHRG.png) ![](https://i.imgur.com/OjBLRi2.png) ### Fields - **URL**, in this field you will inform the http address of your environment where the data will be inserted, the destination environment - **User**, in this field you will need to inform the authorized user in your target environment so that the authentication and insert of records can be performed. We suggest that you create a specific internal user for this connection.. and then you will be able to follow the record creation in lognote of templates with the id whether the record was created by the data integration user or a common internal user - **Password**, in this place you need to inform the password defined for the user that you created in the target environment. - **Database**, in this field you need to inform the name of the target database, that is, the name of the database (postgres db) that your target environment is running on. This information you get through your settings or even accessing your environment through debug mode, below your user your DB name is displayed. ![](https://i.imgur.com/gfCIBUA.png) # All done in settings, so let's go.. - From now on you can access our app and then you will be able to start defining the models of your environment that need to export the data - When you access the app, a listview with the module's defined by you is displayed by default. If this list is empty then you can create an initial module ![](https://i.imgur.com/syEQxmg.png) # Select model - In this formview you need to define the data model you want to configure to export - It is important to inform that the selected data model must exist in your Odoo Destination, as it is not possible to export from a source model to a different destination model, that is, the product can be exported to a 'model=product.product' ![](https://i.imgur.com/0qd2NNd.png) ![](https://i.imgur.com/8uyZ4pM.png) # Fields of this form - **Model**, Place indicated for you to select an Odoo data model that you need to export. We have implemented a list to be able to select any application data model, at some point when you try to select a more technical or internal Odoo model it may not be possible. You can also select data model created with OdooStudio for example - **Exported JSON**, when you create an export template you will be able to export the settings in a json file and then this will serve as a backup for you to create again, in case of accidental removal or in case you need to install this same template in another Odoo environment. - **Fields**, here, you can create fields manually from your source model. Just select the field you want and then the system will know that this field needs to be exported to destination. There is an action button further up the form that helps you automatically create all fields in the selected template. And then you can go on removing the fields that will not be needed for export. - **Test Connection Fields**, it is extremely important that you test the connection of your fields and model to see if there is any immediate inconsistency. In lognote of this formview, the test result will appear, if successful.. then you are on the right path. We always indicate to include a new field, so do a connection test.. to avoid creating 200 fields and in the middle of this list having to adjust some specific field. ![](https://i.imgur.com/iRLYvM0.png) ## Fields (columns (field's) internal) - **Src Field**, is the original model field that you need to identify ![](https://i.imgur.com/MxowWMM.png) - **Dest Field**, is the field where you need to identify it as your field in the target environment, in this case it is necessary to inform the technical name of the target field. For example, it may be that in your source environment the "image" field has a different technical name in new versions of Odoo, so the target technical name could be: image_1920 (this has already occurred in new versions of Odoo for product image field or contacts). In other words, this is the key field for us to locate at your destination so that the integration succeeds in exporting. - ![](https://i.imgur.com/DV07sTx.png) - **Key Search**, this field will be an indicator for our integration to locate a target field, by default the field is created as a name, but in some other field the key for this field could be "code" for example.. so you can make the best use of it. - **Relation Model**, in this field it is important to inform if the destination field has any relation with a related model in Odoo destination. For example, you want to export a field account, but this field has a relationship with the object account.account, in this case it is important for our integration to know if there is this related to objects external to the model. If the field is native only to the model (text field, numeric, date, etc), it is not necessary to inform the relation object # Model Sample - To Export ### product.template ![](https://i.imgur.com/ilmbqQ4.png) ### product.product ![](https://i.imgur.com/OqPiISl.png) ![](https://i.imgur.com/LbEwZeC.png) ### uom.uom ![](https://i.imgur.com/3qXKk0z.png) ### uom.category ![](https://i.imgur.com/ETqkMJe.png) ### product.attribute ![](https://i.imgur.com/1wBrbnb.png) ### attribute.value ![](https://i.imgur.com/pLxxOgA.png) # New Features ## Listview Smartbutton - In recent versions of our module, it is possible to quickly access the listview corresponding to the model you want to export. With this you go straight to the selection of records for data export - This new button was created with the aim of facilitating access to the records you need to export. At another time you created an export model for res.partner for example and it was necessary for you to access the contacts application to then display the records in list order.. and only then export your records. - In this case, the new button makes things more straightforward. Once the template for exporting res.partner has been defined, clicking on this new button gives you direct access to the list of contacts, simply selecting the records to export. - Another very positive point are models that are not available in application menus, something like "sale.order.line". So now you create this export model and then you can click on the button to see all the records of this model and then export at this very moment. - This facility makes work faster and without having to access applications where the models actually exist. ![](https://i.imgur.com/EVGVwBY.png) ![](https://i.imgur.com/4hcbzK2.png)

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully