mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-30 23:18:02 +00:00
fix: cover manufacturing, logistics, asset and service doctypes
Extend company restriction enforcement to the remaining user-entered transactions (BOM, Work Order, Job Card, Production Plan, Pick List, Blanket Order, asset and maintenance documents). Ledger and repost doctypes stay excluded so cancelling or reposting older documents keeps working after a restriction changes.
This commit is contained in:
@@ -382,6 +382,19 @@ company_restricted_transaction_doctypes = [
|
||||
"Journal Entry",
|
||||
"Subcontracting Order",
|
||||
"Subcontracting Receipt",
|
||||
"BOM",
|
||||
"Work Order",
|
||||
"Job Card",
|
||||
"Production Plan",
|
||||
"Pick List",
|
||||
"Blanket Order",
|
||||
"Asset Capitalization",
|
||||
"Asset Repair",
|
||||
"Dunning",
|
||||
"Installation Note",
|
||||
"Maintenance Schedule",
|
||||
"Maintenance Visit",
|
||||
"Warranty Claim",
|
||||
]
|
||||
|
||||
doc_events = {
|
||||
|
||||
Reference in New Issue
Block a user