Replace 'Make' with 'Create'
diff --git a/erpnext/accounts/doctype/account/account_tree.js b/erpnext/accounts/doctype/account/account_tree.js
index a9cbdd5..1047f51 100644
--- a/erpnext/accounts/doctype/account/account_tree.js
+++ b/erpnext/accounts/doctype/account/account_tree.js
@@ -61,13 +61,13 @@
frappe.set_route('List', 'Period Closing Voucher', {company: get_company()});
}, __('View'));
- // make
+
treeview.page.add_inner_button(__("Journal Entry"), function() {
frappe.new_doc('Journal Entry', {company: get_company()});
- }, __('Make'));
+ }, __('Create'));
treeview.page.add_inner_button(__("New Company"), function() {
frappe.new_doc('Company');
- }, __('Make'));
+ }, __('Create'));
// financial statements
for (let report of ['Trial Balance', 'General Ledger', 'Balance Sheet',
diff --git a/erpnext/accounts/doctype/exchange_rate_revaluation/exchange_rate_revaluation.js b/erpnext/accounts/doctype/exchange_rate_revaluation/exchange_rate_revaluation.js
index c18057e..dad75b4 100644
--- a/erpnext/accounts/doctype/exchange_rate_revaluation/exchange_rate_revaluation.js
+++ b/erpnext/accounts/doctype/exchange_rate_revaluation/exchange_rate_revaluation.js
@@ -21,7 +21,7 @@
refresh: function(frm) {
if(frm.doc.docstatus==1) {
- frm.add_custom_button(__('Make Journal Entry'), function() {
+ frm.add_custom_button(__('Create Journal Entry'), function() {
return frm.events.make_jv(frm);
});
}
@@ -52,7 +52,7 @@
d.gain_loss = flt(d.new_balance_in_base_currency, precision("new_balance_in_base_currency", d)) - flt(d.balance_in_base_currency, precision("balance_in_base_currency", d));
total_gain_loss += flt(d.gain_loss, precision("gain_loss", d));
});
-
+
frm.set_value("total_gain_loss", flt(total_gain_loss, precision("total_gain_loss")));
frm.refresh_fields();
},
diff --git a/erpnext/accounts/doctype/journal_entry/journal_entry.js b/erpnext/accounts/doctype/journal_entry/journal_entry.js
index 8d50811..490b9eb 100644
--- a/erpnext/accounts/doctype/journal_entry/journal_entry.js
+++ b/erpnext/accounts/doctype/journal_entry/journal_entry.js
@@ -40,7 +40,7 @@
erpnext.journal_entry.toggle_fields_based_on_currency(frm);
if ((frm.doc.voucher_type == "Inter Company Journal Entry") && (frm.doc.docstatus == 1) && (!frm.doc.inter_company_journal_entry_reference)) {
- frm.add_custom_button(__("Make Inter Company Journal Entry"),
+ frm.add_custom_button(__("Create Inter Company Journal Entry"),
function() {
frm.trigger("make_inter_company_journal_entry");
}
@@ -68,7 +68,7 @@
}
],
});
- d.set_primary_action(__("Make"), function() {
+ d.set_primary_action(__('Create'), function() {
d.hide();
var args = d.get_values();
frappe.call({
@@ -92,10 +92,10 @@
multi_currency: function(frm) {
erpnext.journal_entry.toggle_fields_based_on_currency(frm);
},
-
+
posting_date: function(frm) {
if(!frm.doc.multi_currency || !frm.doc.posting_date) return;
-
+
$.each(frm.doc.accounts || [], function(i, row) {
erpnext.journal_entry.set_exchange_rate(frm, row.doctype, row.name);
})
@@ -367,7 +367,7 @@
});
refresh_field("accounts");
}
-
+
if((!(doc.accounts || []).length) || ((doc.accounts || []).length==1 && !doc.accounts[0].account)) {
if(in_list(["Bank Entry", "Cash Entry"], doc.voucher_type)) {
return frappe.call({
@@ -427,7 +427,7 @@
account: function(frm, dt, dn) {
erpnext.journal_entry.set_account_balance(frm, dt, dn);
},
-
+
debit_in_account_currency: function(frm, cdt, cdn) {
erpnext.journal_entry.set_exchange_rate(frm, cdt, cdn);
},
diff --git a/erpnext/accounts/doctype/opening_invoice_creation_tool/opening_invoice_creation_tool.js b/erpnext/accounts/doctype/opening_invoice_creation_tool/opening_invoice_creation_tool.js
index 7c7d3a4..c742e64 100644
--- a/erpnext/accounts/doctype/opening_invoice_creation_tool/opening_invoice_creation_tool.js
+++ b/erpnext/accounts/doctype/opening_invoice_creation_tool/opening_invoice_creation_tool.js
@@ -15,7 +15,7 @@
refresh: function(frm) {
frm.disable_save();
frm.trigger("make_dashboard");
- frm.page.set_primary_action(__("Make Invoices"), () => {
+ frm.page.set_primary_action(__('Create Invoices'), () => {
let btn_primary = frm.page.btn_primary.get(0);
return frm.call({
doc: frm.doc,
diff --git a/erpnext/accounts/doctype/payment_order/payment_order.js b/erpnext/accounts/doctype/payment_order/payment_order.js
index a4ec05c..10e1995 100644
--- a/erpnext/accounts/doctype/payment_order/payment_order.js
+++ b/erpnext/accounts/doctype/payment_order/payment_order.js
@@ -11,10 +11,10 @@
// payment Entry
if (frm.doc.docstatus==1) {
- frm.add_custom_button(__('Make Payment Entries'),
- function() {
- frm.trigger("make_payment_records")
- });
+ frm.add_custom_button(__('Create Payment Entries'),
+ function() {
+ frm.trigger("make_payment_records");
+ });
}
},
@@ -79,5 +79,5 @@
dialog.show();
},
-
+
});
diff --git a/erpnext/accounts/doctype/payment_request/payment_request.js b/erpnext/accounts/doctype/payment_request/payment_request.js
index ef930d0..bd021b1 100644
--- a/erpnext/accounts/doctype/payment_request/payment_request.js
+++ b/erpnext/accounts/doctype/payment_request/payment_request.js
@@ -34,7 +34,7 @@
}
if(!frm.doc.payment_gateway_account && frm.doc.status == "Initiated") {
- frm.add_custom_button(__('Make Payment Entry'), function(){
+ frm.add_custom_button(__('Create Payment Entry'), function(){
frappe.call({
method: "erpnext.accounts.doctype.payment_request.payment_request.make_payment_entry",
args: {"docname": frm.doc.name},
diff --git a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js
index 263b5bb..3ab863e 100644
--- a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js
+++ b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js
@@ -46,40 +46,40 @@
this.frm.add_custom_button(
__('Unblock Invoice'),
function() {me.unblock_invoice()},
- __('Make')
+ __('Create')
);
} else if (!doc.on_hold) {
this.frm.add_custom_button(
__('Block Invoice'),
function() {me.block_invoice()},
- __('Make')
+ __('Create')
);
}
}
if(doc.docstatus == 1 && doc.outstanding_amount != 0
&& !(doc.is_return && doc.return_against)) {
- this.frm.add_custom_button(__('Payment'), this.make_payment_entry, __("Make"));
- cur_frm.page.set_inner_btn_group_as_primary(__("Make"));
+ this.frm.add_custom_button(__('Payment'), this.make_payment_entry, __('Create'));
+ cur_frm.page.set_inner_btn_group_as_primary(__('Create'));
}
if(!doc.is_return && doc.docstatus==1) {
if(doc.outstanding_amount >= 0 || Math.abs(flt(doc.outstanding_amount)) < flt(doc.grand_total)) {
cur_frm.add_custom_button(__('Return / Debit Note'),
- this.make_debit_note, __("Make"));
+ this.make_debit_note, __('Create'));
}
if(!doc.auto_repeat) {
cur_frm.add_custom_button(__('Subscription'), function() {
erpnext.utils.make_subscription(doc.doctype, doc.name)
- }, __("Make"))
+ }, __('Create'))
}
}
if (doc.outstanding_amount > 0 && !cint(doc.is_return)) {
cur_frm.add_custom_button(__('Payment Request'), function() {
me.make_payment_request()
- }, __("Make"));
+ }, __('Create'));
}
if(doc.docstatus===0) {
@@ -128,7 +128,7 @@
if (internal == 1 && disabled == 0) {
me.frm.add_custom_button("Inter Company Invoice", function() {
me.make_inter_company_invoice(me.frm);
- }, __("Make"));
+ }, __('Create'));
}
});
}
diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.js b/erpnext/accounts/doctype/sales_invoice/sales_invoice.js
index 91a44b3..5b00752 100644
--- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.js
+++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.js
@@ -51,8 +51,8 @@
if (doc.docstatus == 1 && doc.outstanding_amount!=0
&& !(cint(doc.is_return) && doc.return_against)) {
cur_frm.add_custom_button(__('Payment'),
- this.make_payment_entry, __("Make"));
- cur_frm.page.set_inner_btn_group_as_primary(__("Make"));
+ this.make_payment_entry, __('Create'));
+ cur_frm.page.set_inner_btn_group_as_primary(__('Create'));
}
if(doc.docstatus==1 && !doc.is_return) {
@@ -65,8 +65,8 @@
if(doc.outstanding_amount >= 0 || Math.abs(flt(doc.outstanding_amount)) < flt(doc.grand_total)) {
cur_frm.add_custom_button(__('Return / Credit Note'),
- this.make_sales_return, __("Make"));
- cur_frm.page.set_inner_btn_group_as_primary(__("Make"));
+ this.make_sales_return, __('Create'));
+ cur_frm.page.set_inner_btn_group_as_primary(__('Create'));
}
if(cint(doc.update_stock)!=1) {
@@ -79,20 +79,20 @@
if(!from_delivery_note && !is_delivered_by_supplier) {
cur_frm.add_custom_button(__('Delivery'),
- cur_frm.cscript['Make Delivery Note'], __("Make"));
+ cur_frm.cscript['Make Delivery Note'], __('Create'));
}
}
if (doc.outstanding_amount>0 && !cint(doc.is_return)) {
cur_frm.add_custom_button(__('Payment Request'), function() {
me.make_payment_request();
- }, __("Make"));
+ }, __('Create'));
}
if(!doc.auto_repeat) {
cur_frm.add_custom_button(__('Subscription'), function() {
erpnext.utils.make_subscription(doc.doctype, doc.name)
- }, __("Make"))
+ }, __('Create'))
}
}
@@ -112,7 +112,7 @@
if (internal == 1 && disabled == 0) {
me.frm.add_custom_button("Inter Company Invoice", function() {
me.make_inter_company_invoice();
- }, __("Make"));
+ }, __('Create'));
}
});
}
diff --git a/erpnext/accounts/doctype/share_transfer/share_transfer.js b/erpnext/accounts/doctype/share_transfer/share_transfer.js
index af23b26..446ae68 100644
--- a/erpnext/accounts/doctype/share_transfer/share_transfer.js
+++ b/erpnext/accounts/doctype/share_transfer/share_transfer.js
@@ -17,7 +17,7 @@
};
});
if (frm.doc.docstatus == 1) {
- frm.add_custom_button(__('Make Journal Entry'), function () {
+ frm.add_custom_button(__('Create Journal Entry'), function () {
erpnext.share_transfer.make_jv(frm);
});
}
diff --git a/erpnext/assets/doctype/asset/asset.js b/erpnext/assets/doctype/asset/asset.js
index ed02d87..f68cfc3 100644
--- a/erpnext/assets/doctype/asset/asset.js
+++ b/erpnext/assets/doctype/asset/asset.js
@@ -31,7 +31,7 @@
}
};
});
-
+
frm.set_query("cost_center", function() {
return {
"filters": {
@@ -81,26 +81,26 @@
if (frm.doc.status=='Submitted' && !frm.doc.is_existing_asset && !frm.doc.purchase_invoice) {
frm.add_custom_button(__("Purchase Invoice"), function() {
frm.trigger("make_purchase_invoice");
- }, __("Make"));
+ }, __('Create'));
}
if (frm.doc.maintenance_required && !frm.doc.maintenance_schedule) {
frm.add_custom_button(__("Asset Maintenance"), function() {
frm.trigger("create_asset_maintenance");
- }, __("Make"));
+ }, __('Create'));
}
if (frm.doc.status != 'Fully Depreciated') {
frm.add_custom_button(__("Asset Value Adjustment"), function() {
frm.trigger("create_asset_adjustment");
- }, __("Make"));
+ }, __('Create'));
}
if (!frm.doc.calculate_depreciation) {
frm.add_custom_button(__("Depreciation Entry"), function() {
frm.trigger("make_journal_entry");
- }, __("Make"));
+ }, __('Create'));
}
- frm.page.set_inner_btn_group_as_primary(__("Make"));
+ frm.page.set_inner_btn_group_as_primary(__('Create'));
frm.trigger("setup_chart");
}
diff --git a/erpnext/buying/doctype/purchase_order/purchase_order.js b/erpnext/buying/doctype/purchase_order/purchase_order.js
index 019d0de..da7db42 100644
--- a/erpnext/buying/doctype/purchase_order/purchase_order.js
+++ b/erpnext/buying/doctype/purchase_order/purchase_order.js
@@ -119,7 +119,7 @@
if(doc.docstatus == 1 && doc.status != "Closed") {
if(flt(doc.per_received, 2) < 100 && allow_receipt) {
- cur_frm.add_custom_button(__('Receipt'), this.make_purchase_receipt, __("Make"));
+ cur_frm.add_custom_button(__('Receipt'), this.make_purchase_receipt, __('Create'));
if(doc.is_subcontracted==="Yes") {
cur_frm.add_custom_button(__('Material to Supplier'),
@@ -129,24 +129,24 @@
if(flt(doc.per_billed, 2) < 100)
cur_frm.add_custom_button(__('Invoice'),
- this.make_purchase_invoice, __("Make"));
+ this.make_purchase_invoice, __('Create'));
if(flt(doc.per_billed)==0 && doc.status != "Delivered") {
- cur_frm.add_custom_button(__('Payment'), cur_frm.cscript.make_payment_entry, __("Make"));
+ cur_frm.add_custom_button(__('Payment'), cur_frm.cscript.make_payment_entry, __('Create'));
}
if(!doc.auto_repeat) {
cur_frm.add_custom_button(__('Subscription'), function() {
erpnext.utils.make_subscription(doc.doctype, doc.name)
- }, __("Make"))
+ }, __('Create'))
}
if(flt(doc.per_billed)==0) {
this.frm.add_custom_button(__('Payment Request'),
- function() { me.make_payment_request() }, __("Make"));
+ function() { me.make_payment_request() }, __('Create'));
}
- cur_frm.page.set_inner_btn_group_as_primary(__("Make"));
+ cur_frm.page.set_inner_btn_group_as_primary(__('Create'));
}
},
diff --git a/erpnext/buying/doctype/request_for_quotation/request_for_quotation.js b/erpnext/buying/doctype/request_for_quotation/request_for_quotation.js
index 873d210..0052a53 100644
--- a/erpnext/buying/doctype/request_for_quotation/request_for_quotation.js
+++ b/erpnext/buying/doctype/request_for_quotation/request_for_quotation.js
@@ -31,7 +31,7 @@
refresh: function(frm, cdt, cdn) {
if (frm.doc.docstatus === 1) {
- frm.add_custom_button(__("Make"),
+ frm.add_custom_button(__('Create'),
function(){ frm.trigger("make_suppplier_quotation") }, __("Supplier Quotation"));
frm.add_custom_button(__("View"),
@@ -147,7 +147,7 @@
"fieldname": "supplier",
"options": doc.suppliers.map(d => d.supplier),
"reqd": 1 },
- { "fieldtype": "Button", "label": __("Make Supplier Quotation"),
+ { "fieldtype": "Button", "label": __('Create Supplier Quotation"),
"fieldname": "make_supplier_quotation", "cssClass": "btn-primary" },
]
});
diff --git a/erpnext/buying/doctype/supplier/supplier.js b/erpnext/buying/doctype/supplier/supplier.js
index be58df2..db6b8ca 100644
--- a/erpnext/buying/doctype/supplier/supplier.js
+++ b/erpnext/buying/doctype/supplier/supplier.js
@@ -47,11 +47,11 @@
frm.add_custom_button(__('Bank Account'), function () {
erpnext.utils.make_bank_account(frm.doc.doctype, frm.doc.name);
- }, __("Make"));
+ }, __('Create'));
frm.add_custom_button(__('Pricing Rule'), function () {
erpnext.utils.make_pricing_rule(frm.doc.doctype, frm.doc.name);
- }, __("Make"));
+ }, __('Create'));
// indicators
erpnext.utils.set_party_dashboard_indicators(frm);
diff --git a/erpnext/buying/doctype/supplier_quotation/supplier_quotation.js b/erpnext/buying/doctype/supplier_quotation/supplier_quotation.js
index 1b4ce6a..39042b8 100644
--- a/erpnext/buying/doctype/supplier_quotation/supplier_quotation.js
+++ b/erpnext/buying/doctype/supplier_quotation/supplier_quotation.js
@@ -18,15 +18,15 @@
this._super();
if (this.frm.doc.docstatus === 1) {
cur_frm.add_custom_button(__("Purchase Order"), this.make_purchase_order,
- __("Make"));
- cur_frm.page.set_inner_btn_group_as_primary(__("Make"));
+ __('Create'));
+ cur_frm.page.set_inner_btn_group_as_primary(__('Create'));
cur_frm.add_custom_button(__("Quotation"), this.make_quotation,
- __("Make"));
-
- if(!this.frm.doc.auto_repeat) {
+ __('Create'));
+
+ if(!this.frm.doc.auto_repeat) {
cur_frm.add_custom_button(__('Subscription'), function() {
erpnext.utils.make_subscription(me.frm.doc.doctype, me.frm.doc.name)
- }, __("Make"))
+ }, __('Create'))
}
}
else if (this.frm.doc.docstatus===0) {
diff --git a/erpnext/config/accounts.py b/erpnext/config/accounts.py
index 15996c3..855b877 100644
--- a/erpnext/config/accounts.py
+++ b/erpnext/config/accounts.py
@@ -242,7 +242,7 @@
{
"type": "doctype",
"name": "Opening Invoice Creation Tool",
- "description": _("Make Opening Sales and Purchase Invoices")
+ "description": _("Create Opening Sales and Purchase Invoices")
},
]
},
diff --git a/erpnext/crm/doctype/lead/lead.js b/erpnext/crm/doctype/lead/lead.js
index 1af4550..208b1f5 100644
--- a/erpnext/crm/doctype/lead/lead.js
+++ b/erpnext/crm/doctype/lead/lead.js
@@ -30,9 +30,9 @@
frappe.dynamic_link = {doc: doc, fieldname: 'name', doctype: 'Lead'}
if(!doc.__islocal && doc.__onload && !doc.__onload.is_customer) {
- this.frm.add_custom_button(__("Customer"), this.create_customer, __("Make"));
- this.frm.add_custom_button(__("Opportunity"), this.create_opportunity, __("Make"));
- this.frm.add_custom_button(__("Quotation"), this.make_quotation, __("Make"));
+ this.frm.add_custom_button(__("Customer"), this.create_customer, __('Create'));
+ this.frm.add_custom_button(__("Opportunity"), this.create_opportunity, __('Create'));
+ this.frm.add_custom_button(__("Quotation"), this.make_quotation, __('Create'));
}
if(!this.frm.doc.__islocal) {
diff --git a/erpnext/crm/doctype/opportunity/opportunity.js b/erpnext/crm/doctype/opportunity/opportunity.js
index abe560b..b80e8a1 100644
--- a/erpnext/crm/doctype/opportunity/opportunity.js
+++ b/erpnext/crm/doctype/opportunity/opportunity.js
@@ -47,11 +47,11 @@
frm.add_custom_button(__('Supplier Quotation'),
function() {
frm.trigger("make_supplier_quotation")
- }, __("Make"));
+ }, __('Create'));
}
frm.add_custom_button(__('Quotation'),
- cur_frm.cscript.create_quotation, __("Make"));
+ cur_frm.cscript.create_quotation, __('Create'));
if(doc.status!=="Quotation") {
frm.add_custom_button(__('Lost'),
diff --git a/erpnext/education/doctype/fee_structure/fee_structure.js b/erpnext/education/doctype/fee_structure/fee_structure.js
index 812456c..7606565 100644
--- a/erpnext/education/doctype/fee_structure/fee_structure.js
+++ b/erpnext/education/doctype/fee_structure/fee_structure.js
@@ -31,7 +31,7 @@
refresh: function(frm) {
if(frm.doc.docstatus === 1) {
- frm.add_custom_button(__("Make Fee Schedule"), function() {
+ frm.add_custom_button(__('Create Fee Schedule'), function() {
frm.events.make_fee_schedule(frm);
});
}
diff --git a/erpnext/education/doctype/fees/fees.js b/erpnext/education/doctype/fees/fees.js
index 7346a8d..e2c6f1d 100644
--- a/erpnext/education/doctype/fees/fees.js
+++ b/erpnext/education/doctype/fees/fees.js
@@ -73,14 +73,14 @@
if(frm.doc.docstatus===1 && frm.doc.outstanding_amount>0) {
frm.add_custom_button(__("Payment Request"), function() {
frm.events.make_payment_request(frm);
- }, __("Make"));
- frm.page.set_inner_btn_group_as_primary(__("Make"));
+ }, __('Create'));
+ frm.page.set_inner_btn_group_as_primary(__('Create'));
}
if(frm.doc.docstatus===1 && frm.doc.outstanding_amount!=0) {
frm.add_custom_button(__("Payment"), function() {
frm.events.make_payment_entry(frm);
- }, __("Make"));
- frm.page.set_inner_btn_group_as_primary(__("Make"));
+ }, __('Create'));
+ frm.page.set_inner_btn_group_as_primary(__('Create'));
}
},
diff --git a/erpnext/hotels/doctype/hotel_room_reservation/hotel_room_reservation.js b/erpnext/hotels/doctype/hotel_room_reservation/hotel_room_reservation.js
index 2c9fd7b..e58d763 100644
--- a/erpnext/hotels/doctype/hotel_room_reservation/hotel_room_reservation.js
+++ b/erpnext/hotels/doctype/hotel_room_reservation/hotel_room_reservation.js
@@ -4,7 +4,7 @@
frappe.ui.form.on('Hotel Room Reservation', {
refresh: function(frm) {
if(frm.doc.docstatus == 1){
- frm.add_custom_button(__("Make Invoice"), ()=> {
+ frm.add_custom_button(__('Create Invoice'), ()=> {
frm.trigger("make_invoice");
});
}
diff --git a/erpnext/hr/doctype/employee_advance/employee_advance.js b/erpnext/hr/doctype/employee_advance/employee_advance.js
index c73df62..af7205b 100644
--- a/erpnext/hr/doctype/employee_advance/employee_advance.js
+++ b/erpnext/hr/doctype/employee_advance/employee_advance.js
@@ -31,7 +31,7 @@
&& (flt(frm.doc.paid_amount) < flt(frm.doc.advance_amount))
&& frappe.model.can_create("Payment Entry")) {
frm.add_custom_button(__('Payment'),
- function() { frm.events.make_payment_entry(frm); }, __("Make"));
+ function() { frm.events.make_payment_entry(frm); }, __('Create'));
}
else if (
frm.doc.docstatus === 1
@@ -43,7 +43,7 @@
function() {
frm.events.make_expense_claim(frm);
},
- __("Make")
+ __('Create')
);
}
},
diff --git a/erpnext/hr/doctype/employee_loan/employee_loan.js b/erpnext/hr/doctype/employee_loan/employee_loan.js
index e089e29..c948be1 100644
--- a/erpnext/hr/doctype/employee_loan/employee_loan.js
+++ b/erpnext/hr/doctype/employee_loan/employee_loan.js
@@ -46,7 +46,7 @@
refresh: function (frm) {
if (frm.doc.docstatus == 1 && (frm.doc.status == "Sanctioned" || frm.doc.status == "Partially Disbursed")) {
- frm.add_custom_button(__('Make Disbursement Entry'), function () {
+ frm.add_custom_button(__('Create Disbursement Entry'), function () {
frm.trigger("make_jv");
})
}
diff --git a/erpnext/hr/doctype/employee_onboarding/employee_onboarding.js b/erpnext/hr/doctype/employee_onboarding/employee_onboarding.js
index 0861588..ce23575 100644
--- a/erpnext/hr/doctype/employee_onboarding/employee_onboarding.js
+++ b/erpnext/hr/doctype/employee_onboarding/employee_onboarding.js
@@ -29,8 +29,8 @@
method: "erpnext.hr.doctype.employee_onboarding.employee_onboarding.make_employee",
frm: frm
});
- }, __("Make"));
- frm.page.set_inner_btn_group_as_primary(__("Make"));
+ }, __('Create'));
+ frm.page.set_inner_btn_group_as_primary(__('Create'));
}
if (frm.doc.docstatus === 1 && frm.doc.project) {
frappe.call({
diff --git a/erpnext/hr/doctype/expense_claim/expense_claim.js b/erpnext/hr/doctype/expense_claim/expense_claim.js
index 6bdab61..1aeb8a6 100644
--- a/erpnext/hr/doctype/expense_claim/expense_claim.js
+++ b/erpnext/hr/doctype/expense_claim/expense_claim.js
@@ -192,7 +192,7 @@
&& (cint(frm.doc.total_amount_reimbursed) < cint(frm.doc.total_sanctioned_amount))
&& frappe.model.can_create("Payment Entry")) {
frm.add_custom_button(__('Payment'),
- function() { frm.events.make_payment_entry(frm); }, __("Make"));
+ function() { frm.events.make_payment_entry(frm); }, __('Create'));
}
},
diff --git a/erpnext/hr/doctype/job_offer/job_offer.js b/erpnext/hr/doctype/job_offer/job_offer.js
index 4217a78..1ee35af 100755
--- a/erpnext/hr/doctype/job_offer/job_offer.js
+++ b/erpnext/hr/doctype/job_offer/job_offer.js
@@ -15,7 +15,7 @@
refresh: function (frm) {
if ((!frm.doc.__islocal) && (frm.doc.status == 'Accepted')
&& (frm.doc.docstatus === 1) && (!frm.doc.__onload || !frm.doc.__onload.employee)) {
- frm.add_custom_button(__('Make Employee'),
+ frm.add_custom_button(__('Create Employee'),
function () {
erpnext.job_offer.make_employee(frm);
}
diff --git a/erpnext/hr/doctype/loan/loan.js b/erpnext/hr/doctype/loan/loan.js
index b401324..7140bea 100644
--- a/erpnext/hr/doctype/loan/loan.js
+++ b/erpnext/hr/doctype/loan/loan.js
@@ -40,7 +40,7 @@
refresh: function (frm) {
if (frm.doc.docstatus == 1 && frm.doc.status == "Sanctioned") {
- frm.add_custom_button(__('Make Disbursement Entry'), function() {
+ frm.add_custom_button(__('Create Disbursement Entry'), function() {
frm.trigger("make_jv");
})
}
@@ -54,7 +54,7 @@
frm.set_value("total_amount_paid", total_amount_paid);
; }
if (frm.doc.docstatus == 1 && frm.doc.repayment_start_date && (frm.doc.applicant_type == 'Member' || frm.doc.repay_from_salary == 0)) {
- frm.add_custom_button(__('Make Repayment Entry'), function() {
+ frm.add_custom_button(__('Create Repayment Entry'), function() {
frm.trigger("make_repayment_entry");
})
}
@@ -146,7 +146,7 @@
'payment_date': payment.payment_date,
'principal_amount': payment.principal_amount,
'interest_amount': payment.interest_amount,
- 'total_payment': payment.total_payment
+ 'total_payment': payment.total_payment
});
dialog.fields_dict.payments.grid.refresh();
$(dialog.wrapper.find(".grid-buttons")).hide();
@@ -157,7 +157,7 @@
}
dialog.show()
- dialog.set_primary_action(__('Make Repayment Entry'), function() {
+ dialog.set_primary_action(__('Create Repayment Entry'), function() {
frm.values = dialog.get_values();
if(frm.values) {
_make_repayment_entry(frm, dialog.fields_dict.payments.grid.get_selected_children());
diff --git a/erpnext/hr/doctype/vehicle_log/vehicle_log.js b/erpnext/hr/doctype/vehicle_log/vehicle_log.js
index e8c6b7e..7694cfe 100644
--- a/erpnext/hr/doctype/vehicle_log/vehicle_log.js
+++ b/erpnext/hr/doctype/vehicle_log/vehicle_log.js
@@ -20,8 +20,8 @@
if(frm.doc.docstatus == 1) {
frm.add_custom_button(__('Expense Claim'), function() {
frm.events.expense_claim(frm)
- }, __("Make"));
- frm.page.set_inner_btn_group_as_primary(__("Make"));
+ }, __('Create'));
+ frm.page.set_inner_btn_group_as_primary(__('Create'));
}
},
diff --git a/erpnext/hr/report/vehicle_expenses/vehicle_expenses.py b/erpnext/hr/report/vehicle_expenses/vehicle_expenses.py
index 62b70bf..e2989e2 100644
--- a/erpnext/hr/report/vehicle_expenses/vehicle_expenses.py
+++ b/erpnext/hr/report/vehicle_expenses/vehicle_expenses.py
@@ -19,7 +19,7 @@
return columns, data, None, chart
def get_columns():
- columns = [_("License") + ":Link/Vehicle:100", _("Make") + ":data:50",
+ columns = [_("License") + ":Link/Vehicle:100", _('Create') + ":data:50",
_("Model") + ":data:50", _("Location") + ":data:100",
_("Log") + ":Link/Vehicle Log:100", _("Odometer") + ":Int:80",
_("Date") + ":Date:100", _("Fuel Qty") + ":Float:80",
diff --git a/erpnext/maintenance/doctype/maintenance_schedule/maintenance_schedule.js b/erpnext/maintenance/doctype/maintenance_schedule/maintenance_schedule.js
index de7cd8c..79f9e63 100644
--- a/erpnext/maintenance/doctype/maintenance_schedule/maintenance_schedule.js
+++ b/erpnext/maintenance/doctype/maintenance_schedule/maintenance_schedule.js
@@ -44,13 +44,13 @@
});
}, __("Get items from"));
} else if (this.frm.doc.docstatus === 1) {
- this.frm.add_custom_button(__("Make Maintenance Visit"), function() {
+ this.frm.add_custom_button(__('Create Maintenance Visit'), function() {
frappe.model.open_mapped_doc({
method: "erpnext.maintenance.doctype.maintenance_schedule.maintenance_schedule.make_maintenance_visit",
source_name: me.frm.doc.name,
frm: me.frm
- })
- }, __("Make"));
+ });
+ }, __('Create'));
}
},
diff --git a/erpnext/manufacturing/doctype/production_plan/production_plan.js b/erpnext/manufacturing/doctype/production_plan/production_plan.js
index dbbf3d3..ad3c0f1 100644
--- a/erpnext/manufacturing/doctype/production_plan/production_plan.js
+++ b/erpnext/manufacturing/doctype/production_plan/production_plan.js
@@ -39,14 +39,14 @@
&& frm.doc.status != 'Completed') {
frm.add_custom_button(__("Work Order"), ()=> {
frm.trigger("make_work_order");
- }, __("Make"));
+ }, __('Create'));
}
if (frm.doc.docstatus === 1 && frm.doc.mr_items
&& !in_list(['Material Requested', 'Completed'], frm.doc.status)) {
frm.add_custom_button(__("Material Request"), ()=> {
frm.trigger("make_material_request");
- }, __("Make"));
+ }, __('Create'));
}
frm.trigger("material_requirement");
diff --git a/erpnext/manufacturing/doctype/work_order/work_order.js b/erpnext/manufacturing/doctype/work_order/work_order.js
index e85b0a5..a0e2ec6 100644
--- a/erpnext/manufacturing/doctype/work_order/work_order.js
+++ b/erpnext/manufacturing/doctype/work_order/work_order.js
@@ -114,8 +114,8 @@
if (frm.doc.docstatus === 1 && frm.doc.operations
&& frm.doc.qty != frm.doc.material_transferred_for_manufacturing) {
- frm.add_custom_button(__('Make Job Card'), () => {
- frm.trigger("make_job_card")
+ frm.add_custom_button(__('Create Job Card'), () => {
+ frm.trigger("make_job_card");
}).addClass('btn-primary');
}
@@ -139,7 +139,7 @@
if (frm.doc.status == "Completed" &&
frm.doc.__onload.backflush_raw_materials_based_on == "Material Transferred for Manufacture") {
- frm.add_custom_button(__("Make BOM"), () => {
+ frm.add_custom_button(__('Create BOM"), () => {
frm.trigger("make_bom");
});
}
@@ -546,7 +546,7 @@
frappe.set_route("Form", doclist[0].doctype, doclist[0].name);
}
});
- }, __("Select Quantity"), __("Make"));
+ }, __("Select Quantity"), __('Create'));
},
make_consumption_se: function(frm, backflush_raw_materials_based_on) {
diff --git a/erpnext/projects/doctype/timesheet/timesheet.js b/erpnext/projects/doctype/timesheet/timesheet.js
index e890bef..1f06069 100644
--- a/erpnext/projects/doctype/timesheet/timesheet.js
+++ b/erpnext/projects/doctype/timesheet/timesheet.js
@@ -41,12 +41,12 @@
refresh: function(frm) {
if(frm.doc.docstatus==1) {
if(frm.doc.per_billed < 100 && frm.doc.total_billable_hours && frm.doc.total_billable_hours > frm.doc.total_billed_hours){
- frm.add_custom_button(__("Make Sales Invoice"), function() { frm.trigger("make_invoice") },
+ frm.add_custom_button(__('Create Sales Invoice'), function() { frm.trigger("make_invoice") },
"fa fa-file-alt");
}
if(!frm.doc.salary_slip && frm.doc.employee){
- frm.add_custom_button(__("Make Salary Slip"), function() { frm.trigger("make_salary_slip") },
+ frm.add_custom_button(__('Create Salary Slip'), function() { frm.trigger("make_salary_slip") },
"fa fa-file-alt");
}
}
@@ -106,7 +106,7 @@
]
});
- dialog.set_primary_action(__("Make Sales Invoice"), () => {
+ dialog.set_primary_action(__('Create Sales Invoice"), () => {
var args = dialog.get_values();
if(!args) return;
dialog.hide();
diff --git a/erpnext/public/js/communication.js b/erpnext/public/js/communication.js
index e85107e..49701b8 100644
--- a/erpnext/public/js/communication.js
+++ b/erpnext/public/js/communication.js
@@ -21,13 +21,13 @@
frappe.confirm(__(confirm_msg, [__("Lead")]), () => {
frm.trigger('make_lead_from_communication');
})
- }, __("Make"));
+ }, __('Create'));
frm.add_custom_button(__("Opportunity"), () => {
frappe.confirm(__(confirm_msg, [__("Opportunity")]), () => {
frm.trigger('make_opportunity_from_communication');
})
- }, __("Make"));
+ }, __('Create'));
}
},
diff --git a/erpnext/selling/doctype/customer/customer.js b/erpnext/selling/doctype/customer/customer.js
index d687c85..8fde81b 100644
--- a/erpnext/selling/doctype/customer/customer.js
+++ b/erpnext/selling/doctype/customer/customer.js
@@ -108,7 +108,7 @@
frm.add_custom_button(__('Pricing Rule'), function () {
erpnext.utils.make_pricing_rule(frm.doc.doctype, frm.doc.name);
- }, __("Make"));
+ }, __('Create'));
// indicator
erpnext.utils.set_party_dashboard_indicators(frm);
diff --git a/erpnext/selling/doctype/quotation/quotation.js b/erpnext/selling/doctype/quotation/quotation.js
index 6f7bfb3..a8e4847 100644
--- a/erpnext/selling/doctype/quotation/quotation.js
+++ b/erpnext/selling/doctype/quotation/quotation.js
@@ -52,7 +52,7 @@
if(doc.docstatus == 1 && doc.status!=='Lost') {
if(!doc.valid_till || frappe.datetime.get_diff(doc.valid_till, frappe.datetime.get_today()) > 0) {
cur_frm.add_custom_button(__('Sales Order'),
- cur_frm.cscript['Make Sales Order'], __("Make"));
+ cur_frm.cscript['Make Sales Order'], __('Create'));
}
if(doc.status!=="Ordered") {
@@ -63,10 +63,10 @@
if(!doc.auto_repeat) {
cur_frm.add_custom_button(__('Subscription'), function() {
erpnext.utils.make_subscription(doc.doctype, doc.name)
- }, __("Make"))
+ }, __('Create'))
}
- cur_frm.page.set_inner_btn_group_as_primary(__("Make"));
+ cur_frm.page.set_inner_btn_group_as_primary(__('Create'));
}
if (this.frm.doc.docstatus===0) {
diff --git a/erpnext/selling/doctype/sales_order/sales_order.js b/erpnext/selling/doctype/sales_order/sales_order.js
index 54d7654..0592740 100644
--- a/erpnext/selling/doctype/sales_order/sales_order.js
+++ b/erpnext/selling/doctype/sales_order/sales_order.js
@@ -132,61 +132,61 @@
// delivery note
if(flt(doc.per_delivered, 6) < 100 && ["Sales", "Shopping Cart"].indexOf(doc.order_type)!==-1 && allow_delivery) {
this.frm.add_custom_button(__('Delivery'),
- function() { me.make_delivery_note_based_on_delivery_date(); }, __("Make"));
+ function() { me.make_delivery_note_based_on_delivery_date(); }, __('Create'));
this.frm.add_custom_button(__('Work Order'),
- function() { me.make_work_order() }, __("Make"));
+ function() { me.make_work_order() }, __('Create'));
- this.frm.page.set_inner_btn_group_as_primary(__("Make"));
+ this.frm.page.set_inner_btn_group_as_primary(__('Create'));
}
// sales invoice
if(flt(doc.per_billed, 6) < 100) {
this.frm.add_custom_button(__('Invoice'),
- function() { me.make_sales_invoice() }, __("Make"));
+ function() { me.make_sales_invoice() }, __('Create'));
}
// material request
if(!doc.order_type || ["Sales", "Shopping Cart"].indexOf(doc.order_type)!==-1
&& flt(doc.per_delivered, 6) < 100) {
this.frm.add_custom_button(__('Material Request'),
- function() { me.make_material_request() }, __("Make"));
+ function() { me.make_material_request() }, __('Create'));
this.frm.add_custom_button(__('Request for Raw Materials'),
- function() { me.make_raw_material_request() }, __("Make"));
+ function() { me.make_raw_material_request() }, __('Create'));
}
// make purchase order
if(flt(doc.per_delivered, 6) < 100 && allow_purchase) {
this.frm.add_custom_button(__('Purchase Order'),
- function() { me.make_purchase_order() }, __("Make"));
+ function() { me.make_purchase_order() }, __('Create'));
}
// payment request
if(flt(doc.per_billed)==0) {
this.frm.add_custom_button(__('Payment Request'),
- function() { me.make_payment_request() }, __("Make"));
+ function() { me.make_payment_request() }, __('Create'));
this.frm.add_custom_button(__('Payment'),
- function() { me.make_payment_entry() }, __("Make"));
+ function() { me.make_payment_entry() }, __('Create'));
}
// maintenance
if(flt(doc.per_delivered, 2) < 100 &&
["Sales", "Shopping Cart"].indexOf(doc.order_type)===-1) {
this.frm.add_custom_button(__('Maintenance Visit'),
- function() { me.make_maintenance_visit() }, __("Make"));
+ function() { me.make_maintenance_visit() }, __('Create'));
this.frm.add_custom_button(__('Maintenance Schedule'),
- function() { me.make_maintenance_schedule() }, __("Make"));
+ function() { me.make_maintenance_schedule() }, __('Create'));
}
// project
if(flt(doc.per_delivered, 2) < 100 && ["Sales", "Shopping Cart"].indexOf(doc.order_type)!==-1 && allow_delivery) {
this.frm.add_custom_button(__('Project'),
- function() { me.make_project() }, __("Make"));
+ function() { me.make_project() }, __('Create'));
}
if(!doc.auto_repeat) {
this.frm.add_custom_button(__('Subscription'), function() {
erpnext.utils.make_subscription(doc.doctype, doc.name)
- }, __("Make"))
+ }, __('Create'))
}
} else {
@@ -292,7 +292,7 @@
}
});
},
- primary_action_label: __('Make')
+ primary_action_label: __('Create')
});
d.show();
}
@@ -390,7 +390,7 @@
}
});
},
- primary_action_label: __('Make')
+ primary_action_label: __('Create')
});
d.show();
},
@@ -506,7 +506,7 @@
}
}},
- {"fieldtype": "Button", "label": __("Make Purchase Order"), "fieldname": "make_purchase_order", "cssClass": "btn-primary"},
+ {"fieldtype": "Button", "label": __('Create Purchase Order"), "fieldname": "make_purchase_order", "cssClass": "btn-primary"},
]
});
diff --git a/erpnext/setup/doctype/company/company.js b/erpnext/setup/doctype/company/company.js
index 16676ac..8a595b0 100644
--- a/erpnext/setup/doctype/company/company.js
+++ b/erpnext/setup/doctype/company/company.js
@@ -52,7 +52,7 @@
frm.toggle_enable("default_currency", (frm.doc.__onload &&
!frm.doc.__onload.transactions_exist));
- frm.add_custom_button(__('Make Tax Template'), function() {
+ frm.add_custom_button(__('Create Tax Template'), function() {
frm.trigger("make_default_tax_template");
});
@@ -74,7 +74,7 @@
frm.add_custom_button(__('Default Tax Template'), function() {
frm.trigger("make_default_tax_template");
- }, __("Make"));
+ }, __('Create'));
}
erpnext.company.set_chart_of_accounts_options(frm.doc);
diff --git a/erpnext/stock/doctype/delivery_note/delivery_note.js b/erpnext/stock/doctype/delivery_note/delivery_note.js
index f8a3497..4d719b2 100644
--- a/erpnext/stock/doctype/delivery_note/delivery_note.js
+++ b/erpnext/stock/doctype/delivery_note/delivery_note.js
@@ -104,16 +104,16 @@
if (!doc.is_return && doc.status!="Closed") {
if(flt(doc.per_installed, 2) < 100 && doc.docstatus==1)
this.frm.add_custom_button(__('Installation Note'), function() {
- me.make_installation_note() }, __("Make"));
+ me.make_installation_note() }, __('Create'));
if (doc.docstatus==1) {
this.frm.add_custom_button(__('Sales Return'), function() {
- me.make_sales_return() }, __("Make"));
+ me.make_sales_return() }, __('Create'));
}
if (doc.docstatus==1) {
this.frm.add_custom_button(__('Delivery Trip'), function() {
- me.make_delivery_trip() }, __("Make"));
+ me.make_delivery_trip() }, __('Create'));
}
if(doc.docstatus==0 && !doc.__islocal) {
@@ -121,11 +121,11 @@
frappe.model.open_mapped_doc({
method: "erpnext.stock.doctype.delivery_note.delivery_note.make_packing_slip",
frm: me.frm
- }) }, __("Make"));
+ }) }, __('Create'));
}
if (!doc.__islocal && doc.docstatus==1) {
- this.frm.page.set_inner_btn_group_as_primary(__("Make"));
+ this.frm.page.set_inner_btn_group_as_primary(__('Create'));
}
if (this.frm.doc.docstatus===0) {
@@ -170,7 +170,7 @@
if(!from_sales_invoice) {
this.frm.add_custom_button(__('Invoice'), function() { me.make_sales_invoice() },
- __("Make"));
+ __('Create'));
}
}
@@ -183,7 +183,7 @@
if(doc.docstatus==1 && !doc.is_return && !doc.auto_repeat) {
cur_frm.add_custom_button(__('Subscription'), function() {
erpnext.utils.make_subscription(doc.doctype, doc.name)
- }, __("Make"))
+ }, __('Create'))
}
},
diff --git a/erpnext/stock/doctype/item/item.js b/erpnext/stock/doctype/item/item.js
index 388b643..8016e7a 100644
--- a/erpnext/stock/doctype/item/item.js
+++ b/erpnext/stock/doctype/item/item.js
@@ -66,17 +66,17 @@
if(frm.doc.variant_based_on==="Item Attribute") {
frm.add_custom_button(__("Single Variant"), function() {
erpnext.item.show_single_variant_dialog(frm);
- }, __("Make"));
+ }, __('Create'));
frm.add_custom_button(__("Multiple Variants"), function() {
erpnext.item.show_multiple_variants_dialog(frm);
- }, __("Make"));
+ }, __('Create'));
} else {
frm.add_custom_button(__("Variant"), function() {
erpnext.item.show_modal_for_manufacturers(frm);
- }, __("Make"));
+ }, __('Create'));
}
- frm.page.set_inner_btn_group_as_primary(__("Make"));
+ frm.page.set_inner_btn_group_as_primary(__('Create'));
}
if (frm.doc.variant_of) {
frm.set_intro(__('This Item is a Variant of {0} (Template).',
@@ -372,7 +372,7 @@
]
});
- dialog.set_primary_action(__('Make'), function() {
+ dialog.set_primary_action(__('Create'), function() {
var data = dialog.get_values();
if(!data) return;
@@ -418,7 +418,7 @@
lengths.push(selected_attributes[key].length);
});
if(lengths.includes(0)) {
- me.multiple_variant_dialog.get_primary_btn().html(__("Make Variants"));
+ me.multiple_variant_dialog.get_primary_btn().html(__('Create Variants'));
me.multiple_variant_dialog.disable_primary_action();
} else {
let no_of_combinations = lengths.reduce((a, b) => a * b, 1);
@@ -449,7 +449,7 @@
].concat(fields)
});
- me.multiple_variant_dialog.set_primary_action(__("Make Variants"), () => {
+ me.multiple_variant_dialog.set_primary_action(__('Create Variants"), () => {
let selected_attributes = get_selected_attributes();
me.multiple_variant_dialog.hide();
@@ -581,11 +581,11 @@
}
var d = new frappe.ui.Dialog({
- title: __("Make Variant"),
+ title: __('Create Variant"),
fields: fields
});
- d.set_primary_action(__("Make"), function() {
+ d.set_primary_action(__('Create'), function() {
var args = d.get_values();
if(!args) return;
frappe.call({
diff --git a/erpnext/stock/doctype/material_request/material_request.js b/erpnext/stock/doctype/material_request/material_request.js
index 2b0ed38..4692f7c 100644
--- a/erpnext/stock/doctype/material_request/material_request.js
+++ b/erpnext/stock/doctype/material_request/material_request.js
@@ -53,35 +53,35 @@
// make
if (frm.doc.material_request_type === "Material Transfer") {
frm.add_custom_button(__("Transfer Material"),
- () => frm.events.make_stock_entry(frm), __("Make"));
+ () => frm.events.make_stock_entry(frm), __('Create'));
}
if (frm.doc.material_request_type === "Material Issue") {
frm.add_custom_button(__("Issue Material"),
- () => frm.events.make_stock_entry(frm), __("Make"));
+ () => frm.events.make_stock_entry(frm), __('Create'));
}
if (frm.doc.material_request_type === "Purchase") {
frm.add_custom_button(__('Purchase Order'),
- () => frm.events.make_purchase_order(frm), __("Make"));
+ () => frm.events.make_purchase_order(frm), __('Create'));
}
if (frm.doc.material_request_type === "Purchase") {
frm.add_custom_button(__("Request for Quotation"),
- () => frm.events.make_request_for_quotation(frm), __("Make"));
+ () => frm.events.make_request_for_quotation(frm), __('Create'));
}
if (frm.doc.material_request_type === "Purchase") {
frm.add_custom_button(__("Supplier Quotation"),
- () => frm.events.make_supplier_quotation(frm), __("Make"));
+ () => frm.events.make_supplier_quotation(frm), __('Create'));
}
if (frm.doc.material_request_type === "Manufacture") {
frm.add_custom_button(__("Work Order"),
- () => frm.events.raise_work_orders(frm), __("Make"));
+ () => frm.events.raise_work_orders(frm), __('Create'));
}
- frm.page.set_inner_btn_group_as_primary(__("Make"));
+ frm.page.set_inner_btn_group_as_primary(__('Create'));
// stop
frm.add_custom_button(__('Stop'),
diff --git a/erpnext/stock/doctype/purchase_receipt/purchase_receipt.js b/erpnext/stock/doctype/purchase_receipt/purchase_receipt.js
index 1d9eb99..a7fc845 100644
--- a/erpnext/stock/doctype/purchase_receipt/purchase_receipt.js
+++ b/erpnext/stock/doctype/purchase_receipt/purchase_receipt.js
@@ -101,20 +101,20 @@
cur_frm.add_custom_button(__("Close"), this.close_purchase_receipt, __("Status"))
}
- cur_frm.add_custom_button(__('Return'), this.make_purchase_return, __("Make"));
+ cur_frm.add_custom_button(__('Return'), this.make_purchase_return, __('Create'));
if(flt(this.frm.doc.per_billed) < 100) {
- cur_frm.add_custom_button(__('Invoice'), this.make_purchase_invoice, __("Make"));
+ cur_frm.add_custom_button(__('Invoice'), this.make_purchase_invoice, __('Create'));
}
- cur_frm.add_custom_button(__('Retention Stock Entry'), this.make_retention_stock_entry, __("Make"));
+ cur_frm.add_custom_button(__('Retention Stock Entry'), this.make_retention_stock_entry, __('Create'));
if(!this.frm.doc.auto_repeat) {
cur_frm.add_custom_button(__('Subscription'), function() {
erpnext.utils.make_subscription(me.frm.doc.doctype, me.frm.doc.name)
- }, __("Make"))
+ }, __('Create'))
}
- cur_frm.page.set_inner_btn_group_as_primary(__("Make"));
+ cur_frm.page.set_inner_btn_group_as_primary(__('Create'));
}
}
diff --git a/erpnext/stock/doctype/stock_entry/stock_entry.js b/erpnext/stock/doctype/stock_entry/stock_entry.js
index ccd5f36..6039939 100644
--- a/erpnext/stock/doctype/stock_entry/stock_entry.js
+++ b/erpnext/stock/doctype/stock_entry/stock_entry.js
@@ -95,7 +95,7 @@
refresh: function(frm) {
if(!frm.doc.docstatus) {
frm.trigger('validate_purpose_consumption');
- frm.add_custom_button(__('Make Material Request'), function() {
+ frm.add_custom_button(__('Create Material Request'), function() {
frappe.model.with_doctype('Material Request', function() {
var mr = frappe.model.get_new_doc('Material Request');
var items = frm.get_field('items').grid.get_selected_children();
@@ -184,7 +184,7 @@
}
if(frm.doc.docstatus==1 && frm.doc.purpose == "Material Receipt" && frm.get_sum('items', 'sample_quantity')) {
- frm.add_custom_button(__('Make Sample Retention Stock Entry'), function () {
+ frm.add_custom_button(__('Create Sample Retention Stock Entry'), function () {
frm.trigger("make_retention_stock_entry");
});
}
@@ -710,7 +710,7 @@
excise = locals['Journal Entry'][excise];
excise.voucher_type = 'Excise Entry';
frappe.set_route('Form', 'Journal Entry', excise.name);
- }, __("Make"));
+ }, __('Create'));
},
items_add: function(doc, cdt, cdn) {
diff --git a/erpnext/utilities/activation.py b/erpnext/utilities/activation.py
index 8ad042b..fbab65c 100644
--- a/erpnext/utilities/activation.py
+++ b/erpnext/utilities/activation.py
@@ -62,7 +62,7 @@
doctype='Lead',
title=_('Create Leads'),
description=_('Leads help you get business, add all your contacts and more as your leads'),
- action=_('Make Lead'),
+ action=_('Create Lead'),
route='List/Lead',
domain=('Manufacturing', 'Retail', 'Services', 'Distribution'),
target=3
@@ -71,7 +71,7 @@
doctype='Quotation',
title=_('Create customer quotes'),
description=_('Quotations are proposals, bids you have sent to your customers'),
- action=_('Make Quotation'),
+ action=_('Create Quotation'),
route='List/Quotation',
domain=('Manufacturing', 'Retail', 'Services', 'Distribution'),
target=3
@@ -79,8 +79,8 @@
frappe._dict(
doctype='Sales Order',
title=_('Manage your orders'),
- description=_('Make Sales Orders to help you plan your work and deliver on-time'),
- action=_('Make Sales Order'),
+ description=_('Create Sales Orders to help you plan your work and deliver on-time'),
+ action=_('Create Sales Order'),
route='List/Sales Order',
domain=('Manufacturing', 'Retail', 'Services', 'Distribution'),
target=3
@@ -89,7 +89,7 @@
doctype='Purchase Order',
title=_('Create Purchase Orders'),
description=_('Purchase orders help you plan and follow up on your purchases'),
- action=_('Make Purchase Order'),
+ action=_('Create Purchase Order'),
route='List/Purchase Order',
domain=('Manufacturing', 'Retail', 'Services', 'Distribution'),
target=3
@@ -98,7 +98,7 @@
doctype='User',
title=_('Create Users'),
description=_('Add the rest of your organization as your users. You can also add invite Customers to your portal by adding them from Contacts'),
- action=_('Make User'),
+ action=_('Create User'),
route='List/User',
domain=('Manufacturing', 'Retail', 'Services', 'Distribution'),
target=3
@@ -107,7 +107,7 @@
doctype='Timesheet',
title=_('Add Timesheets'),
description=_('Timesheets help keep track of time, cost and billing for activites done by your team'),
- action=_('Make Timesheet'),
+ action=_('Create Timesheet'),
route='List/Timesheet',
domain=('Services',),
target=5
@@ -116,7 +116,7 @@
doctype='Student',
title=_('Add Students'),
description=_('Students are at the heart of the system, add all your students'),
- action=_('Make Student'),
+ action=_('Create Student'),
route='List/Student',
domain=('Education',),
target=5
@@ -125,7 +125,7 @@
doctype='Student Batch',
title=_('Group your students in batches'),
description=_('Student Batches help you track attendance, assessments and fees for students'),
- action=_('Make Student Batch'),
+ action=_('Create Student Batch'),
route='List/Student Batch',
domain=('Education',),
target=3
@@ -134,7 +134,7 @@
doctype='Employee',
title=_('Create Employee Records'),
description=_('Create Employee records to manage leaves, expense claims and payroll'),
- action=_('Make Employee'),
+ action=_('Create Employee'),
route='List/Employee',
target=3
)