Contributors mailing list archives
contributors@odoo-community.org
Browse archives
OCA Days 2025 - Code Sprint Survey - what will you be working on? In-person or online?
Re: Odoo Website Data Export/Import
Re: Odoo Website Data Export/Import
byHi 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.
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 bemigrated to the new on-premise instance. As the odoo.com db already wason 18.3 a database migration was not possible.I searched for solutions to export/import website records, but did notfind a suitable solution. Thus I created two scripts that help migratingwebsite 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 sharemy solution.
Cheeers,
Janik
--Suggest a meeting: https://apmt.day/janikvonrotz/999120f2/We are hiring: https://www.mint-system.ch/jobs
CTO Mint System GmbHTel: +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