Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
odoo
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
0
Merge Requests
0
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
odoo
Commits
bf2e1e4c
Commit
bf2e1e4c
authored
2 years ago
by
Damien Moulard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove useless code
parent
c64229fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
screens.js
lacagette_addons/pos_meal_voucher/static/src/js/screens.js
+0
-9
No files found.
lacagette_addons/pos_meal_voucher/static/src/js/screens.js
View file @
bf2e1e4c
...
...
@@ -249,15 +249,6 @@ odoo.define("pos_meal_voucher.screens", function (require) {
},
click_paymentmethods_meal_voucher_mixed
:
function
(
id
)
{
var
order
=
this
.
pos
.
get_order
();
if
(
order
.
get_total_meal_voucher_eligible
()
==
0
)
{
this
.
gui
.
show_popup
(
"alert"
,
{
'title'
:
_t
(
"Meal Voucher 0 amount"
),
'body'
:
_t
(
"can't pay"
),
});
return
false
;
}
var
cashregister
=
null
;
for
(
var
i
=
0
;
i
<
this
.
pos
.
cashregisters
.
length
;
i
++
)
{
if
(
this
.
pos
.
cashregisters
[
i
].
journal_id
[
0
]
===
id
){
...
...
This diff is collapsed.
Click to expand it.
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