mirror of
https://github.com/c0de-archive/Odoo-Contact-Import.git
synced 2024-12-22 17:12:41 +00:00
Change the paths
This commit is contained in:
parent
1ecc1b50f6
commit
7d992b8866
8
main.py
8
main.py
@ -28,10 +28,10 @@ import re
|
|||||||
|
|
||||||
# Change these paths to reflect your needs
|
# Change these paths to reflect your needs
|
||||||
config = {
|
config = {
|
||||||
'partner_path': 'C:\\Users\\dtodd\\Desktop\\res.partner (2).csv', # This is the csv file containing two columns, id and name
|
'partner_path': 'C:\\res.partner.csv', # This is the csv file containing two columns, id and name
|
||||||
'import_path': 'C:\\Users\\dtodd\\Desktop\\To Import\\MN Companies-50 FTE-HQ one (contacts) Campaign.csv', # This is the csv file containing whatever needs to be imported
|
'import_path': 'C:\\import.csv', # This is the csv file containing whatever needs to be imported
|
||||||
'temp_path': 'C:\\Users\\dtodd\\Desktop\\temp', # This is a csv file that will be deleted on program completion
|
'temp_path': 'C:\\temp', # This is a csv file that will be deleted on program completion
|
||||||
'column_to_change': 'parent_id/id' # This is the name of the column that you want to change
|
'column_to_change': 'parent_id/id' # This is the name of the column that you want to change
|
||||||
}
|
}
|
||||||
|
|
||||||
# Find the index number of a column in a row and return that
|
# Find the index number of a column in a row and return that
|
||||||
|
Loading…
Reference in New Issue
Block a user