Skip to content
GitLab
Explorer
Connexion
Navigation principale
Rechercher ou aller à…
Projet
W
website_event_external
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
website_event_external
Validations
6225cdbd
Valider
6225cdbd
rédigé
Il y a 11 mois
par
Rémi - Le Filament
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
[IMP] hide unecessary buttons when external
parent
0c9a3ddb
Branches
16.0
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/event_event_view.xml
+39
-0
39 ajouts, 0 suppression
views/event_event_view.xml
avec
39 ajouts
et
0 suppression
views/event_event_view.xml
+
39
−
0
Voir le fichier @
6225cdbd
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright (c) 2024- Le Filament (https://le-filament.com)
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->
<odoo>
<odoo>
<record
id=
"event_external_form_inherit"
model=
"ir.ui.view"
>
<record
id=
"event_external_form_inherit"
model=
"ir.ui.view"
>
<field
name=
"name"
>
event.external.form.inherit
</field>
<field
name=
"name"
>
event.external.form.inherit
</field>
...
@@ -6,6 +10,22 @@
...
@@ -6,6 +10,22 @@
<field
name=
"priority"
eval=
"21"
/>
<field
name=
"priority"
eval=
"21"
/>
<field
name=
"inherit_id"
ref=
"event.view_event_form"
/>
<field
name=
"inherit_id"
ref=
"event.view_event_form"
/>
<field
name=
"arch"
type=
"xml"
>
<field
name=
"arch"
type=
"xml"
>
<button
name=
"%(event.event_registration_action_stats_from_event)d"
position=
"attributes"
>
<attribute
name=
"attrs"
>
{"invisible":[("is_external", "=", True)]}
</attribute>
</button>
<button
name=
"%(event.act_event_registration_from_event)d"
position=
"attributes"
>
<attribute
name=
"attrs"
>
{"invisible":[("is_external", "=", True)]}
</attribute>
</button>
<xpath
expr=
"//group/field[@name='active']"
position=
"after"
>
<xpath
expr=
"//group/field[@name='active']"
position=
"after"
>
<field
name=
"is_external"
/>
<field
name=
"is_external"
/>
<field
<field
...
@@ -35,4 +55,23 @@
...
@@ -35,4 +55,23 @@
</notebook>
</notebook>
</field>
</field>
</record>
</record>
<record
id=
"website_event_external_form_inherit"
model=
"ir.ui.view"
>
<field
name=
"name"
>
website.event.external.form.inherit
</field>
<field
name=
"model"
>
event.event
</field>
<field
name=
"priority"
eval=
"21"
/>
<field
name=
"inherit_id"
ref=
"website_event.event_event_view_form"
/>
<field
name=
"arch"
type=
"xml"
>
<xpath
expr=
"//label[@for='menu_register_cta']"
position=
"attributes"
>
<attribute
name=
"attrs"
>
{"invisible":[("is_external", "=", True)]}
</attribute>
</xpath>
<field
name=
'menu_register_cta'
position=
"attributes"
>
<attribute
name=
"attrs"
>
{"invisible":[("is_external", "=", True)]}
</attribute>
</field>
</field>
</record>
</odoo>
</odoo>
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