Removed widge=selection from account_id field in line in Purchase Receipt, as it...
authordhr-odoo <dhr@tinyerp.com>
Fri, 13 Jun 2014 10:38:12 +0000 (16:08 +0530)
committerMartin Trigaux <mat@openerp.com>
Thu, 19 Jun 2014 07:01:17 +0000 (09:01 +0200)
addons/account_voucher/voucher_sales_purchase_view.xml

index 97f96f7..2dd5383 100644 (file)
                         <page string="Bill Information">
                             <field name="line_dr_ids" on_change="onchange_price(line_dr_ids, tax_id, partner_id)" context="{'journal_id':journal_id,'partner_id':partner_id}">
                                 <tree string="Expense Lines" editable="bottom">
-                                    <field name="account_id" widget="selection" domain="[('user_type.report_type','=','expense'), ('type','!=','view')]"/>
+                                    <field name="account_id" domain="[('user_type.report_type','=','expense'), ('type','!=','view')]"/>
                                     <field name="name"/>
                                     <field name="amount"/>
                                     <field name="account_analytic_id" groups="analytic.group_analytic_accounting"/>