跳至內容
選單
此問題已被標幟
4 回覆
4555 瀏覽次數

We have a website developed outside of Odoo.  We have moved to Odoo recently and using odoo V17.  We have already taken subscription and done with the database setup.  Now we want to import our website which is currently hosted on hostinger. Odoo have a tool "startwebsite"  (https://www.odoo.com/page/startwebsite) to convert/migrate existing website into Odoo but it creates with a new database and we have already database created for us.  How to use this tool for an existing database ??

頭像
捨棄

Push. Same request here.

最佳答案

Hello Lalit,

You're right, the StartWebsite tool is mainly designed to help migrate a static site into Odoo by generating a new website structure, but it works with a new database by default. Unfortunately, it doesn’t provide a built-in option to directly apply the generated website to an existing Odoo database, which is why you're seeing this limitation.

There are a couple of workarounds you might consider:

  1. Use StartWebsite to generate the site in a temporary/new DB, then export the website pages (as templates or views) and manually move them into your existing database. This would require some technical knowledge; you'd need to:

    • Export the website pages as XML from the new DB

    • Import them into your existing DB using custom modules or Studio (if available)

    • Double-check that linked resources (images, menus, etc.) are handled properly

  2. Manual recreation inside your existing Odoo site: If your current site isn't too large or complex, it might be quicker to manually copy the content into Odoo’s Website Builder inside your existing DB. This also gives you a chance to update the design for Odoo’s layout system and improve compatibility.

  3. Custom module or script: If you're working with developers, you could build a small script or module to read content from your external site and push it into Odoo via the Website app's models. This route gives you more control but requires dev work.

Unfortunately, there’s no official support (yet) for using StartWebsite directly on an existing Odoo database. Hopefully, that gets added in the future; it’s a common need.

頭像
捨棄
最佳答案

Migrating or importing a website into Odoo 17 depends on where your current website is built. If you're moving from an older version of Odoo like 14 or 15, you can export your website pages, templates, and custom themes, then import and adjust them in Odoo 17. However, if your website is built using a different platform like WordPress or custom HTML, there's no direct import option. In that case, you can manually recreate the pages using Odoo’s Website Builder by copying the content and designing pages using the drag-and-drop tools. 

You can also use HTML blocks to paste custom code if needed. Rebuild menus, images, forms, and other content to match your original site. For large websites, you can develop a custom script to import data. Don’t forget to test everything on a staging site before updating your live system.

頭像
捨棄
最佳答案

Hi,

If you've created pages using the "startwebsite" tool, you can migrate them into your existing database using a module available on the Odoo App Store:

https://apps.odoo.com/apps/modules/18.0/us_website_migration

頭像
捨棄
最佳答案

Hi, I would be interested in this as well.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
7月 25
688
2
6月 25
2292
3
4月 25
2518
1
4月 25
1829
1
12月 24
2282