Merge pull request #41492 from ruthra-kumar/reconciliation_on_advance_payment_date

refactor: For advances booked in Separate account, reconciliation date can be configured
This commit is contained in:
ruthra kumar
2024-05-20 14:58:58 +05:30
committed by GitHub
5 changed files with 82 additions and 8 deletions

View File

@@ -67,6 +67,7 @@
"default_finance_book",
"advance_payments_section",
"book_advance_payments_in_separate_party_account",
"reconcile_on_advance_payment_date",
"column_break_fwcf",
"default_advance_received_account",
"default_advance_paid_account",
@@ -763,6 +764,14 @@
"fieldtype": "Tab Break",
"label": "Dashboard",
"show_dashboard": 1
},
{
"default": "0",
"depends_on": "eval: doc.book_advance_payments_in_separate_party_account",
"description": "If <b>Enabled</b> - Reconciliation happens on the <b>Advance Payment posting date</b><br>\nIf <b>Disabled</b> - Reconciliation happens on oldest of 2 Dates: <b>Invoice Date</b> or the <b>Advance Payment posting date</b><br>\n",
"fieldname": "reconcile_on_advance_payment_date",
"fieldtype": "Check",
"label": "Reconcile on Advance Payment Date"
}
],
"icon": "fa fa-building",
@@ -770,7 +779,7 @@
"image_field": "company_logo",
"is_tree": 1,
"links": [],
"modified": "2024-04-23 12:38:33.173938",
"modified": "2024-05-16 12:39:54.694232",
"modified_by": "Administrator",
"module": "Setup",
"name": "Company",

View File

@@ -85,6 +85,7 @@ class Company(NestedSet):
parent_company: DF.Link | None
payment_terms: DF.Link | None
phone_no: DF.Data | None
reconcile_on_advance_payment_date: DF.Check
registration_details: DF.Code | None
rgt: DF.Int
round_off_account: DF.Link | None