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
308d710c
Commit
308d710c
authored
May 10, 2023
by
François C.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#4081 : Fix prepa odoo choose shift template bug
parent
644261a5
Pipeline
#2727
passed with stage
in 1 minute 27 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
views.py
members/views.py
+1
-0
prepa_odoo.html
templates/members/prepa_odoo.html
+1
-0
No files found.
members/views.py
View file @
308d710c
...
@@ -137,6 +137,7 @@ def prepa_odoo(request):
...
@@ -137,6 +137,7 @@ def prepa_odoo(request):
'ask_for_street2'
:
getattr
(
settings
,
'SUBSCRIPTION_ADD_STREET2'
,
False
),
'ask_for_street2'
:
getattr
(
settings
,
'SUBSCRIPTION_ADD_STREET2'
,
False
),
'ask_for_second_phone'
:
getattr
(
settings
,
'SUBSCRIPTION_ADD_SECOND_PHONE'
,
False
),
'ask_for_second_phone'
:
getattr
(
settings
,
'SUBSCRIPTION_ADD_SECOND_PHONE'
,
False
),
'show_ftop_button'
:
getattr
(
settings
,
'SHOW_FTOP_BUTTON'
,
True
),
'show_ftop_button'
:
getattr
(
settings
,
'SHOW_FTOP_BUTTON'
,
True
),
'committees_shift_id'
:
CagetteServices
.
get_committees_shift_id
(),
'db'
:
settings
.
COUCHDB
[
'dbs'
][
'member'
]}
'db'
:
settings
.
COUCHDB
[
'dbs'
][
'member'
]}
# with_addr_complement
# with_addr_complement
...
...
templates/members/prepa_odoo.html
View file @
308d710c
...
@@ -13,6 +13,7 @@
...
@@ -13,6 +13,7 @@
var
type
=
2
;
var
type
=
2
;
var
context
=
'validation'
;
var
context
=
'validation'
;
let
manage_ftop
=
{
%
if
show_ftop_button
%
}
true
{
%
else
%
}
false
{
%
endif
%
};
let
manage_ftop
=
{
%
if
show_ftop_button
%
}
true
{
%
else
%
}
false
{
%
endif
%
};
var
committees_shift_id
=
'{{committees_shift_id}}'
;
</script>
</script>
{% endblock %}
{% endblock %}
{% block content %}
{% block content %}
...
...
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