Is there a flag or so to preventing an csv file from reimport like xml files with the noupdate attribute?
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ờ
Thanks for the fast and solid answer!
We don't use the import wizard for this file. Customer data should be imported like xml data files when installing or updating the module. But sometimes we don't want to import this file because the data in the database are more accurate then the incoming csv file.
So currently the only way is too comment the line out in __openerp__.py?
I don't understood properly what you exactly want. Because __openerp__.py is not coming in picture anyway.
Actually this is good idea but the problem is there is no logical place at where we can add "noupdate" option for the end user who is going to upload the file.
However, we can add a check-box below csv file option at the time of import the file.
So those records which are in the csv file will be locked and those can't be updated while import the file again.
However there are quite few more changes we need to do if we decide to customize like this way. But this is the only way to solve your purpose. If you are good programmer then you can try yourself but currently no any person has did this kind of solution so far neither as independent solution or community module.

Thanks for the fast and solid answer! We don't use the import wizard for this file. Customer data should be imported like xml data files when installing or updating the module. But sometimes we don't want to import this file because the data in the database are more accurate then the incoming csv file. So currently the only way is too comment the line out in __openerp__.py?
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 | |
---|---|---|---|---|
|
4
thg 11 23
|
31984 | ||
How to update only changed xmls
Đã xử lý
|
|
1
thg 12 22
|
5484 | |
|
3
thg 6 20
|
3860 | ||
|
1
thg 11 18
|
9377 | ||
|
11
thg 2 17
|
63656 |