Update sales_order.js (#5784)

Typo fix
This commit is contained in:
Oliver 2023-10-25 12:24:30 +11:00 committed by GitHub
parent dfc4fa7584
commit f280e0aeaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1793,7 +1793,7 @@ function loadSalesOrderLineItemTable(table, options={}) {
title: '{% trans "Part" %}',
switchable: false,
formatter: function(value, row, index, field) {
if (row.par_detail) {
if (row.part_detail) {
return imageHoverIcon(row.part_detail.thumbnail) + renderLink(row.part_detail.full_name, `/part/${value}/`);
} else {
return '-';