<?xml version="1.0" ?>
<openerp>
    <data>

        <record id="l10n_ro_invoice_form_view" model="ir.ui.view">
            <field name="name">l10n_ro.account.invoice.form</field>
            <field name="model">account.invoice</field>
            <field name="type">form</field>
            <field name="inherit_id" ref="account.invoice_form"/>
            <field name="arch" type="xml">
               <field name="user_id" position="after">
                      <field name="delegate_id"  />
                      <field name="mean_transp" colspan="2" />
                      <field name="internal_number" attrs="{'readonly':False, 'invisible': [('state','&lt;&gt;', 'draft')]}"/>
               </field>
            </field>
        </record>

    </data>
</openerp>

<?xml version="1.0" ?>
<openerp>
    <data>

        <record id="l10n_ro_invoice_form_view" model="ir.ui.view">
            <field name="name">l10n_ro.account.invoice.form</field>
            <field name="model">account.invoice</field>
            <field name="type">form</field>
            <field name="inherit_id" ref="account.invoice_form"/>
            <field name="arch" type="xml">
               <field name="user_id" position="after">
                      <field name="delegate_id"  />
                      <field name="mean_transp" colspan="2" />
                      <field name="internal_number" attrs="{'readonly':False, 'invisible': [('state','&lt;&gt;', 'draft')]}"/>
               </field>
            </field>
        </record>
        
        <record id="l10n_ro_invoice_supplier_form_view" model="ir.ui.view">
            <field name="name">l10n_ro.account.invoice.supplier.form</field>
            <field name="model">account.invoice</field>
            <field name="type">form</field>
            <field name="inherit_id" ref="account.invoice_supplier_form"/>
            <field name="arch" type="xml">
               <field name="user_id" position="after">
                      <field name="internal_number" attrs="{'readonly':False, 'invisible': [('state','&lt;&gt;', 'draft')]}"/>
               </field>
            </field>
        </record>

    </data>
</openerp>

Add internal_number field to supplier invoices.
Add internal_number field to supplier invoices.
