diff --git a/views/account_invoice.xml b/views/account_invoice.xml index 0c0150510081e0efb1f5033d705c7fb1d6343f23..52d1ae7dd2ed0af5d40b13f6f33c8d18a34eb72e 100644 --- a/views/account_invoice.xml +++ b/views/account_invoice.xml @@ -36,17 +36,17 @@ <attribute name="readonly">True</attribute> </xpath> - <xpath expr="//field[@name='payment_term_id']" position="attributes"> - <attribute name="invisible">1</attribute> - </xpath> +<!-- <xpath expr="//field[@name='payment_term_id']" position="attributes">--> +<!-- <attribute name="invisible">1</attribute>--> +<!-- </xpath>--> - <xpath expr="//field[@name='date_due']" position="attributes"> - <attribute name="attrs">{'invisible':[('state','=','draft')]}</attribute> - </xpath> +<!-- <xpath expr="//field[@name='date_due']" position="attributes">--> +<!-- <attribute name="attrs">{'invisible':[('state','=','draft')]}</attribute>--> +<!-- </xpath>--> - <xpath expr="//field[@name='payment_mode_id']" position="attributes"> - <attribute name="attrs">{'invisible':[('state','=','draft')]}</attribute> - </xpath> +<!-- <xpath expr="//field[@name='payment_mode_id']" position="attributes">--> +<!-- <attribute name="attrs">{'invisible':[('state','=','draft')]}</attribute>--> +<!-- </xpath>--> </field> </record> diff --git a/views/scop_bordereau_cg.xml b/views/scop_bordereau_cg.xml index 7095fa34e773fa5e691f2fcdc9eee89a3faf7455..15bc433d8fa30389b18e6507baa20107a5ca5d08 100644 --- a/views/scop_bordereau_cg.xml +++ b/views/scop_bordereau_cg.xml @@ -20,7 +20,7 @@ <button name="cancel_ongoing_bordereau" class="oe_highlight" string="Annuler cette nouvelle version" type="object" states="ongoing"/> <button name="action_change_payment_mode" class="btn-info" string="Changer le mode de paiement" - type="object" states="ongoing,validated"/> + type="object"/> <button name="%(cgscop_cotisation_cg.scop_cotisation_regul_wizard_act_window)d" class="btn-warning" string="Effectuer une Régularisation" @@ -85,7 +85,7 @@ <group> <field name="base_cotisation_cg"/> <field name="date_cotisation" attrs="{'readonly':[('state','!=','new')]}"/> - <field name="payment_mode_id" attrs="{'readonly':[('state','!=','new')]}"/> + <field name="payment_mode_id" readonly="1"/> <hr/> <field name="nb_quarter" attrs="{'readonly':[('state','!=','new')]}"/> <button name="update_bordereau_with_liasse" class="btn" string="Recalculer le bordereau"