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
8c4e7e33
Commit
8c4e7e33
authored
May 02, 2022
by
Félicie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
price added"
parent
454d9a90
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
shelfs_admin.js
shelfs/static/js/shelfs_admin.js
+2
-0
admin.html
templates/shelfs/admin.html
+1
-0
No files found.
shelfs/static/js/shelfs_admin.js
View file @
8c4e7e33
...
@@ -386,6 +386,8 @@ var addProductToList = async function(barcode) {
...
@@ -386,6 +386,8 @@ var addProductToList = async function(barcode) {
.
appendTo
(
pdt_line
);
.
appendTo
(
pdt_line
);
$
(
'<td>'
).
text
(
odoo_product
.
data
[
barcodes
.
keys
.
name
])
$
(
'<td>'
).
text
(
odoo_product
.
data
[
barcodes
.
keys
.
name
])
.
appendTo
(
pdt_line
);
.
appendTo
(
pdt_line
);
$
(
'<td>'
).
text
(
odoo_product
.
data
[
barcodes
.
keys
.
list_price
]
+
" €"
)
.
appendTo
(
pdt_line
);
$
(
'<td>'
).
html
(
delete_icon
)
$
(
'<td>'
).
html
(
delete_icon
)
.
appendTo
(
pdt_line
);
.
appendTo
(
pdt_line
);
adding_pdts_tpl
.
find
(
'#added_products tbody'
).
append
(
pdt_line
);
adding_pdts_tpl
.
find
(
'#added_products tbody'
).
append
(
pdt_line
);
...
...
templates/shelfs/admin.html
View file @
8c4e7e33
...
@@ -62,6 +62,7 @@
...
@@ -62,6 +62,7 @@
<th>
Code-barre lu
</th>
<th>
Code-barre lu
</th>
<th>
Code-barre Odoo
</th>
<th>
Code-barre Odoo
</th>
<th>
Article
</th>
<th>
Article
</th>
<th>
Prix
</th>
<th>
Action
</th>
<th>
Action
</th>
</tr>
</tr>
</thead>
</thead>
...
...
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