[Fix] Rate not fetched in the POS, User trying to add an item in the cart before loading of frm
This commit is contained in:
parent
7d4fd35aa3
commit
f7a856b913
@ -49,11 +49,12 @@ erpnext.pos.PointOfSale = class PointOfSale {
|
|||||||
this.set_online_status();
|
this.set_online_status();
|
||||||
},
|
},
|
||||||
() => this.setup_pos_profile(),
|
() => this.setup_pos_profile(),
|
||||||
|
() => this.make_new_invoice(),
|
||||||
() => {
|
() => {
|
||||||
|
frappe.timeout(1);
|
||||||
this.make_items();
|
this.make_items();
|
||||||
this.bind_events();
|
this.bind_events();
|
||||||
},
|
},
|
||||||
() => this.make_new_invoice(),
|
|
||||||
() => this.page.set_title(__('Point of Sale'))
|
() => this.page.set_title(__('Point of Sale'))
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user