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
59273361
Commit
59273361
authored
Feb 09, 2022
by
François C.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix oder => order syntax
parent
e46288b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
screens.js
lacagette_addons/pos_meal_voucher/static/src/js/screens.js
+2
-2
No files found.
lacagette_addons/pos_meal_voucher/static/src/js/screens.js
View file @
59273361
...
@@ -14,8 +14,8 @@ odoo.define("pos_meal_voucher.screens", function (require) {
...
@@ -14,8 +14,8 @@ odoo.define("pos_meal_voucher.screens", function (require) {
screens
.
ScreenWidget
.
include
({
screens
.
ScreenWidget
.
include
({
barcode_meal_voucher_payment_action
:
function
(
code
)
{
barcode_meal_voucher_payment_action
:
function
(
code
)
{
var
oder
=
this
.
pos
.
get_order
();
var
o
r
der
=
this
.
pos
.
get_order
();
if
(
!
oder
.
paper_meal_vouche_number_already_used
(
code
.
code
)){
if
(
!
o
r
der
.
paper_meal_vouche_number_already_used
(
code
.
code
)){
// Display the payment screen, if it is not the current one.
// Display the payment screen, if it is not the current one.
if
(
this
.
pos
.
gui
.
current_screen
.
template
!==
"PaymentScreenWidget"
){
if
(
this
.
pos
.
gui
.
current_screen
.
template
!==
"PaymentScreenWidget"
){
this
.
gui
.
show_screen
(
"payment"
);
this
.
gui
.
show_screen
(
"payment"
);
...
...
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