Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
4 Відповіді
7355 Переглядів

Hello all,

I have now my Odoo 10 enterprise running.

I'm testing de module import functionnality.

When I try to import this module :

http://lapagept.com/images/odoo/vtm2_products_custom.zip

I get this error :

Error while importing module 'vtm2_products_custom': ''

How could I find the problem with a so poor message??? Permissions on the server, bad code in the module, bad structure, etc. ????

How could I use this functionnality? It would be very very great for our team work here.

Thanks


EDIT #1

If I put this same module in our custom module folder, I update the list of module in Odoo apps. After, I install the module from there and it get installed WITHOUT to restart the server. Even if there is a new field created in PYthon in this module.

So, why can it get installed from the 'import module' fucntionnality of Odoo?

Аватар
Відмінити

Did you check the log?

Автор

This is a great answer! When I check the log, I see that one new view in this new module needs a new field also created in this module (in python).

So, how to import this module with the 'import module' functionnality if one view needs a new field created in the python of this new module? Could it be possible?

Автор

Does it mean that 'import module' only works if there no changes in the python code? I'm sad about this.

Найкраща відповідь

How could I find the problem with a so poor message???

In odoo server log

Does it mean that 'import module' only works if there no changes in the python code?

Yes, it only works for xml files and static assests. See base_import_module description

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
бер. 15
8747
1
січ. 17
5306
1
вер. 24
2877
1
лют. 24
2936
1
груд. 22
16729