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="type">form</field>
9 <field name="inherit_id" ref="base_setup.view_sale_config_settings"/>
10 <field name="arch" type="xml">
11 <group name="config_sale" position="before">
13 <separator string="Invoicing Process"/>
15 <label for="id" string="Invoicing Process"/>
17 <div><field name="group_invoice_so_lines" on_change="onchange_invoice_methods(group_invoice_so_lines, group_invoice_deli_orders)" class="oe_inline"/>
18 Genrate Invoices<label for="group_invoice_so_lines" string="Based On The Sale Order"/></div>
19 <div><field name="group_invoice_deli_orders" class="oe_inline" on_change="onchange_invoice_methods(group_invoice_so_lines, group_invoice_deli_orders)"/>
20 Genrate Invoices After and<label for="group_invoice_deli_orders" string="Based on Delivery Orders"/></div>
21 <div><field name="task_work" class="oe_inline" on_change="onchange_task_work(task_work)"/>
22 Prepare Invoices<label for="task_work" string="Based On Task's Activities"/></div>
23 <div><field name="timesheet" class="oe_inline" on_change="onchange_timesheet(timesheet)"/>
24 Prepare Invoices<label for="timesheet" string="Based On Timesheets"/></div>
28 <label for="id" string="Default Process"/>
30 <div attrs="{'invisible':['|',('group_invoice_so_lines','=',False),('group_invoice_deli_orders','=',False)],'required': ['|',('group_invoice_so_lines','=',True),('group_invoice_deli_orders','=',True)]}">
31 The<label for="default_order_policy" string="Default"/>Invocing method is
32 <field name="default_order_policy" class="oe_inline"/>
34 <div attrs="{'invisible':[('group_invoice_so_lines','=',False), ('group_invoice_deli_orders','=',False)]}"><field name="module_delivery" class="oe_inline"/>
35 Allow Adding Shipping Costs</div>
36 <div attrs="{'invisible': [('task_work','=',False), ('module_account_analytic_analysis','=',False)],'required': ['|', ('task_work','=',True), ('module_account_analytic_analysis','=',True)]}">
37 The Default<label for="time_unit" string="Working Time Unit"/>For Service is
38 <field name="time_unit" domain="[('category_id.name','=','Working Time')]" class="oe_inline"/>
44 <field name="module_project_timesheet" invisible="1"/>
45 <field name="module_project_mrp" invisible="1"/>
46 <separator string="Quotations and Sales Orders" col="1"/>
48 <label for="id" string="Customer Features"/>
50 <div><field name="group_sale_delivery_address" class="oe_inline"/>
51 Allow a<label for="group_sale_delivery_address" string="Different Address"/>For Delivery and Invoicing</div>
52 <div><field name="group_sale_pricelist" class="oe_inline"/>
53 <label for="group_sale_pricelist" string="Use Pricelists"/>to Adapt your Price Per Customers</div>
54 <div><field name="module_sale_journal" class="oe_inline"/>
55 Allow Batch<label for="module_sale_journal" string="Invoicing through Journals"/></div>
56 <div name="module_warning"><field name="module_warning" class="oe_inline"/>
57 Allow Configuring<label for="module_warning" string="alert"/>by Customer or Products</div>
61 <label for="id" string="Product Features"/>
63 <div><field name="group_uom" class="oe_inline"/>
64 Allow Different<label for="group_uom" string="Units of Measure"/></div>
65 <div><field name="group_discount_per_so_line" class="oe_inline"/>
66 Allow Setting a<label for="group_discount_per_so_line" string="discount"/>on the Sale Order Lines</div>
67 <div>What's the decimal precision on prices:
68 <field name="decimal_precision" class="oe_inline"/></div>
72 <label for="id" string="Sale Features"/>
74 <div><field name="group_multiple_shops" class="oe_inline"/>
75 Manage<label for="group_multiple_shops" string="Multiple Shops"/></div>
76 <div attrs="{'invisible':[('group_invoice_deli_orders','=',False)]}"><field name="default_picking_policy" class="oe_inline"/>
77 Configure Per Order if yoy<label for="default_picking_policy" string="Deliver in One Pack or each Product"/>when Available</div>
78 <div name="module_sale_margin"><field name="module_sale_margin" class="oe_inline"/>
79 <label for="module_sale_margin" string="Display Margins"/>on Sale Orders</div>
82 <separator string="Contracts Management" colspan="2"/>
83 <div style="color:grey">Use contract to be able to manage your services with multiple invoicing as part of the same contract with your customer</div>
85 <label for="id" string="Contract Feature"/>
87 <div><field name="module_account_analytic_analysis" on_change="onchange_timesheet(module_account_analytic_analysis)" class="oe_inline"/>
88 Use Contract Management</div>
89 <div attrs="{'invisible':[('module_account_analytic_analysis','=',False)]}"><field name="module_analytic_user_function" class="oe_inline"/>
90 Assign User Roles per Contract</div>
97 <menuitem id="base.menu_sale_config" name="Sales" parent="base.menu_config"
98 sequence="1" action="base_setup.action_sale_config"/>
100 <record id="view_account_config" model="ir.ui.view">
101 <field name="name">account settings</field>
102 <field name="model">account.config.settings</field>
103 <field name="type">form</field>
104 <field name="inherit_id" ref="account.view_account_config_settings"/>
105 <field name="priority" eval="16"/>
106 <field name="arch" type="xml">
107 <separator name="analytic_accounting" position="attributes">
108 <attribute name="invisible">0</attribute>
109 <attribute name="colspan">2</attribute>
111 <separator name="analytic_accounting" position="after">
112 <field name="group_analytic_account_for_sales"/>
113 <field name="module_sale_analytic_plans" on_change="onchange_sale_analytic_plans(module_sale_analytic_plans)"/>