mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 04:39:11 +00:00
chore: Make material request title translatable (#35764)
chore: Make material request title translatable
This commit is contained in:
@@ -115,7 +115,7 @@ class MaterialRequest(BuyingController):
|
|||||||
"""Set title as comma separated list of items"""
|
"""Set title as comma separated list of items"""
|
||||||
if not self.title:
|
if not self.title:
|
||||||
items = ", ".join([d.item_name for d in self.items][:3])
|
items = ", ".join([d.item_name for d in self.items][:3])
|
||||||
self.title = _("{0} Request for {1}").format(self.material_request_type, items)[:100]
|
self.title = _("{0} Request for {1}").format(_(self.material_request_type), items)[:100]
|
||||||
|
|
||||||
def on_submit(self):
|
def on_submit(self):
|
||||||
self.update_requested_qty()
|
self.update_requested_qty()
|
||||||
|
|||||||
Reference in New Issue
Block a user