[IMP] res_partner: view change
bzr revid: kjo@tinyerp.com-20120222072452-mt9e8m00xbt6ei8y
This commit is contained in:
@@ -108,7 +108,6 @@ class res_partner_bank(osv.osv):
|
||||
value = ''
|
||||
if not context.get('address'):
|
||||
return value
|
||||
|
||||
for address in self.pool.get('res.partner').resolve_o2m_commands_to_record_dicts(
|
||||
cursor, user, 'address', context['address'], ['type', field], context=context):
|
||||
|
||||
|
||||
@@ -362,14 +362,10 @@
|
||||
<field name="fax"/>
|
||||
<field name="email" widget="email"/>
|
||||
</group>
|
||||
<group groups="base.group_extended" colspan="8">
|
||||
<separator string="Categories" colspan="8" />
|
||||
<field name="category_id" nolabel="1" colspan="8" />
|
||||
<group colspan="8" attrs="{'invisible': [('is_company','=', False)]}">
|
||||
<field name="child_ids" nolabel="1"/>
|
||||
</group>
|
||||
</page>
|
||||
<page string="Contacts" attrs="{'invisible': [('is_company','=', False)]}">
|
||||
<field name="child_ids" nolabel="1"/>
|
||||
</page>
|
||||
<page string="Sales & Purchases">
|
||||
<separator string="General Information" colspan="4"/>
|
||||
<field name="user_id"/>
|
||||
@@ -381,10 +377,12 @@
|
||||
<newline/>
|
||||
<field name="customer" select="1"/>
|
||||
<field name="supplier"/>
|
||||
<!--field name="child_ids" nolabel="1" attrs="{'invisible': [('is_company','=', False)]}" colspan="8"/-->
|
||||
</page>
|
||||
<page string="History" groups="base.group_extended" invisible="True">
|
||||
</page>
|
||||
<page string="Category" groups="base.group_extended">
|
||||
<field name="category_id" nolabel="1" colspan="8" />
|
||||
</page>
|
||||
<page string="Notes">
|
||||
<field colspan="4" name="comment" nolabel="1"/>
|
||||
</page>
|
||||
|
||||
Reference in New Issue
Block a user