[IMP] res_partner: set domain on use_parent_address field
bzr revid: kjo@tinyerp.com-20120227073313-q680c9bu12pjqjlj
This commit is contained in:
@@ -348,9 +348,7 @@
|
||||
<separator string="Address" colspan="4"/>
|
||||
<group colspan="2">
|
||||
<field name="type" string="Type" attrs="{'invisible': [('is_company','=', 'partner')]}"/>
|
||||
</group>
|
||||
<group colspan="2">
|
||||
<field name="use_parent_address" attrs="{'invisible': [('parent_id', '=', False)]}" on_change="onchange_address(use_parent_address, parent_id)"/>
|
||||
<field name="use_parent_address" attrs="{'invisible': ['|', ('is_company','=', 'partner'), ('parent_id', '=', False)]}" on_change="onchange_address(use_parent_address, parent_id)"/>
|
||||
</group>
|
||||
<newline/>
|
||||
<field name="street" colspan="4"/>
|
||||
|
||||
Reference in New Issue
Block a user