Skip to content

Commit

Permalink
fix: add labels for translation in sales_order.js
Browse files Browse the repository at this point in the history
(cherry picked from commit d544328)
  • Loading branch information
mahsem authored and ruthra-kumar committed Dec 5, 2024
1 parent c502b56 commit 3620dda
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions erpnext/selling/doctype/sales_order/sales_order.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ frappe.ui.form.on("Sales Order", {
target: frm,
setters: [
{
label: 'Supplier',
label: __('Supplier'),
fieldname: 'supplier',
fieldtype: 'Link',
options: 'Supplier'
Expand Down Expand Up @@ -376,7 +376,7 @@ erpnext.selling.SalesOrderController = class SalesOrderController extends erpnex
target: me.frm,
setters: [
{
label: "Customer",
label: __("Customer"),
fieldname: "party_name",
fieldtype: "Link",
options: "Customer",
Expand Down Expand Up @@ -430,7 +430,7 @@ erpnext.selling.SalesOrderController = class SalesOrderController extends erpnex
}
else {
const fields = [{
label: 'Items',
label: __('Items'),
fieldtype: 'Table',
fieldname: 'items',
description: __('Select BOM and Qty for Production'),
Expand Down Expand Up @@ -724,7 +724,7 @@ erpnext.selling.SalesOrderController = class SalesOrderController extends erpnex
"default": 0
},
{
fieldname: 'items_for_po', fieldtype: 'Table', label: 'Select Items',
fieldname: 'items_for_po', fieldtype: 'Table', label: __('Select Items'),
fields: [
{
fieldtype:'Data',
Expand Down

0 comments on commit 3620dda

Please sign in to comment.