Skip to content
Extraits de code Groupes Projets
Valider 9793c3b4 rédigé par Rémi - Le Filament's avatar Rémi - Le Filament
Parcourir les fichiers

[UPD] remove unecessary address readonly attribute

parent 4369c2a5
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -144,30 +144,10 @@
</xpath>
<!-- Bloc gauche : Adresse -->
<!-- Autorise la modification d'adresse pour les porteurs de projet -->
<xpath expr="//field[@name='street']" position="attributes">
<attribute
name="attrs"
>{'readonly': [('type', '=', 'contact'),('parent_id', '!=', False),('is_incubated', '=', False)]}</attribute>
</xpath>
<xpath expr="//field[@name='street2']" position="attributes">
<attribute
name="attrs"
>{'readonly': [('type', '=', 'contact'),('parent_id', '!=', False),('is_incubated', '=', False)]}</attribute>
</xpath>
<xpath expr="//field[@name='city']" position="attributes">
<attribute
name="attrs"
>{'readonly': [('type', '=', 'contact'),('parent_id', '!=', False),('is_incubated', '=', False)]}</attribute>
</xpath>
<!-- Cache le champ Etat -->
<xpath expr="//field[@name='state_id']" position="attributes">
<attribute name="invisible">1</attribute>
</xpath>
<xpath expr="//field[@name='zip']" position="attributes">
<attribute
name="attrs"
>{'readonly': [('type', '=', 'contact'),('parent_id', '!=', False),('is_incubated', '=', False)]}</attribute>
</xpath>
<!-- Masque la TVA -->
<xpath expr="//field[@name='vat']" position="attributes">
<attribute name="invisible">1</attribute>
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter