fix: update_dimension is required and not need party account method

(cherry picked from commit e6949d71f628a15ea87ee143d09dce47b66f0e02)
This commit is contained in:
kunhi 2024-02-13 22:49:39 +04:00 committed by Mergify
parent bef38f74fe
commit a56d5b805c

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();