Skip to Content
Menú
This question has been flagged
1 Respondre
7519 Vistes

Does anybody have experience with base_import module? I thought that this module was used in the standard import button on all tree-views, but the main class in base_import.models, "ir_import" is called nowhere. Maybe just this class is not used at the moment, but being the biggest class in the module, that surprises me. Does anybody know if I misunderstand or miss something on this subject?

Avatar
Descartar
Autor Best Answer

It is a bit awkward, but I'm just learning Python/OpenERP. A class is not called by the class definition itself, but by the name defined inside the class. In the case of base_import, this class is called "base_import.import", which is called from the other elements in the module. It IS used as the standard import function under the import button. Nevertheless I am interested in alternative import uses with this module as the basis, so if anybody has done this already, please share it.

Avatar
Descartar
Related Posts Respostes Vistes Activitat
2
de març 25
24020
0
de maig 18
4867
0
de març 15
4076
0
de març 15
4657
1
de nov. 24
3416