fix: update_dimension is required and not need party account method

This commit is contained in:
kunhi 2024-02-13 22:49:39 +04:00
parent e3bd8d10b0
commit e6949d71f6

View File

@ -13,6 +13,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();