chore: PR ref in SCR connections
This commit is contained in:
parent
500573067a
commit
096a2c8cd0
@ -11,6 +11,10 @@ frappe.ui.form.on('Subcontracting Receipt', {
|
||||
frm.get_field('supplied_items').grid.cannot_add_rows = true;
|
||||
frm.get_field('supplied_items').grid.only_sortable();
|
||||
frm.trigger('set_queries');
|
||||
|
||||
frm.custom_make_buttons = {
|
||||
'Purchase Receipt': 'Purchase Receipt',
|
||||
}
|
||||
},
|
||||
|
||||
on_submit(frm) {
|
||||
|
@ -16,7 +16,13 @@ def get_data():
|
||||
"transactions": [
|
||||
{
|
||||
"label": _("Reference"),
|
||||
"items": ["Subcontracting Order", "Purchase Order", "Quality Inspection", "Project"],
|
||||
"items": [
|
||||
"Purchase Order",
|
||||
"Purchase Receipt",
|
||||
"Subcontracting Order",
|
||||
"Quality Inspection",
|
||||
"Project",
|
||||
],
|
||||
},
|
||||
{"label": _("Returns"), "items": ["Subcontracting Receipt"]},
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user