Odoo Help

1

Problems uninstalling own module

By
Javier Fuentes
on 8/13/13, 6:22 AM 708 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 platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

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