mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 02:01:21 +00:00
fix: language in sales transactions
This commit is contained in:
@@ -1575,12 +1575,14 @@
|
|||||||
"print_hide": 1
|
"print_hide": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"fetch_from": "customer.language",
|
||||||
|
"fetch_if_empty": 1,
|
||||||
"fieldname": "language",
|
"fieldname": "language",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Link",
|
||||||
"hide_days": 1,
|
"hide_days": 1,
|
||||||
"hide_seconds": 1,
|
"hide_seconds": 1,
|
||||||
"label": "Print Language",
|
"label": "Print Language",
|
||||||
"length": 6,
|
"options": "Language",
|
||||||
"print_hide": 1,
|
"print_hide": 1,
|
||||||
"read_only": 1
|
"read_only": 1
|
||||||
},
|
},
|
||||||
@@ -2203,7 +2205,7 @@
|
|||||||
"link_fieldname": "consolidated_invoice"
|
"link_fieldname": "consolidated_invoice"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"modified": "2024-04-11 11:30:26.272441",
|
"modified": "2024-04-20 01:21:44.055127",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Accounts",
|
"module": "Accounts",
|
||||||
"name": "Sales Invoice",
|
"name": "Sales Invoice",
|
||||||
|
|||||||
@@ -136,7 +136,7 @@ class SalesInvoice(SellingController):
|
|||||||
is_pos: DF.Check
|
is_pos: DF.Check
|
||||||
is_return: DF.Check
|
is_return: DF.Check
|
||||||
items: DF.Table[SalesInvoiceItem]
|
items: DF.Table[SalesInvoiceItem]
|
||||||
language: DF.Data | None
|
language: DF.Link | None
|
||||||
letter_head: DF.Link | None
|
letter_head: DF.Link | None
|
||||||
loyalty_amount: DF.Currency
|
loyalty_amount: DF.Currency
|
||||||
loyalty_points: DF.Int
|
loyalty_points: DF.Int
|
||||||
|
|||||||
@@ -826,8 +826,9 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "language",
|
"fieldname": "language",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Link",
|
||||||
"label": "Print Language",
|
"label": "Print Language",
|
||||||
|
"options": "Language",
|
||||||
"print_hide": 1,
|
"print_hide": 1,
|
||||||
"read_only": 1
|
"read_only": 1
|
||||||
},
|
},
|
||||||
@@ -1073,7 +1074,7 @@
|
|||||||
"idx": 82,
|
"idx": 82,
|
||||||
"is_submittable": 1,
|
"is_submittable": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2024-03-27 13:10:30.774058",
|
"modified": "2024-04-20 01:15:19.171383",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Selling",
|
"module": "Selling",
|
||||||
"name": "Quotation",
|
"name": "Quotation",
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ class Quotation(SellingController):
|
|||||||
in_words: DF.Data | None
|
in_words: DF.Data | None
|
||||||
incoterm: DF.Link | None
|
incoterm: DF.Link | None
|
||||||
items: DF.Table[QuotationItem]
|
items: DF.Table[QuotationItem]
|
||||||
language: DF.Data | None
|
language: DF.Link | None
|
||||||
letter_head: DF.Link | None
|
letter_head: DF.Link | None
|
||||||
lost_reasons: DF.TableMultiSelect[QuotationLostReasonDetail]
|
lost_reasons: DF.TableMultiSelect[QuotationLostReasonDetail]
|
||||||
named_place: DF.Data | None
|
named_place: DF.Data | None
|
||||||
|
|||||||
@@ -1195,11 +1195,14 @@
|
|||||||
"label": "Print Settings"
|
"label": "Print Settings"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"fetch_from": "customer.language",
|
||||||
|
"fetch_if_empty": 1,
|
||||||
"fieldname": "language",
|
"fieldname": "language",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Link",
|
||||||
"hide_days": 1,
|
"hide_days": 1,
|
||||||
"hide_seconds": 1,
|
"hide_seconds": 1,
|
||||||
"label": "Print Language",
|
"label": "Print Language",
|
||||||
|
"options": "Language",
|
||||||
"print_hide": 1,
|
"print_hide": 1,
|
||||||
"read_only": 1
|
"read_only": 1
|
||||||
},
|
},
|
||||||
@@ -1658,7 +1661,7 @@
|
|||||||
"idx": 105,
|
"idx": 105,
|
||||||
"is_submittable": 1,
|
"is_submittable": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2024-03-29 16:27:41.539613",
|
"modified": "2024-04-20 01:20:11.190908",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Selling",
|
"module": "Selling",
|
||||||
"name": "Sales Order",
|
"name": "Sales Order",
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ class SalesOrder(SellingController):
|
|||||||
inter_company_order_reference: DF.Link | None
|
inter_company_order_reference: DF.Link | None
|
||||||
is_internal_customer: DF.Check
|
is_internal_customer: DF.Check
|
||||||
items: DF.Table[SalesOrderItem]
|
items: DF.Table[SalesOrderItem]
|
||||||
language: DF.Data | None
|
language: DF.Link | None
|
||||||
letter_head: DF.Link | None
|
letter_head: DF.Link | None
|
||||||
loyalty_amount: DF.Currency
|
loyalty_amount: DF.Currency
|
||||||
loyalty_points: DF.Int
|
loyalty_points: DF.Int
|
||||||
|
|||||||
@@ -1046,9 +1046,12 @@
|
|||||||
"report_hide": 1
|
"report_hide": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"fetch_from": "customer.language",
|
||||||
|
"fetch_if_empty": 1,
|
||||||
"fieldname": "language",
|
"fieldname": "language",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Link",
|
||||||
"label": "Print Language",
|
"label": "Print Language",
|
||||||
|
"options": "Language",
|
||||||
"print_hide": 1,
|
"print_hide": 1,
|
||||||
"read_only": 1
|
"read_only": 1
|
||||||
},
|
},
|
||||||
@@ -1397,7 +1400,7 @@
|
|||||||
"idx": 146,
|
"idx": 146,
|
||||||
"is_submittable": 1,
|
"is_submittable": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2024-03-27 13:06:49.519676",
|
"modified": "2024-04-20 01:18:20.679692",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Stock",
|
"module": "Stock",
|
||||||
"name": "Delivery Note",
|
"name": "Delivery Note",
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ class DeliveryNote(SellingController):
|
|||||||
is_return: DF.Check
|
is_return: DF.Check
|
||||||
issue_credit_note: DF.Check
|
issue_credit_note: DF.Check
|
||||||
items: DF.Table[DeliveryNoteItem]
|
items: DF.Table[DeliveryNoteItem]
|
||||||
language: DF.Data | None
|
language: DF.Link | None
|
||||||
letter_head: DF.Link | None
|
letter_head: DF.Link | None
|
||||||
lr_date: DF.Date | None
|
lr_date: DF.Date | None
|
||||||
lr_no: DF.Data | None
|
lr_no: DF.Data | None
|
||||||
|
|||||||
Reference in New Issue
Block a user