Skip to content

Commit

Permalink
[IMP] brand: New settings
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoniRomera committed Nov 30, 2023
1 parent f11b530 commit 8151593
Showing 1 changed file with 11 additions and 34 deletions.
45 changes: 11 additions & 34 deletions brand/views/res_config_settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,40 +6,17 @@
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="base_setup.res_config_settings_view_form" />
<field name="arch" type="xml">
<xpath expr="//div[@id='companies']" position="inside">
<div id="brand">
<div class="row mt16 o_settings_container">
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_right_pane">
<span class="o_form_label">Brand</span>
<span
class="fa fa-lg fa-building-o"
title="Values set here are company-specific."
aria-label="Values set here are company-specific."
groups="base.group_multi_company"
role="img"
/>
<div class="text-muted">
Configure branding of customer facing business documents (SO, invoices, etc).
</div>
<div class="content-group">
<div class="mt16 row">
<label
for="brand_use_level"
string="Brand Use Level"
class="col-3 col-lg-3 o_light_label"
/>
<field
name="brand_use_level"
class="oe_inline"
required="1"
/>
</div>
</div>
</div>
</div>
</div>
</div>
<xpath
expr="//block[@name='companies_setting_container']"
position="inside"
>
<setting
string="Brand"
help="Configure branding of customer facing business documents (SO, invoices, etc)."
company_dependent="1"
>
<field name="brand_use_level" required="1" />
</setting>
</xpath>
</field>
</record>
Expand Down

0 comments on commit 8151593

Please sign in to comment.