[TYPO] Set the right category for the Point Of Sale
[odoo/odoo.git] / addons / l10n_be_invoice_bba / account_invoice_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3   <data>
4
5     <!-- Adapt Customer Invoices to support bba structured communication -->   
6     <record id="customer_invoice_bbacomm_form" model="ir.ui.view">
7       <field name="name">account.invoice.form.inherit</field>
8       <field name="model">account.invoice</field>
9       <field name="type">form</field>
10       <field name="inherit_id" ref="account.invoice_form"/>
11       <field name="arch" type="xml">
12         <field name="payment_term" position="after">
13           <group col="4" colspan="2">
14               <field name="reference_type" nolabel="1"  size="0" attrs="{'readonly':[('state','!=','draft')]}"
15                  on_change="generate_bbacomm(type,reference_type, partner_id,reference, context)" colspan="1"/>
16               <field name="reference" nolabel="1"  colspan="3" attrs="{'readonly':[('state','!=','draft')]}"/>
17           </group>
18         </field>
19       </field>
20     </record>
21     
22   </data>
23 </openerp>