[IMP] point_of_sale saved_client_details method
closes odoo/odoo#26220 Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
This commit is contained in:
@@ -1247,7 +1247,7 @@ var ClientListScreenWidget = ScreenWidget.extend({
|
||||
// what happens when we've just pushed modifications for a partner of id partner_id
|
||||
saved_client_details: function(partner_id){
|
||||
var self = this;
|
||||
this.reload_partners().then(function(){
|
||||
return this.reload_partners().then(function(){
|
||||
var partner = self.pos.db.get_partner_by_id(partner_id);
|
||||
if (partner) {
|
||||
self.new_client = partner;
|
||||
|
||||
Reference in New Issue
Block a user