Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

2

How to deploy website, created by means of Website Builder module?

By
Alexander Toporkov
on 5/23/14, 1:44 PM 2,823 views

I created website by means of Website Builder locally. I would like to deploy it to working server.

Backup-restore database is not a solution. Local database stores test OpeErp data.

Hello, you should add this as a comment, not an answer.

Yogesh
on 5/26/14, 5:49 PM

It's impossible to develop website effectively by means of odoo :-( - No source control for layout and static - No oportunity for partial database import-export: website data stored into system tables (re_ui_view, res_attachment etc.)

Alexander Toporkov
on 5/27/14, 5:16 AM
0
Alessandro Ruffolo
On 4/8/15, 6:48 AM

Check this...

https://www.odoo.com/forum/help-1/question/export-website-data-75198

I tried it importing exporting in order:

  1. ir.ui.view

  2. ir.attachment

  3. website.menu

It worked pretty well but I had to replace into each view the ref_id to the images

(e.g.)

<img src="/website/image/ir.attachment/87_01d5af9/datas"


where 87 is the id of the ir.attachment in the old website

became


<img src="/website/image/ir.attachment/1_01d5af9/datas"

where 1 is the id of the attachment in the new site.


I could not try, but maybe if I were to import ir.attachment before ir.ui.view i would not have need to manually replace them.

Next time I will try it :)


I also had to adjust parents in the menu items and I had to exclude from import the unknown fields.


Another issue is about the size of attachments: because of the size limit  I received the error message during the import:

"Import preview failed due to: field larger than field limit (131072)."

I fixed it by using

https://github.com/odoo/odoo/commit/68f14c68709bbb50cb7fb66d288955e1d769c5ff

(see https://www.odoo.com/forum/help-1/question/fixed-csv-product-import-issues-import-preview-failed-due-to-field-larger-than-field-limit-131072-57081 )

0

Gustavo

--Gustavo--
950
| 2 1 4
Buenos Aires, Argentina
--Gustavo--

Python developer, big fan of sailing

Gustavo
On 5/23/14, 6:53 PM

In order to deploy the website you created you need to install oDoo in the production server. Then you need to backup the database and restore it in the production server. Sorry, but to my knowledge there is no other way around

0
Alexander Toporkov
On 5/26/14, 12:26 PM

It's impossible to develop website effectively by means of odoo :-(

- No source control for layout and static

- No oportunity for partial database import-export: website data stored into system tables (re_ui_view, res_attachment etc.)

 

This is a very serious defect. I created a website with a V8 beta version from the middle of March, and added quite a few enhancements to the HTML and JavaScript. I am looking into how I would incorporate it into a separate site, with changes to content. How does Odoo propose we do this? I sort of hoped that there would be Website specific backup and restore capability provided by now, for the official release version. Your comments make me wonder if they ever considered these aspects at all.

Martin
on 5/27/14, 4:44 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

4 follower(s)

Stats

Asked: 5/23/14, 1:44 PM
Seen: 2823 times
Last updated: 4/8/15, 11:24 AM