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
e95cd63e
Commit
e95cd63e
authored
Jul 26, 2023
by
Yvon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
get config supercafoutch ready for update (lot of changes from very old version)
parent
b90c7869
Pipeline
#2833
failed with stage
in 1 minute 7 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
65 additions
and
10 deletions
+65
-10
config_supercafoutch.py
coops_configurations/config_supercafoutch.py
+65
-10
No files found.
coops_configurations/config_supercafoutch.py
View file @
e95cd63e
"""Company specific data values."""
"""Company specific data values."""
COMPANY_CODE
=
'supercafoutch'
"""Odoo coop specific constants ."""
"""Odoo coop specific constants ."""
COMPANY_LOGO
=
'https://supercafoutch.fr/wp-content/uploads/2018/02/logo_SuperCafoutch_2021_500x225.png'
MAG_NAME
=
''
OFFICE_NAME
=
''
MAX_BEGIN_HOUR
=
'19:00'
COMPANY_NAME
=
'SuperCafoutch'
WELCOME_ENTRANCE_MSG
=
'Bienvenue à SuperCafoutch!'
WELCOME_MAIL_SUBJECT
=
'Dernière étape de votre inscription à SuperCafoutch'
WELCOME_MAIL_TEMPLATE
=
'members/bienvenue.html'
ENTRANCE_WITH_LATE_MODE
=
True
BLOCK_SERVICE_EXCHANGE_24H_BEFORE
=
True
USE_NEW_MEMBERS_SPACE
=
True
DEFAULT_SHIFT_TYPE
=
'standard'
SHOW_FTOP_BUTTON
=
True
USE_STANDARD_SHIFT
=
True
ENTRANCE_EXTRA_BUTTONS_DISPLAY
=
False
PREPA_ODOO_URL
=
'/members/prepa-odoo/'
BDM_SHOW_FTOP_BUTTON
=
True
EMAIL_DOMAIN
=
'supercafoutch.fr'
EMAIL_DOMAIN
=
'supercafoutch.fr'
CAP_JOURNAL_ID
=
9
CAP_JOURNAL_ID
=
9
CAP_APPELE_NON_VERSE_ACCOUNT_ID
=
529
CAP_APPELE_NON_VERSE_ACCOUNT_ID
=
529
...
@@ -18,6 +36,7 @@ PARTS_A_PRICE_UNIT = PARTS_PRICE_UNIT
...
@@ -18,6 +36,7 @@ PARTS_A_PRICE_UNIT = PARTS_PRICE_UNIT
EXPORT_COMPTA_FORMAT
=
'Quadratus'
EXPORT_COMPTA_FORMAT
=
'Quadratus'
COOP_BARCODE_RULE_ID
=
11
COOP_BARCODE_RULE_ID
=
11
ASSOCIATE_BARCODE_RULE_ID
=
12
CHECK_PAYMENT_ID
=
8
CHECK_PAYMENT_ID
=
8
VIREMENT_PAYMENT_ID
=
16
VIREMENT_PAYMENT_ID
=
16
...
@@ -36,20 +55,34 @@ FLV_CSV_NB = 2
...
@@ -36,20 +55,34 @@ FLV_CSV_NB = 2
COEFF_MAG_ID
=
1
COEFF_MAG_ID
=
1
DAV_PATH
=
'/shared_dir/dav'
RECEPTION_PDT_LABELS_FN
=
'print_product_labels()'
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_TEXT
=
'Cliquez sur ce bouton pour imprimer les étiquettes code-barres à coller sur les produits'
RECEPTION_PDT_LABELS_BTN_TEXT
=
'Lancer l
\'
impression'
RECEPTION_PDT_LABELS_BTN_TEXT
=
'Lancer l
\'
impression'
RECEPTION_SHELF_LABEL_PRINT
=
False
RECEPTION_SHELF_LABEL_PRINT
=
False
FIXED_BARCODE_PREFIX
=
'0491'
FIXED_BARCODE_PREFIX
=
'0491'
DISPLAY_COL_AUTRES
=
False
RECEPTION_ADD_ALL_LEFT_IS_GOOD_QTIES
=
True
RECEPTION_ADD_ALL_LEFT_IS_GOOD_PRICES
=
True
RECEPTION_ADD_PRODUCTS_PSWD
=
'pass2makeApause'
RECEPTION_UPDATE_QTY_PSWD
=
'pass2makeApause'
NO_BARCODE_MAIL_SUBJECT
=
" Articles sans codebarre de la commande : {}"
NO_BARCODE_MAIL_MSG
=
"""
Bonjour {0},
Vous avez crée la commande {1}, le {2}, pour {3}
Voici la liste des codes barres qui manquent :
"""
ASSOCIATE_MEMBER_SHIFT
=
585
SUBSCRIPTION_PAYMENT_MEANINGS
=
[
SUBSCRIPTION_PAYMENT_MEANINGS
=
[
{
'code'
:
'cash'
,
'title'
:
'Espèces'
,
'journal_id'
:
CASH_PAYMENT_ID
},
{
'code'
:
'cash'
,
'title'
:
'Espèces'
,
'journal_id'
:
CASH_PAYMENT_ID
},
{
'code'
:
'ch'
,
'title'
:
'Chèque'
,
'journal_id'
:
CHECK_PAYMENT_ID
},
{
'code'
:
'ch'
,
'title'
:
'Chèque'
,
'journal_id'
:
CHECK_PAYMENT_ID
},
{
'code'
:
'cb'
,
'title'
:
'Carte bancaire'
,
'journal_id'
:
CB_PAYMENT_ID
},
{
'code'
:
'cb'
,
'title'
:
'Carte bancaire'
,
'journal_id'
:
CB_PAYMENT_ID
},
{
'code'
:
'vir'
,
'title'
:
'Virement'
,
'journal_id'
:
VIREMENT_PAYMENT_ID
},
{
'code'
:
'vir'
,
'title'
:
'Virement'
,
'journal_id'
:
VIREMENT_PAYMENT_ID
},
{
'code'
:
'hel'
,
'title'
:
'HelloAsso'
,
'journal_id'
:
HELLO_ASSO_PAYMENT_ID
}
{
'code'
:
'hel'
,
'title'
:
'HelloAsso'
,
'journal_id'
:
HELLO_ASSO_PAYMENT_ID
}
]
]
SHOP_HEADER_IMG
=
'https://supercafoutch.fr/wp-content/uploads/2018/02/SC-logo-4-invert@1x.png'
SHOP_HEADER_IMG
=
'https://supercafoutch.fr/wp-content/uploads/2018/02/SC-logo-4-invert@1x.png'
...
@@ -90,8 +123,30 @@ DISCOUNT_SHELFS_IDS = []
...
@@ -90,8 +123,30 @@ DISCOUNT_SHELFS_IDS = []
FL_SHELFS
=
[]
FL_SHELFS
=
[]
VRAC_SHELFS
=
[]
VRAC_SHELFS
=
[]
# Should block service exchange if old service is happening in less than 24h
BLOCK_SERVICE_EXCHANGE_24H_BEFORE
=
False
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 ..."""
ENTRANCE_COME_FOR_SHOPING_MSG
=
"Bienvenue dans ton magasin !"
INPUT_PHONE_PATTERN
=
"^(((
\
+33(-| )
\
d{1})|
\
d{2})(
\
.| )
\
d{2}(
\
.| )
\
d{2}(
\
.| )
\
d{2}(
\
.| )
\
d{2})|(0
\
d{9})$"
CONFIRME_PRESENT_BTN
=
'Clique ici pour valider ta présence'
ENTRANCE_WITH_LATE_MODE
=
True
# Members space / shifts
UNSUBSCRIBED_MSG
=
'Vous êtes désincrit·e, merci de .....'
UNSUBSCRIBED_FORM_LINK
=
''
SHIFT_EXCHANGE_DAYS_TO_HIDE
=
''
ENTRANCE_VALIDATE_PRESENCE_MESSAGE
=
"""
<div class="explanations">
Ta présence a bien été validée !
</div>
Ton prochain service <span class="service_verb">est prévu</span> le <span class="next_shift"></span>
"""
MEMBERS_SPACE_FAQ_TEMPLATE
=
'members_space/supercafoutch/faq.html'
MEMBERS_SPACE_HOME_TEMPLATE
=
'members_space/supercafoutch/home.html'
MEMBERS_SPACE_SHOW_UNDERSTAND_MY_STATUS
=
False
BLOCK_ACTIONS_FOR_ATTACHED_PEOPLE
=
False
CAN_ADD_SHIFT
=
True
ALLOW_FOUR_DIGITS_IN_RECEPTION_PRICE
=
True
ALLOW_FOUR_DIGITS_IN_RECEPTION_PRICE
=
True
...
...
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