Skip to content

Commit

Permalink
fix(payout-order): make some field non-mandatory for app revenue sharing
Browse files Browse the repository at this point in the history
  • Loading branch information
BreadGenie committed Jul 2, 2024
1 parent b9a17fe commit 14d3906
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions press/press/doctype/payout_order_item/payout_order_item.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@
{
"fieldname": "rate",
"fieldtype": "Currency",
"label": "Rate",
"reqd": 1
"label": "Rate"
},
{
"fieldname": "currency",
Expand Down Expand Up @@ -119,14 +118,13 @@
"fieldname": "invoice_item",
"fieldtype": "Link",
"label": "Invoice Item",
"options": "Invoice Item",
"reqd": 1
"options": "Invoice Item"
}
],
"index_web_pages_for_search": 1,
"istable": 1,
"links": [],
"modified": "2022-10-31 00:19:23.739873",
"modified": "2024-07-02 21:52:59.852124",
"modified_by": "Administrator",
"module": "Press",
"name": "Payout Order Item",
Expand Down
2 changes: 1 addition & 1 deletion press/press/doctype/payout_order_item/payout_order_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class PayoutOrderItem(Document):
document_type: DF.Link
gateway_fee: DF.Currency
invoice: DF.Link
invoice_item: DF.Link
invoice_item: DF.Link | None
name: DF.Int | None
net_amount: DF.Currency
parent: DF.Data
Expand Down

0 comments on commit 14d3906

Please sign in to comment.