Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Odoo Website Data Export/Import

by
Mint System GmbH, Janik von Rotz
- 13/06/2025 11:07:25

Hi Tom

Yes it could have, but it gets tricky with nested menus and linking different website ids: https://github.com/Mint-System/Odoo-Build/blob/e8ce2aa3ea5aa378af150b817b4cc8409af6862e/bin/import-website-data#L69

The scripts can be repeatedly and update records if they already exists.

On 6/13/25 11:03 AM, Tom Blauwendraat wrote:

Couldn't this also have been done by manually adding menus+actions for the models used eg website.page and others, and then using regular Odoo export/import?

On 6/13/25 10:53, Janik von Rotz wrote:

Hi Johan

Yes it is working for any Odoo edition. It only gets problematic if a website page contains a form that links to Odoo an enterprise data model and you want migrate the page Odoo CE.

Kind regards, Janik

On 6/13/25 10:47 AM, Johan Van Hirtum wrote:

Dear,

 

Thanks for chairing. Is this also working to copy a website from a ODOO CE test / developer server to a ODOO EE production server ? Of course on the same Odoo version ?

 

With kind regards,

 

Van Hirtum Johan

 

Van: Janik von Rotz [mailto:notifications@odoo-community.org]
Verzonden: vrijdag 13 juni 2025 9:58
Aan: Contributors
Onderwerp: Odoo Website Data Export/Import

 

Hello OCA Contributors

 

One of our customers created a website on odoo.com and wanted it to be 
migrated to the new on-premise instance. As the odoo.com db already was 
on 18.3 a database migration was not possible.
I searched for solutions to export/import website records, but did not 
find a suitable solution. Thus I created two scripts that help migrating 
website data:

 

Export website data: 
https://github.com/Mint-System/Odoo-Build/blob/main/bin/export-website-data

 

Import website data: 
https://github.com/Mint-System/Odoo-Build/blob/main/bin/import-website-data

 

With this mail I want to give some visibility to the problem and share 
my solution.

 

Cheeers,

 

Janik

 

 

-- 
Suggest a meeting: https://apmt.day/janikvonrotz/999120f2/
We are hiring: https://www.mint-system.ch/jobs

 

CTO Mint System GmbH
Tel: +41 44 244 7222

 

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

-- 
Suggest a meeting: https://apmt.day/janikvonrotz/999120f2/
We are hiring: https://www.mint-system.ch/jobs

CTO Mint System GmbH 
Tel: +41 44 244 7222

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

-- 
Suggest a meeting: https://apmt.day/janikvonrotz/999120f2/
We are hiring: https://www.mint-system.ch/jobs

CTO Mint System GmbH 
Tel: +41 44 244 7222

Reference