Hello, its possible redefine the import core method to extend file type support, may users use Excel to create tables and manage data. What extendable is load method?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
Hello,
This is possible as now majority of know how is located in server, there is some controller function to get header structure and fields/content validation like parse_preview
.
ir.import
is a Transient Model defined in base import so it will be easier to modify it.
if you can prepare data format compatible with def load(self, cr, uid, fields, data, context=None)
(a list of field and a list of list) of orm that is "mapped" by def do(self, cr, uid, id, fields, options, dryrun=False, context=None)
of base_import it should work.
But it is quite a work. Maybe you should look to port community module that do advance import and already support XLS.
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
1
thg 5 19
|
6776 | ||
|
1
thg 11 15
|
11296 | ||
Exporting data to update
Đã xử lý
|
|
1
thg 2 25
|
1184 | |
|
0
thg 12 22
|
2211 | ||
|
1
thg 3 15
|
8834 |