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
c18fc4b6
Commit
c18fc4b6
authored
Jun 14, 2023
by
François C.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow use of of private and public odoo url, by settings ODOO_PUBLIC_URL in config.py
parent
1a9663ae
Pipeline
#2771
failed with stage
in 1 minute 45 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
views.py
orders/views.py
+1
-1
No files found.
orders/views.py
View file @
c18fc4b6
...
@@ -20,7 +20,7 @@ def helper(request):
...
@@ -20,7 +20,7 @@ def helper(request):
'title'
:
'Aide à la commande'
,
'title'
:
'Aide à la commande'
,
'couchdb_server'
:
settings
.
COUCHDB
[
'url'
],
'couchdb_server'
:
settings
.
COUCHDB
[
'url'
],
'db'
:
settings
.
COUCHDB
[
'dbs'
][
'orders'
],
'db'
:
settings
.
COUCHDB
[
'dbs'
][
'orders'
],
'odoo_server'
:
settings
.
ODOO
[
'url'
]
,
'odoo_server'
:
getattr
(
settings
,
'ODOO_PUBLIC_URL'
,
settings
.
ODOO
[
'url'
])
,
'metabase_url'
:
getattr
(
settings
,
'ORDERS_HELPER_METABASE_URL'
,
''
),
'metabase_url'
:
getattr
(
settings
,
'ORDERS_HELPER_METABASE_URL'
,
''
),
'nb_past_days_to_compute_sales_average'
:
OdooAPI
()
.
get_system_param
(
'lacagette_products.nb_past_days_to_compute_sales_average'
),
'nb_past_days_to_compute_sales_average'
:
OdooAPI
()
.
get_system_param
(
'lacagette_products.nb_past_days_to_compute_sales_average'
),
'nb_of_consecutive_non_sale_days_considered_as_break'
:
OdooAPI
()
.
get_system_param
(
'lacagette_products.nb_of_consecutive_non_sale_days_considered_as_break'
)
'nb_of_consecutive_non_sale_days_considered_as_break'
:
OdooAPI
()
.
get_system_param
(
'lacagette_products.nb_of_consecutive_non_sale_days_considered_as_break'
)
...
...
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