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="categ_id" ref="ipod"/>
<field name="uom_id" ref="product_uom_unit"/>
<field name="uom_po_id" ref="product_uom_unit"/>
<field name="attribute_value_ids" eval="[(6,0,[ref('product.product_attribute_value_1')])]"/>
- - - - -
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.
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
|Asked: 4/9/15, 2:59 AM|
|Seen: 650 times|
|Last updated: 4/13/15, 6:18 AM|