diff --git a/report/scop_contribution_report.py b/report/scop_contribution_report.py
index b1471ab8f7aec755bbfe24e1a60987ab4f665c1d..bea7834f272ed882a670d524286ca71a639a33d7 100644
--- a/report/scop_contribution_report.py
+++ b/report/scop_contribution_report.py
@@ -208,7 +208,7 @@ class ScopContributionReport(models.Model):
                         "credit": p.credit,
                         "class": "",
                     }
-                    if not p.move_id.move_type in ("out_invoice", "out_refund")
+                    if p.move_id.move_type not in ("out_invoice", "out_refund")
                     else {
                         "date": p.date,
                         "name": p.name,
diff --git a/views/account_move.xml b/views/account_move.xml
index 17392d20a7bf2815914ddccc423e858ff415f63d..bfd15b4265f777baad0fdbfa96f41681b51aa575 100644
--- a/views/account_move.xml
+++ b/views/account_move.xml
@@ -43,17 +43,17 @@
                     <attribute name="string">Date de cotisation</attribute>
                 </xpath>
                 <xpath expr="//field[@name='user_id']" position="attributes">
-                    <attribute name="invisible">True</attribute>
+                    <attribute name="invisible">1</attribute>
                 </xpath>
                 <xpath expr="//field[@name='team_id']" position="attributes">
-                    <attribute name="invisible">True</attribute>
+                    <attribute name="invisible">1</attribute>
                 </xpath>
 
                 <xpath expr="//field[@name='beneficiary_id']" position="attributes">
-                    <attribute name="invisible">True</attribute>
+                    <attribute name="invisible">1</attribute>
                 </xpath>
                 <xpath expr="//field[@name='team_id']" position="attributes">
-                    <attribute name="invisible">True</attribute>
+                    <attribute name="invisible">1</attribute>
                 </xpath>
             </field>
         </record>
@@ -70,24 +70,29 @@
                     position="before"
                 >
                     <field name="partner_member_number" readonly="1" />
-                </xpath>
-                <xpath
-                    expr="//field[@name='invoice_partner_display_name'][2]"
-                    position="attributes"
-                >
-                    <attribute name="string">Adhérent</attribute>
+                    <field
+                        name="invoice_partner_display_name"
+                        string="Adhérent"
+                        option="show"
+                    />
+                    <field
+                        name="invoice_date"
+                        string="Date de cotisation"
+                        option="show"
+                    />
                 </xpath>
                 <xpath expr="//field[@name='invoice_origin']" position="after">
                     <field name="type_contribution_id" optional="hide" />
+                    <field name="year" optional="hide" />
                 </xpath>
-                <xpath expr="//field[@name='invoice_date']" position="attributes">
-                    <attribute name="string">Date de cotisation</attribute>
+                <xpath expr="//field[@name='activity_ids']" position="attributes">
+                    <attribute name="optional">hide</attribute>
                 </xpath>
                 <xpath expr="//field[@name='company_id']" position="attributes">
-                    <attribute name="invisible">True</attribute>
+                    <attribute name="optional">hide</attribute>
                 </xpath>
                 <xpath expr="//field[@name='invoice_origin']" position="attributes">
-                    <attribute name="invisible">True</attribute>
+                    <attribute name="optional">hide</attribute>
                 </xpath>
                 <xpath expr="//field[@name='state']" position="after">
                     <field name="is_sdd" invisible="1" />
diff --git a/views/account_payment_order.xml b/views/account_payment_order.xml
index d73a89847c29a1153d18ecb301b06b12c7661f92..e608570fefc9b6cb688864a1c52afc0a1ef649c1 100644
--- a/views/account_payment_order.xml
+++ b/views/account_payment_order.xml
@@ -53,19 +53,21 @@
                 </xpath>
                 <!-- Boutons de vérification IBAN et mandats -->
                 <xpath expr="//notebook" position="before">
-                    <field name="mandate_validity" invisible="1"/>
-                    <button name="view_wrong_iban"
-                            type="object"
-                            string="Voir les IBAN à corriger"
-                            class="btn-danger"
-                            attrs="{'invisible': [('sepa', '=', True)]}"
-                            style="margin-right: 10px;"
+                    <field name="mandate_validity" invisible="1" />
+                    <button
+                        name="view_wrong_iban"
+                        type="object"
+                        string="Voir les IBAN à corriger"
+                        class="btn-danger"
+                        attrs="{'invisible': [('sepa', '=', True)]}"
+                        style="margin-right: 10px;"
                     />
-                    <button name="view_wrong_mandate"
-                            type="object"
-                            string="Voir les Mandats non valides"
-                            class="btn-danger"
-                            attrs="{'invisible': [('mandate_validity', '=', True)]}"
+                    <button
+                        name="view_wrong_mandate"
+                        type="object"
+                        string="Voir les Mandats non valides"
+                        class="btn-danger"
+                        attrs="{'invisible': [('mandate_validity', '=', True)]}"
                     />
                 </xpath>
                 <!-- Affichage des fichers XML -->
diff --git a/wizard/account_payment_line_create.py b/wizard/account_payment_line_create.py
old mode 100755
new mode 100644
index b7e39f67310801148b15e38fbba14604aee8befb..733a92946cedc31210c6252068847bed2b44aad4
--- a/wizard/account_payment_line_create.py
+++ b/wizard/account_payment_line_create.py
@@ -1,7 +1,7 @@
 # © 2020 Le Filament (<http://www.le-filament.com>)
 # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
 
-from odoo import models, fields, api, _
+from odoo import fields, models
 
 
 class AccountPaymentLineCreate(models.TransientModel):
diff --git a/wizard/account_payment_line_create_view.xml b/wizard/account_payment_line_create_view.xml
old mode 100755
new mode 100644
index 5faf1d6471a404f14d8814d5d0bc937b77f42e39..eebf1201f6eabeb762b0c935a4c3730e03a382cc
--- a/wizard/account_payment_line_create_view.xml
+++ b/wizard/account_payment_line_create_view.xml
@@ -1,21 +1,26 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8" ?>
 <odoo>
     <data>
         <record id="account_payment_line_create_form" model="ir.ui.view">
             <field name="name">account_payment_line_create.form</field>
             <field name="model">account.payment.line.create</field>
-            <field name="inherit_id" ref="account_payment_order.account_payment_line_create_form"/>
+            <field
+                name="inherit_id"
+                ref="account_payment_order.account_payment_line_create_form"
+            />
             <field name="arch" type="xml">
                 <xpath expr="//field[@name='due_date']" position="before">
-                    <field name="start_date"
-                           attrs="{'invisible': [('date_type', '!=', 'due')]}"
+                    <field
+                        name="start_date"
+                        attrs="{'invisible': [('date_type', '!=', 'due')]}"
                     />
                 </xpath>
                 <xpath expr="//field[@name='journal_ids']" position="after">
-                    <field name="ur_ids"
-                           widget="many2many_tags"
-                           options="{'no_create': 1, 'no_edit': 1}"
-                           placeholder="Laisser vide pour toutes les UR"
+                    <field
+                        name="ur_ids"
+                        widget="many2many_tags"
+                        options="{'no_create': 1, 'no_edit': 1}"
+                        placeholder="Laisser vide pour toutes les UR"
                     />
                 </xpath>
             </field>