mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 06:29:20 +00:00
fix: add the company in payment request bcz delete company transactions
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
"failed_reason",
|
"failed_reason",
|
||||||
"column_break_2",
|
"column_break_2",
|
||||||
"naming_series",
|
"naming_series",
|
||||||
|
"company",
|
||||||
"mode_of_payment",
|
"mode_of_payment",
|
||||||
"party_details",
|
"party_details",
|
||||||
"party_type",
|
"party_type",
|
||||||
@@ -400,13 +401,20 @@
|
|||||||
"no_copy": 1,
|
"no_copy": 1,
|
||||||
"print_hide": 1,
|
"print_hide": 1,
|
||||||
"read_only": 1
|
"read_only": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "company",
|
||||||
|
"fieldtype": "Link",
|
||||||
|
"label": "Company",
|
||||||
|
"options": "Company",
|
||||||
|
"read_only": 1
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"in_create": 1,
|
"in_create": 1,
|
||||||
"index_web_pages_for_search": 1,
|
"index_web_pages_for_search": 1,
|
||||||
"is_submittable": 1,
|
"is_submittable": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2024-06-20 13:54:55.245774",
|
"modified": "2024-08-07 16:39:54.288002",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Accounts",
|
"module": "Accounts",
|
||||||
"name": "Payment Request",
|
"name": "Payment Request",
|
||||||
|
|||||||
@@ -85,6 +85,7 @@ class PaymentRequest(Document):
|
|||||||
subscription_plans: DF.Table[SubscriptionPlanDetail]
|
subscription_plans: DF.Table[SubscriptionPlanDetail]
|
||||||
swift_number: DF.ReadOnly | None
|
swift_number: DF.ReadOnly | None
|
||||||
transaction_date: DF.Date | None
|
transaction_date: DF.Date | None
|
||||||
|
company: DF.Link | None
|
||||||
# end: auto-generated types
|
# end: auto-generated types
|
||||||
|
|
||||||
def validate(self):
|
def validate(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user