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.

1

Problems uninstalling own module

By
Javier Fuentes
on 8/13/13, 6:22 AM 671 views

We are finding problems when unistalling one of our modules. This module inherits from product.product model in the "inheritance by prototyping" (we need this type of inheritance) way as follows:

_name = "product.product.costs"
_inherit = "product.product"

In the dependencies of the module (__openerp__.py file, the dependency with "product_cost_incl_bom" module has been set, -we understand that indirectly this also includes the dependency with product module-).

The module installs correctly and works ok, the problem comes when unistalling it, since this operation causes the deletion of the references to product.template in product.product model, leaving the system non-operative (it is no longer possible to access the list of products since it is left blank).

Do you have any idea of what could be happening?

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

0 follower(s)

Stats

Asked: 8/13/13, 6:22 AM
Seen: 671 times
Last updated: 3/16/15, 8:10 AM