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

[UPD] refactor UI

parent 93f4d4ab
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -8,23 +8,23 @@ ...@@ -8,23 +8,23 @@
<field name="model">acc.operation</field> <field name="model">acc.operation</field>
<field name="inherit_id" ref="oacc.acc_operation_form_view" /> <field name="inherit_id" ref="oacc.acc_operation_form_view" />
<field name="arch" type="xml"> <field name="arch" type="xml">
<xpath expr="//notebook" position="inside"> <xpath expr="//notebook//page[@name='other_infos']" position="inside">
<page string="API Enedis" name="api"> <group>
<header> <field name="client_id" />
<field name="secret_id" />
</group>
</xpath>
<field name="date_start_contract" position="after">
<group>
<button <button
string="Périmètre" string="Récupérer le périmètre Enedis"
type="object" type="object"
class="btn-primary" class="btn-primary"
name="get_perimeter" name="get_perimeter"
attrs="{'invisible':[('client_id','=', False), ('secret_id','=', False)]}" attrs="{'invisible':[('client_id','=', False), ('secret_id','=', False)]}"
/> />
</header>
<group>
<field name="client_id" />
<field name="secret_id" />
</group> </group>
</page> </field>
</xpath>
</field> </field>
</record> </record>
......
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