[MERGE] usability imp in res.partner.bank

bzr revid: qdp-launchpad@openerp.com-20120703085745-mwbuflluu0yverwo
This commit is contained in:
Quentin (OpenERP) 2012-07-03 10:57:45 +02:00
commit b6f55d7a23
2 changed files with 12 additions and 7 deletions

View File

@ -102,12 +102,17 @@
<group>
<group name="owner" string="Bank Account Owner">
<field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
<field name="owner_name"/>
<field name="street"/>
<field name="city"/>
<field name="zip"/>
<field name="country_id"/>
<field name="state_id"/>
<label for="street" string="Address"/>
<div>
<field name="owner_name" placeholder="Name"/>
<field name="street" placeholder="Street"/>
<div>
<field name="zip" class="oe_inline" placeholder="ZIP"/>
<field name="city" class="oe_inline" placeholder="City"/>
</div>
<field name="state_id" placeholder="State"/>
<field name="country_id" placeholder="Country"/>
</div>
</group>
<group name="bank" string="Information About the Bank">
<field name="bank" on_change="onchange_bank_id(bank)"/>

View File

@ -151,7 +151,7 @@ class res_partner(osv.osv):
'customer': fields.boolean('Customer', help="Check this box if the partner is a customer."),
'supplier': fields.boolean('Supplier', help="Check this box if the partner is a supplier. If it's not checked, purchase people will not see it when encoding a purchase order."),
'employee': fields.boolean('Employee', help="Check this box if the partner is an Employee."),
'function': fields.char('Function', size=128),
'function': fields.char('Job Position', size=128),
'type': fields.selection( [('default','Default'),('invoice','Invoice'),
('delivery','Delivery'), ('contact','Contact'),
('other','Other')],