summaryrefslogtreecommitdiff
path: root/addons/product/views/res_config_settings_views.xml
blob: 3325b056a4bf96ec49f2223ed1f918307b531e20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0" encoding="utf-8"?>
<odoo>
        <record id="res_config_settings_view_form" model="ir.ui.view">
            <field name="name">res.config.settings.view.form.inherit.product</field>
            <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='multi_company']" position="before">
                    <h2>Units of Measure</h2>
                    <div class="row mt16 o_settings_container" id="product_general_settings">
                        <div class="col-12 col-lg-6 o_setting_box" id="weight_uom_setting">
                            <div class="o_setting_left_pane">
                            </div>
                            <div class="o_setting_right_pane">
                                <label for="product_weight_in_lbs" string="Weight UoM"/>
                                <div class="text-muted">
                                    Define your weight unit of measure
                                </div>
                                <div class="content-group">
                                    <div class="mt16">
                                        <field name="product_weight_in_lbs" class="o_light_label" widget="radio"/>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-12 col-lg-6 o_setting_box" id="manage_volume_uom_setting">
                            <div class="o_setting_right_pane">
                                <label for="product_volume_volume_in_cubic_feet" string="Volume UoM "/>
                                <div class="text-muted">
                                    Define your volume unit of measure
                                </div>
                                <div class="content-group">
                                    <div class="mt16">
                                        <field name="product_volume_volume_in_cubic_feet" class="o_light_label" widget="radio"/>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </xpath>
            </field>
        </record>
</odoo>