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
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
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.
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
Can we Import attachments from front end on odoo 11
Diselesaikan
|
|
1
Mei 19
|
6762 | |
|
1
Nov 15
|
11273 | ||
Exporting data to update
Diselesaikan
|
|
1
Feb 25
|
1167 | |
|
0
Des 22
|
2199 | ||
|
1
Mar 15
|
8807 |