Commit 5bbc317f by François C.

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
...@@ -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);
......
...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment