~jfb-tempo-consulting/unifield-wm/sync-jfb

« back to all changes in this revision

Viewing changes to config_temp.py

  • Committer: jf
  • Date: 2016-02-01 11:24:35 UTC
  • mfrom: (87.1.3 sync-env)
  • Revision ID: jfb@tempo-consulting.fr-20160201112435-1mbpcryccdd7qtgf
[IMP] Sync group name to manage HQ2
[IMP] Add config to load translations
[IMP] Add config to load access rights

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
default_email = 'null@msf.org'
25
25
company_name = 'Médecins Sans Frontières'
26
26
currency = 'chf' # either 'chf' or 'eur' (field.selection in the setup currency wizard)
27
 
 
28
 
hq_count = 2
29
 
coordo_count = 2
30
 
project_count = 2
 
27
lang = False # fr_MF or es_MF
 
28
sync_user_admin = False
 
29
hq_count = 1
 
30
coordo_count = 1
 
31
project_count = 1
31
32
 
32
33
load_test = 1250
33
34
dump_dir = '/tmp/db_dump_%s' % (prefix,)
36
37
addons = ['unifield-wm', 'unifield-addons', 'unifield-server', 'unifield-web', 'sync_module_prod']
37
38
server_restart_cmd = ''
38
39
web_restart_cmd = ''
 
40
 
 
41
# uncomment the next 3 parameters to load UserRights
 
42
#load_uac_file = 'data/uac.xml'
 
43
#load_users_file = 'data/unifield_users.csv'
 
44
#load_extra_files = [
 
45
#    'data/extra/ir.actions.act_window.csv',
 
46
#    'data/extra/ir.model.access.csv',
 
47
#    'data/extra/ir.rule.csv',
 
48
#    'data/extra/msf_field_access_rights.field_access_rule.csv',
 
49
#    'data/extra/msf_field_access_rights.field_access_rule_line.csv',
 
50
#    'data/extra/msf_button_access_rights.button_access_rule.csv',
 
51
#]
 
52
 
 
53
# if empty or not defined module msf_sync_data_hq is installed
 
54
#load_hq_data = [
 
55
#    'data/master_hq/account.analytic.account.csv',
 
56
#    'data/master_hq/account.account.csv',
 
57
#    'data/master_hq/2/account.analytic.account.csv',
 
58
#    'data/master_hq/product.nomenclature.csv',
 
59
#    'data/master_hq/product.category.csv',
 
60
#    'data/master_hq/product.product.csv',
 
61
#]
 
62
 
 
63
# if empty or not defined module msf_sync_data_post_synchro is installed
 
64
#load_data = [
 
65
#    'data/master/account.analytic.journal.csv',
 
66
#    'data/master/account.journal.csv',
 
67
#]