[FIX]: Added div block in multi branch

This commit is contained in:
Hansa Rathod 2018-09-05 12:12:37 +05:30
parent 0242ea14b1
commit e61495519c

View File

@ -7,29 +7,31 @@
<field name="inherit_id" ref="base_setup.res_config_settings_view_form"/>
<field name="arch" type="xml">
<xpath expr="//div[hasclass('settings')]/div[hasclass('app_settings_block')]/div[@name='multi_company']" position="after">
<h2>Multi-Branch</h2>
<div class="row mt16 o_settings_container" id="multi_branch">
<div class="col-xs-12 col-md-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="group_multi_branch"/>
</div>
<div class="o_setting_left_pane"/>
<div class="o_setting_right_pane">
<label string="Branches"/>
<div class="text-muted">
Configure your Branch
<div name="multi_branch">
<h2>Multi-Branch</h2>
<div class="row mt16 o_settings_container" id="multi_branch">
<div class="col-xs-12 col-md-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="group_multi_branch"/>
</div>
<div class="content-group" attrs="{'invisible': [('group_multi_branch','=',False)]}">
<div class="mt16">
<button name="%(action_view_branch_config)d" string="Branch Configuration" type="action" class="oe_link" groups="base.group_no_one" icon="fa-arrow-right"/>
<div class="o_setting_left_pane"/>
<div class="o_setting_right_pane">
<label string="Branches"/>
<div class="text-muted">
Configure your Branch
</div>
<div class="mt16">
<button name="%(action_res_branch_tree)d" string="Branches" type="action" class="oe_link" groups="base.group_no_one" icon="fa-arrow-right"/>
<div class="content-group" attrs="{'invisible': [('group_multi_branch','=',False)]}">
<div class="mt16">
<button name="%(action_view_branch_config)d" string="Branch Configuration" type="action" class="oe_link" groups="base.group_no_one" icon="fa-arrow-right"/>
</div>
<div class="mt16">
<button name="%(action_res_branch_tree)d" string="Branches" type="action" class="oe_link" groups="base.group_no_one" icon="fa-arrow-right"/>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</xpath>
</field>
</record>