mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-17 00:18:39 +00:00
fix: make represents company field in purchase invoice ignore user permissions
(cherry picked from commit 6729a53fee)
# Conflicts:
# erpnext/accounts/doctype/purchase_invoice/purchase_invoice.json
This commit is contained in:
@@ -1397,8 +1397,10 @@
|
|||||||
"fetch_from": "supplier.represents_company",
|
"fetch_from": "supplier.represents_company",
|
||||||
"fieldname": "represents_company",
|
"fieldname": "represents_company",
|
||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
|
"ignore_user_permissions": 1,
|
||||||
"label": "Represents Company",
|
"label": "Represents Company",
|
||||||
"options": "Company"
|
"options": "Company",
|
||||||
|
"read_only": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"depends_on": "eval:doc.update_stock && doc.is_internal_supplier",
|
"depends_on": "eval:doc.update_stock && doc.is_internal_supplier",
|
||||||
@@ -1660,7 +1662,11 @@
|
|||||||
"idx": 204,
|
"idx": 204,
|
||||||
"is_submittable": 1,
|
"is_submittable": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
|
<<<<<<< HEAD
|
||||||
"modified": "2026-03-17 20:44:00.221219",
|
"modified": "2026-03-17 20:44:00.221219",
|
||||||
|
=======
|
||||||
|
"modified": "2026-07-12 23:54:21.263951",
|
||||||
|
>>>>>>> 6729a53fee (fix: make represents company field in purchase invoice ignore user permissions)
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Accounts",
|
"module": "Accounts",
|
||||||
"name": "Purchase Invoice",
|
"name": "Purchase Invoice",
|
||||||
|
|||||||
Reference in New Issue
Block a user