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
5bbc317f
Commit
5bbc317f
authored
May 03, 2022
by
François C.
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2826-price-product' into 'dev_cooperatic'
2826 price product See merge request
!166
parents
04aedf66
86edeac7
Pipeline
#2160
passed with stage
in 1 minute 31 seconds
Changes
2
Pipelines
1
Show 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 @
5bbc317f
...
@@ -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 @
5bbc317f
...
@@ -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