From 64bb43468f5381d9c4a302716f44a5043aa5cb17 Mon Sep 17 00:00:00 2001
From: "Gauthier Wala (gawa)" <gawa@odoo.com>
Date: Wed, 23 Aug 2023 11:56:07 +0000
Subject: [PATCH] [FIX] l10n_cl: placeholder not working on res_partner

The overriding of the placeholder does not work.
It's done to be different than the standard translation (Ciudad).
Modified it to be standard way of overriding placeholders.
Linked to runbot error 6175

closes odoo/odoo#132893

X-original-commit: 7ae5aaccbb6bbaf14bab384d3cf733cd939fa210
Signed-off-by: Habib Ayob (ayh) <ayh@odoo.com>
Signed-off-by: Wala Gauthier (gawa) <gawa@odoo.com>
---
 addons/l10n_cl/views/res_partner.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/addons/l10n_cl/views/res_partner.xml b/addons/l10n_cl/views/res_partner.xml
index cc90f5eb6e9f..bd3f9064ef50 100644
--- a/addons/l10n_cl/views/res_partner.xml
+++ b/addons/l10n_cl/views/res_partner.xml
@@ -10,7 +10,7 @@
                 <attribute name="placeholder">Datos adic. dirección y Ciudad</attribute>
             </field>
             <field name="city" position="attributes">
-                <attribute name="attrs">{'placeholder': 'Comuna'}</attribute>
+                <attribute name="placeholder">Comuna</attribute>
             </field>
             <field name="state_id" position="attributes">
                 <attribute name="placeholder">Región</attribute>
-- 
GitLab