1 <?xml version="1.0" encoding="utf-8"?>
5 <record id="view_sales_config" model="ir.ui.view">
6 <field name="name">sale settings</field>
7 <field name="model">sale.config.settings</field>
8 <field name="inherit_id" ref="base_setup.view_sale_config_settings"/>
9 <field name="arch" type="xml">
10 <div name="customer feature" position="before">
11 <separator string="Invoicing Process"/>
13 <label for="id" string="Invoicing Process"/>
15 <div name="group_invoice_so_lines">
16 <field name="group_invoice_so_lines" class="oe_inline"/>
17 <label for="group_invoice_so_lines"/>
19 <div name="timesheet">
20 <field name="timesheet" class="oe_inline" on_change="onchange_timesheet(timesheet)"/>
21 <label for="timesheet"/>
25 <group name='default_options'>
26 <label for="id" string="Default Options" attrs="{'invisible':[('module_account_analytic_analysis','=',False)]}"/>
28 <div name='time_unit' attrs="{'invisible': [('module_account_analytic_analysis','=',False)],'required':[('module_account_analytic_analysis','=',True)]}">
29 <label for="time_unit"/>
30 <field name="time_unit" domain="[('category_id.name','=','Working Time')]" class="oe_inline"/>
35 <div name="Customer Features" position="inside">
37 <field name="group_sale_pricelist" class="oe_inline"/>
38 <label for="group_sale_pricelist"/>
40 <div name="module_warning">
41 <field name="module_warning" class="oe_inline"/>
42 <label for="module_warning"/>
45 <group name="Sale" position="before">
47 <label for="id" string="Warehouse Features"/>
48 <div name="warehouse_features">
49 <div name='module_sale_stock'>
50 <field name="module_sale_stock" class="oe_inline"/>
51 <label for="module_sale_stock"/>
53 <div name='module_sale_journal'>
54 <field name="module_sale_journal" class="oe_inline"/>
55 <label for="module_sale_journal"/>
60 <group name="Sale" position="before">
62 <label for="id" string="Product Features"/>
65 <field name="group_uom" class="oe_inline"/>
66 <label for="group_uom"/>
69 <field name="group_discount_per_so_line" class="oe_inline"/>
70 <label for="group_discount_per_so_line"/>
73 <field name="group_product_variant" class="oe_inline"/>
74 <label for="group_product_variant"/>
79 <div name="Sale Features" position="inside">
80 <div name="module_sale_margin">
81 <field name="module_sale_margin" class="oe_inline"/>
82 <label for="module_sale_margin"/>
85 <div name="customer feature" position="after">
86 <separator string="Contracts Management"/>
88 Use contract to be able to manage your services with
89 multiple invoicing as part of the same contract with
93 <label for="id" string="Contract Features"/>
96 <field name="module_account_analytic_analysis" on_change="onchange_timesheet(module_account_analytic_analysis)" class="oe_inline"/>
97 <label for="module_account_analytic_analysis"/>
99 <div name="module_analytic_user_function" attrs="{'invisible':[('module_account_analytic_analysis','=',False)]}">
100 <field name="module_analytic_user_function" class="oe_inline"/>
101 <label for="module_analytic_user_function"/>
109 <menuitem id="base.menu_sale_config" name="Sales" parent="base.menu_config"
110 sequence="1" action="base_setup.action_sale_config"/>
112 <record id="view_account_config" model="ir.ui.view">
113 <field name="name">account settings</field>
114 <field name="model">account.config.settings</field>
115 <field name="inherit_id" ref="account.view_account_config_settings"/>
116 <field name="priority" eval="16"/>
117 <field name="arch" type="xml">
118 <separator name="analytic_account" position="attributes">
119 <attribute name="invisible">0</attribute>
121 <group name="analytic_account_sale" position="attributes">
122 <attribute name="invisible">0</attribute>
124 <xpath expr="//group[@name='analytic_account_sale']/div" position="inside">
126 <field name="group_analytic_account_for_sales" class="oe_inline"/>
127 <label for="group_analytic_account_for_sales"/>
130 <field name="module_sale_analytic_plans" on_change="onchange_sale_analytic_plans(module_sale_analytic_plans)" class="oe_inline"/>
131 <label for="module_sale_analytic_plans"/>