diff --git a/addons/point_of_sale/static/src/js/Screens/ClientListScreen/ClientDetailsEdit.js b/addons/point_of_sale/static/src/js/Screens/ClientListScreen/ClientDetailsEdit.js index ff664f162e5..3984b2483e9 100644 --- a/addons/point_of_sale/static/src/js/Screens/ClientListScreen/ClientDetailsEdit.js +++ b/addons/point_of_sale/static/src/js/Screens/ClientListScreen/ClientDetailsEdit.js @@ -10,7 +10,11 @@ odoo.define('point_of_sale.ClientDetailsEdit', function(require) { constructor() { super(...arguments); this.intFields = ['country_id', 'state_id', 'property_product_pricelist']; - this.changes = {}; + const partner = this.props.partner; + this.changes = { + 'country_id': partner.country_id && partner.country_id[0], + 'state_id': partner.state_id && partner.state_id[0], + }; } mounted() { this.env.bus.on('save-customer', this, this.saveChanges);