Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
7482 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 3 25
23960
0
thg 5 18
4849
0
thg 3 15
4043
0
thg 3 15
4624
1
thg 11 24
3405