Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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?

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lis 19
5279
1
mar 16
5203
1
mar 15
8558
2
gru 18
8531
6
lip 18
29641