# HG changeset patch
# User Jérémie Gavrel <jeremie.gavrel@xcg-consulting.fr>
# Date 1424789412 -3600
#      Tue Feb 24 15:50:12 2015 +0100
# Node ID 88ebe8260216ad0830917424ccf83262b79726fb
# Parent  5d06e6f2a477b97b5c9c98fc171c6f7c2ca368b3
Added object_reference field to the customer invoice/refund view

diff --git a/views/account_invoice.xml b/views/account_invoice.xml
--- a/views/account_invoice.xml
+++ b/views/account_invoice.xml
@@ -287,6 +287,7 @@
                             <div groups="base.group_multi_currency">
                                 <field name="currency_id" class="oe_inline" />
                             </div>
+                            <field name="object_reference" attrs="{'invisible': [('object_reference', '=', False)]}" readonly="True"/>
                         </group>
                     </group>
                     <field name="sent" invisible="1" />