Skip to content
Extraits de code Groupes Projets
Valider 40f40656 rédigé par jordan's avatar jordan
Parcourir les fichiers

[fix] avoid to validate invoice cotiz invoice

parent 4e6bf527
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -11,7 +11,8 @@
<field name="arch" type="xml">
<xpath expr="//header/button[@name='action_invoice_open']" position="attributes">
<attribute name="invisible">True</attribute>
<attribute name="states"/>
<attribute name="attrs">{'invisible':['|', ('type','=','out_invoice'), ('state','!=','draft')]}</attribute>
</xpath>
<xpath expr="//header/button[@name='preview_invoice']" position="attributes">
<attribute name="invisible">True</attribute>
......
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