I have initial data for module in CSV file. How I can load data from CSV file only when installing module, not when updating? XML data files have "noupdate" option, but CSV files haven't.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Бухгалтерия
- Склад
- PoS
- Проекты
- MRP
Этот вопрос был отмечен
1
Ответить
7656
Представления
I just saw this today - https://apps.openerp.com/apps/7.0/csv_noupdate/ - don't know if it helps.
Не оставайтесь в стороне – присоединяйтесь к обсуждению!
Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!
Регистрация| Похожие посты | Ответы | Просмотры | Активность | |
|---|---|---|---|---|
|
|
1
мар. 15
|
10465 | ||
|
|
3
окт. 23
|
35967 | ||
|
|
3
июл. 19
|
7165 | ||
|
|
5
сент. 25
|
24829 | ||
|
|
3
июн. 20
|
4931 |
How are you inserting the data of the CSV file?
in __openerp__.py: "data": ['mydata.csv']