~openerp-dev/openobject-server/trunk-forward-port-mat

« back to all changes in this revision

Viewing changes to openerp/addons/base/res/res_partner_view.xml

[MERGE] Forward-port of latest saas-3 bugfixes, up to rev. 5122 revid:dle@openerp.com-20140506121627-4oyw4zl4o6azy73w

Show diffs side-by-side

added added

removed removed

Lines of Context:
156
156
 
157
157
                            <label for="street" string="Address"/>
158
158
                            <div>
159
 
                                <field name="use_parent_address" class="oe_edit_only oe_inline"
160
 
                                       on_change="onchange_address(use_parent_address, parent_id)"
161
 
                                       attrs="{'invisible': [('parent_id','=', False),('use_parent_address','=',False)]}"/>
162
 
                                <label for="use_parent_address" class="oe_edit_only" attrs="{'invisible': [('parent_id','=', False),('use_parent_address','=',False)]}"/>
 
159
                                <div class="oe_edit_only">
 
160
                                    <field name="use_parent_address" class="oe_inline"
 
161
                                           on_change="onchange_address(use_parent_address, parent_id)"
 
162
                                           attrs="{'invisible': [('parent_id','=', False),('use_parent_address','=',False)]}"/>
 
163
                                    <label for="use_parent_address" attrs="{'invisible': [('parent_id','=', False),('use_parent_address','=',False)]}"/>
 
164
                                </div>
163
165
                                <button name="open_parent" type="object" string="(edit company address)" class="oe_link oe_edit_only"
164
166
                                        attrs="{'invisible': ['|',('parent_id','=', False),('use_parent_address','=',False)]}"/>
165
167
                                <field name="street" placeholder="Street..."  attrs="{'readonly': [('use_parent_address','=',True)]}"/>