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.

0

Internal Server error after trying to install warehouse module

By
Kristina E.D.
on 4/9/15, 2:59 AM 652 views

We had some demo products in the shop, and we started to prepare it for publishing it online. Thus we deleted some demo products and in that point we didn't have the warehouse module installed. We thought it would be good to have it working and started installing it. The installation failed in the middle of it (unfortunately didn't save but it was something that the "installation didn't complete").

After that the admin worked for a while but suddenly the whole system, including the public website, went into Internal Server Error.

In the log of the server we have long list of things, including this:


ParseError: "duplicate key value violates unique constraint "ir_model_data_module_name_uniq"

DETAIL: Key (name, module)=(product_product_11_product_template, product) already exists.

" while parsing /usr/lib/python2.7/dist-packages/openerp/addons/product/product_demo.xml:310, near

<record id="product_product_11" model="product.product">

<field name="name">iPod</field>

<field name="categ_id" ref="ipod"/>

<field name="standard_price">14</field>

<field name="list_price">16.50</field>

<field name="type">consu</field>

<field name="uom_id" ref="product_uom_unit"/>

<field name="uom_po_id" ref="product_uom_unit"/>

<field name="default_code">A6678</field>

<field name="attribute_value_ids" eval="[(6,0,[ref('product.product_attribute_value_1')])]"/>

</record>

- - - - -

How to fix this situation and get out from the server error? I was trying to search for solutions, similar ones but can't find any how to proceed with this issue.


What kind of backup cycle rules you all have for your ERP installs? If it goes easily in this type of Internal Server error or blank pages, it is not enough to have internal backup that you can manage via Odoo interface but also a full server backup. Every one hour, or every ten minutes? I'm a bit in trouble how much we can trust on the stability of Odoo, and thus asking community opinions on backup scheduling too. The above main issue remains still unsolved too.

Kristina E.D.
on 4/13/15, 6:18 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

1 follower(s)

Stats

Asked: 4/9/15, 2:59 AM
Seen: 652 times
Last updated: 4/13/15, 6:18 AM