Skip to content

Commit

Permalink
[FIX] l10n_fr_certification: fix wrong xpath.
Browse files Browse the repository at this point in the history
Bug introduced with the latest forward-port. Since the invoice's workflow has been removed in bc8d5db, the button name to cancel an invoice changed also.
  • Loading branch information
qdp-odoo committed Jun 15, 2017
1 parent 93e222b commit df4a81c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/l10n_fr_certification/views/no_cancel.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<field name="model">account.invoice</field>
<field name="inherit_id" ref="account.invoice_form"/>
<field name="arch" type="xml">
<xpath expr="//button[@name='invoice_cancel']" position="attributes">
<xpath expr="//button[@name='action_invoice_cancel']" position="attributes">
<attribute name="invisible">1</attribute>
</xpath>
</field>
Expand All @@ -33,4 +33,4 @@
</field>
</record>

</odoo>
</odoo>

0 comments on commit df4a81c

Please sign in to comment.