Skip to content

Commit

Permalink
Merge pull request frappe#31899 from s-aga-r/subcontracting-receipt/r…
Browse files Browse the repository at this point in the history
…eposting

fix: repost item valuation for subcontracting receipt
  • Loading branch information
s-aga-r authored Aug 19, 2022
2 parents 1d28ea5 + f92f3e0 commit 3b51874
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ frappe.ui.form.on('Repost Item Valuation', {
return {
filters: {
name: ['in', ['Purchase Receipt', 'Purchase Invoice', 'Delivery Note',
'Sales Invoice', 'Stock Entry', 'Stock Reconciliation']]
'Sales Invoice', 'Stock Entry', 'Stock Reconciliation', 'Subcontracting Receipt']]
}
};
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"company",
"posting_date",
"posting_time",
"set_posting_time",
"is_return",
"return_against",
"accounting_dimensions_section",
Expand Down Expand Up @@ -138,6 +139,7 @@
"label": "Date",
"no_copy": 1,
"print_width": "100px",
"read_only_depends_on": "eval: !doc.set_posting_time",
"reqd": 1,
"search_index": 1,
"width": "100px"
Expand All @@ -150,6 +152,7 @@
"no_copy": 1,
"print_hide": 1,
"print_width": "100px",
"read_only_depends_on": "eval: !doc.set_posting_time",
"reqd": 1,
"width": "100px"
},
Expand Down Expand Up @@ -612,11 +615,19 @@
"label": "Total Additional Costs",
"print_hide_if_no_value": 1,
"read_only": 1
},
{
"default": "0",
"depends_on": "eval:doc.docstatus==0",
"fieldname": "set_posting_time",
"fieldtype": "Check",
"label": "Edit Posting Date and Time",
"print_hide": 1
}
],
"is_submittable": 1,
"links": [],
"modified": "2022-08-18 15:48:57.419191",
"modified": "2022-08-19 19:50:16.935124",
"modified_by": "Administrator",
"module": "Subcontracting",
"name": "Subcontracting Receipt",
Expand Down

0 comments on commit 3b51874

Please sign in to comment.