Skip to content
GitLab
Explorer
Connexion
Navigation principale
Rechercher ou aller à…
Projet
C
cgscop_partner
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Analyse
Données d'analyse des chaînes de valeur
Analyse des contributeurs
Données d'analyse du dépôt
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté GitLab
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Afficher davantage de fils d'Ariane
Le Filament
Confédération Générale des SCOP
cgscop_partner
Validations
062f6e02
Valider
062f6e02
rédigé
22 mars 2023
par
Benjamin - Le Filament
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
[update] partner form view
parent
4ebdf9d3
Branches
Branches contenant la validation
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Modifications
1
Afficher les modifications d'espaces
En ligne
Côte à côte
Affichage de
1 fichier modifié
views/res_partner.xml
+41
-31
41 ajouts, 31 suppressions
views/res_partner.xml
avec
41 ajouts
et
31 suppressions
views/res_partner.xml
+
41
−
31
Voir le fichier @
062f6e02
...
@@ -69,17 +69,13 @@
...
@@ -69,17 +69,13 @@
<attribute
<attribute
name=
"attrs"
name=
"attrs"
>
{'invisible': [('is_cooperative','=', True)]}
</attribute>
>
{'invisible': [('is_cooperative','=', True)]}
</attribute>
<attribute
name=
"col"
>
3
</attribute>
</xpath>
</xpath>
<xpath
expr=
"//div[hasclass('oe_title')]"
position=
"attributes"
>
<xpath
expr=
"//div[hasclass('oe_title')]"
position=
"attributes"
>
<attribute
<attribute
name=
"attrs"
name=
"attrs"
>
{'invisible': [('is_cooperative','=', True)]}
</attribute>
>
{'invisible': [('is_cooperative','=', True)]}
</attribute>
</xpath>
</xpath>
<xpath
expr=
"//form/sheet/group"
position=
"attributes"
>
<attribute
name=
"attrs"
>
{'invisible': [('is_cooperative','=', True)]}
</attribute>
</xpath>
<!-- Affiche les champs de la vue partenaire -->
<!-- Affiche les champs de la vue partenaire -->
<field
name=
"parent_id"
position=
"before"
>
<field
name=
"parent_id"
position=
"before"
>
...
@@ -119,6 +115,8 @@
...
@@ -119,6 +115,8 @@
>
base.group_no_one,cgscop_partner.group_cg_administrator
</attribute>
>
base.group_no_one,cgscop_partner.group_cg_administrator
</attribute>
<attribute
name=
"readonly"
>
True
</attribute>
<attribute
name=
"readonly"
>
True
</attribute>
</xpath>
</xpath>
<field
name=
"street"
position=
"attributes"
>
<field
name=
"street"
position=
"attributes"
>
<attribute
name=
"placeholder"
>
Rue
</attribute>
<attribute
name=
"placeholder"
>
Rue
</attribute>
</field>
</field>
...
@@ -149,6 +147,44 @@
...
@@ -149,6 +147,44 @@
<attribute
name=
"invisible"
>
1
</attribute>
<attribute
name=
"invisible"
>
1
</attribute>
</field>
</field>
<xpath
expr=
'//form/sheet/group/group[2]'
position=
"replace"
>
<xpath
expr=
'//form/sheet/group/group[2]'
position=
"replace"
>
<group
col=
"1"
name=
"partner_legal_info"
>
<group
string=
"Informations juridiques"
attrs=
"{'invisible': [('is_company', '=', False)]}"
>
<label
for=
"siret"
class=
"oe_edit_only"
attrs=
"{'invisible': [('is_company','=', False), ('is_cooperative','=', False)]}"
/>
<div>
<field
name=
"siret"
class=
"oe_edit_only"
attrs=
"{'invisible': [('is_company','=', False), ('is_cooperative','=', False)]}"
/>
</div>
<label
for=
"formatted_siret"
class=
"oe_read_only"
string=
"SIRET"
attrs=
"{'invisible': [('is_company','=', False), ('is_cooperative','=', False)]}"
/>
<div>
<field
name=
"formatted_siret"
class=
"oe_read_only"
string=
"SIRET"
attrs=
"{'invisible': [('is_company','=', False), ('is_cooperative','=', False)]}"
/>
</div>
<field
name=
"partner_company_type_id"
options=
"{'no_create': 1}"
/>
<field
name=
"registration_date"
/>
</group>
</group>
<group
<group
col=
"1"
col=
"1"
name=
"partner_segment_info"
name=
"partner_segment_info"
...
@@ -463,32 +499,6 @@
...
@@ -463,32 +499,6 @@
name=
"website"
name=
"website"
attrs=
"{'invisible': [('is_company','=', False)]}"
attrs=
"{'invisible': [('is_company','=', False)]}"
/>
/>
<label
for=
"siret"
class=
"oe_edit_only"
attrs=
"{'invisible': [('is_company','=', False), ('is_cooperative','=', False)]}"
/>
<div>
<field
name=
"siret"
class=
"oe_edit_only"
attrs=
"{'invisible': [('is_company','=', False), ('is_cooperative','=', False)]}"
/>
</div>
<label
for=
"formatted_siret"
class=
"oe_read_only"
string=
"SIRET"
attrs=
"{'invisible': [('is_company','=', False), ('is_cooperative','=', False)]}"
/>
<div>
<field
name=
"formatted_siret"
class=
"oe_read_only"
string=
"SIRET"
attrs=
"{'invisible': [('is_company','=', False), ('is_cooperative','=', False)]}"
/>
</div>
<field
<field
name=
"ur_id"
name=
"ur_id"
options=
'{"no_open": True, "no_create": True}'
options=
'{"no_open": True, "no_create": True}'
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter