Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
third-party
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cooperatic-foodcoops
third-party
Commits
393893e8
Commit
393893e8
authored
Mar 06, 2024
by
Yvon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
graoucoop config file initial commit
parent
80e725a9
Pipeline
#3362
failed with stage
in 1 minute 5 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
140 additions
and
0 deletions
+140
-0
config_graoucoop.py
coops_configurations/config_graoucoop.py
+140
-0
No files found.
coops_configurations/config_graoucoop.py
0 → 100644
View file @
393893e8
"""Company specific data values."""
MAG_NAME
=
''
COMPANY_NAME
=
'GRAOUCOOP'
OFFICE_NAME
=
''
EMAIL_DOMAIN
=
'graoucoop.fr'
COMPANY_LOGO
=
'https://graoucoop.fr/wp-content/uploads/2023/02/logo-graoucoop-horiz-og.png'
# OPEN_ON_SUNDAY = True
MAX_BEGIN_HOUR
=
'19:00'
WELCOME_ENTRANCE_MSG
=
'Bienvenue à Graoucoop !'
WELCOME_MAIL_SUBJECT
=
'Dernière étape de votre inscription à Graoucoop.'
WELCOME_MAIL_TEMPLATE
=
'members/graoucoop/bienvenue.html'
TOOLS_SERVER
=
'outils.graoucoop.fr'
DAV_PATH
=
'/shared_dir/dav/'
ADMIN_IDS
=
[
1
,
38
]
BRINKS_MUST_IDENTIFY
=
True
CAP_JOURNAL_ID
=
9
CAP_APPELE_NON_VERSE_ACCOUNT_ID
=
529
CAP_APPELE_VERSE_ACCOUNT_ID
=
8
CAP_INVOICE_LINE_ACCOUNT_ID
=
7
FUNDRAISING_CAT_ID
=
1
UNITE_UOM_ID
=
1
PARTS_A_PRODUCT_ID
=
5
PARTS_B_PRODUCT_ID
=
6
PARTS_C_PRODUCT_ID
=
7
PARTS_PRICE_UNIT
=
10.0
PARTS_A_PRICE_UNIT
=
PARTS_PRICE_UNIT
COOP_BARCODE_RULE_ID
=
11
CHECK_PAYMENT_ID
=
97
VIREMENT_PAYMENT_ID
=
98
CASH_PAYMENT_ID
=
18
#CB_PAYMENT_ID = 15
#HELLO_ASSO_PAYMENT_ID = 29
STOCK_LOC_ID
=
12
CATEG_FRUIT
=
151
CATEG_LEGUME
=
152
VRAC_CATEGS
=
[
166
,
167
,
174
,
179
]
#EXPORT_POS_CAT_FOR_SCALES = True
FLV_CSV_NB
=
2
COEFF_MAG_ID
=
1
RECEPTION_PDT_LABELS_FN
=
'print_product_labels()'
RECEPTION_PDT_LABELS_TEXT
=
'Cliquez sur ce bouton pour imprimer les étiquettes code-barres à coller sur les produits'
RECEPTION_PDT_LABELS_BTN_TEXT
=
'Lancer l
\'
impression'
RECEPTION_SHELF_LABEL_PRINT
=
True
FIXED_BARCODE_PREFIX
=
'0490'
RECEPTION_ADD_ADMIN_MODE
=
True
RECEPTION_ADD_ALL_LEFT_IS_GOOD
=
True
RECEPTION_MERGE_ORDERS_PSWD
=
'pass2makeApause'
DISPLAY_COL_AUTRES
=
False
RECEPTION_ADD_PRODUCTS_PSWD
=
'pass2makeApause'
NO_BARCODE_MAIL_MSG
=
"contact@graoucoop.fr"
SUBSCRIPTION_PAYMENT_MEANINGS
=
[
{
'code'
:
'cash'
,
'title'
:
'Espèces'
,
'journal_id'
:
CASH_PAYMENT_ID
},
{
'code'
:
'ch'
,
'title'
:
'Chèque'
,
'journal_id'
:
CHECK_PAYMENT_ID
},
{
'code'
:
'vir'
,
'title'
:
'Virement'
,
'journal_id'
:
VIREMENT_PAYMENT_ID
},
]
CAN_CREATE_BINOME
=
False
SUBSCRIPTION_NAME_SEP
=
', '
CONCAT_NAME_ORDER
=
'LF'
SUBSCRIPTION_ASK_FOR_SEX
=
True
WITH_WEBSITE_MENU
=
True
SUBSCRIPTION_ADD_STREET2
=
True
SUBSCRIPTION_ADD_SECOND_PHONE
=
True
FORCE_HYPHEN_IN_SUBSCRIPTION_FIRSTNAME
=
False
ENTRANCE_EXTRA_BUTTONS_DISPLAY
=
False
ADMIN_BINOME_ACTIVE
=
False
SHOP_CAN_BUY
=
True
DELIVERY_CAN_BUY
=
True
SHOP_HEADER_IMG
=
'https://graoucoop.fr/wp-content/uploads/2021/01/logo-graoucoop-horiz.png'
SHOP_OPENING
=
{
'jeu.'
:
[{
'start'
:
'15:45'
,
'end'
:
'18:15'
},
{
'start'
:
'18:30'
,
'end'
:
'21:00'
}],
'ven.'
:
[{
'start'
:
'15:45'
,
'end'
:
'18:15'
},
{
'start'
:
'18:30'
,
'end'
:
'21:00'
}],
'sam.'
:
[{
'start'
:
'10:15'
,
'end'
:
'12:45'
},
{
'start'
:
'13:00'
,
'end'
:
'15:30'
}]}
SHOP_SLOT_SIZE
=
15
# minutes
SHOP_CATEGORIES
=
{
'epicerie'
:
{
'id'
:
75
,
'label'
:
'Epicerie'
},
'liquide'
:
{
'id'
:
96
,
'label'
:
'Liquides'
},
'produits_frais'
:
{
'id'
:
104
,
'label'
:
'Frais'
},
'surgeles'
:
{
'id'
:
115
,
'label'
:
'Surgelés'
},
'bazar'
:
{
'id'
:
122
,
'label'
:
'Maison & Bazar'
},
'droguerie'
:
{
'id'
:
127
,
'label'
:
'Droguerie Hygiène'
},
'parfumerie'
:
{
'id'
:
133
,
'label'
:
'Parfumerie'
}
}
ALLOW_NON_MEMBER_TO_CONNECT
=
True
EXCLUDE_SHOP_CATEGORIES
=
[]
DEFAULT_MAX_TIMESLOT_CARTS
=
1
MIN_DELAY_FOR_SLOT
=
0
HOURS_FOR_VALIDATION_SHOP
=
2
SHOW_SUBSTITUTION_OPTION
=
False
CART_VALIDATION_BOTTOM_MSG
=
""
SHOP_STOCK_WARNING
=
False
SHOP_BOTTOM_VALIDATION_MSG
=
'Message personnalisable'
#SHOP_LIMIT_PRODUCTS = ['relatively_available', 'no_shelf']
#VALIDATION_ORDER_MAIL_TEMPLATE = 'shop/lgds_validation_mail.html'
EM_URL
=
''
USE_NEW_MEMBERS_SPACE
=
True
USE_NEW_MEMBERS_SPACE
=
True
REMOVE_15_MINUTES_AT_SHIFT_END
=
False
CAN_ADD_SHIFT
=
True
COOP_CAN_CHANGE_SHIFT_TEMPLATE
=
True
SHIFT_EXCHANGE_DAYS_TO_HIDE
=
''
SHIFT_INFO
=
"""Un service est une plage de trois heures un jour en particulier, par exemple : le mardi 25/09/2018 à 13h15.
<br />A l'inverse, un créneau est une plage de trois heures régulière, par exemple, tous les mardi de semaine A à 13h15."""
PB_INSTRUCTIONS
=
"""Si j'ai un problème, que je suis désinscrit, que je veux changer de créneaux ou quoi que ce soit, merci de se rendre au magasin"""
CALENDAR_NO_MORE_LINK
=
True
MEMBERS_SPACE_SHOW_UNDERSTAND_MY_STATUS
=
True
MEMBERS_SPACE_FAQ_TEMPLATE
=
'members_space/graoucoop/faq.html'
MEMBERS_SPACE_UNDERSTAND_MY_STATUS_TEMPLATE
=
'members_space/graoucoop/understand_my_status.html'
BRINKS_MUST_IDENTIFY
=
True
PROMOTE_SHELFS_IDS
=
[]
DISCOUNT_SHELFS_IDS
=
[]
FL_SHELFS
=
[]
VRAC_SHELFS
=
[]
ENTRANCE_FTOP_BUTTON_DISPLAY
=
False
#CUSTOM_CSS_FILES = {'all': ['common_lgds.css'],
# 'members': ['inscription_lgds.css']}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment