fix: update_dimension is required and not need party account method

(cherry picked from commit e6949d71f6)
This commit is contained in:
kunhi
2024-02-13 22:49:39 +04:00
committed by Mergify
parent 45a0494318
commit 5eaa11b9e8

View File

@@ -10,6 +10,10 @@ erpnext.accounts.SalesInvoiceController = class SalesInvoiceController extends e
this.setup_posting_date_time_check();
super.setup(doc);
}
company() {
super.company();
erpnext.accounts.dimensions.update_dimension(this.frm, this.frm.doctype);
}
onload() {
var me = this;
super.onload();