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

In odoo 9 we can export all type off  data ( fields ) to CSV or Excel but i dont know if there is an app or method to exports this data to XML.  by using the same process


Best regards


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

Hi medmars,

By default there is no option to export data to XML in Odoo and I haven't seen a module for this yet either.
This is something that you can create your own though! You could use existing Python libraries such as xmltree, etree etc. If you really want to you could work without any external libraries and build your own XML files from the Python code.
Just create a wizard that generates the correct data, convert it to a file and show an option to the user to download it (or download it right away).

Regards,
Yenthe

Ảnh đại diện
Huỷ bỏ
Tác giả

Thanks it seems not easy to do it, i should have more skills in Python libraries, hope will see an app in the future :)

Câu trả lời hay nhất

There are a few good options on odoo app store now

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

This one looks like it can generate the the format used in demo data.

https://apps.odoo.com/apps/modules/10.0/base_module_record/

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 5 17
393
1
thg 3 15
6109
1
thg 7 25
1553
1
thg 3 25
1210
3
thg 2 25
14712