<record id="view_sales_config" model="ir.ui.view">
<field name="name">sale settings</field>
<field name="model">sale.config.settings</field>
- <field name="type">form</field>
<field name="inherit_id" ref="base_setup.view_sale_config_settings"/>
<field name="arch" type="xml">
- <group name="config_sale" position="before">
- <div>
+ <div name="customer feature" position="before">
<separator string="Invoicing Process"/>
<group>
<label for="id" string="Invoicing Process"/>
<div>
- <div><field name="group_invoice_so_lines" on_change="onchange_invoice_methods(group_invoice_so_lines, group_invoice_deli_orders)" class="oe_inline"/>
- Genrate Invoices<label for="group_invoice_so_lines" string="Based On The Sale Order"/></div>
- <div><field name="group_invoice_deli_orders" class="oe_inline" on_change="onchange_invoice_methods(group_invoice_so_lines, group_invoice_deli_orders)"/>
- Genrate Invoices After and<label for="group_invoice_deli_orders" string="Based on Delivery Orders"/></div>
- <div><field name="task_work" class="oe_inline" on_change="onchange_task_work(task_work)"/>
- Prepare Invoices<label for="task_work" string="Based On Task's Activities"/></div>
- <div><field name="timesheet" class="oe_inline" on_change="onchange_timesheet(timesheet)"/>
- Prepare Invoices<label for="timesheet" string="Based On Timesheets"/></div>
- </div>
- </group>
- <group>
- <label for="id" string="Default Process"/>
- <div>
- <div attrs="{'invisible':['|',('group_invoice_so_lines','=',False),('group_invoice_deli_orders','=',False)],'required': ['|',('group_invoice_so_lines','=',True),('group_invoice_deli_orders','=',True)]}">
- The<label for="default_order_policy" string="Default"/>Invocing method is
- <field name="default_order_policy"/>
+ <div name="group_invoice_so_lines">
+ <field name="group_invoice_so_lines" class="oe_inline"/>
+ <label for="group_invoice_so_lines"/>
</div>
- <div attrs="{'invisible':[('group_invoice_so_lines','=',False), ('group_invoice_deli_orders','=',False)]}"><field name="module_delivery" class="oe_inline"/>
- Allow Adding Shipping Costs</div>
- <div attrs="{'invisible': [('task_work','=',False), ('module_account_analytic_analysis','=',False)],'required': ['|', ('task_work','=',True), ('module_account_analytic_analysis','=',True)]}">
- The Default<label for="time_unit" string="Working Time Unit"/>For Service is
- <field name="time_unit" domain="[('category_id.name','=','Working Time')]"/>
+ <div name="timesheet">
+ <field name="timesheet" class="oe_inline" on_change="onchange_timesheet(timesheet)"/>
+ <label for="timesheet"/>
</div>
</div>
</group>
- </div>
-
- <field name="module_project_timesheet" invisible="1"/>
- <field name="module_project_mrp" invisible="1"/>
- <separator string="Quotations and Sales Orders" col="1"/>
- <group>
- <label for="id" string="Customer Features"/>
+ <group name='default_options'>
+ <label for="id" string="Default Options" attrs="{'invisible':[('module_account_analytic_analysis','=',False)]}"/>
<div>
- <div><field name="group_sale_delivery_address" class="oe_inline"/>
- Allow a<label for="group_sale_delivery_address" string="Different Address"/>For Delivery and Invoicing</div>
- <div><field name="group_sale_pricelist" class="oe_inline"/>
- <label for="group_sale_pricelist" string="Use Pricelists"/>to Adapt your Price Per Customers</div>
- <div name="module_sale_journal"><field name="module_sale_journal" class="oe_inline"/>
- Allow Batch<label for="module_sale_journal" string="Invoicing through Journals"/></div>
- <div><field name="module_warning" class="oe_inline"/>
- Allow Configuring<label for="module_warning" string="alert"/>by Customer or Products</div>
+ <div name='time_unit' attrs="{'invisible': [('module_account_analytic_analysis','=',False)],'required':[('module_account_analytic_analysis','=',True)]}">
+ <label for="time_unit"/>
+ <field name="time_unit" domain="[('category_id.name','=','Working Time')]" class="oe_inline"/>
+ </div>
</div>
</group>
+ </div>
+ <div name="Customer Features" position="inside">
+ <div>
+ <field name="group_sale_pricelist" class="oe_inline"/>
+ <label for="group_sale_pricelist"/>
+ </div>
+ <div name="module_warning">
+ <field name="module_warning" class="oe_inline"/>
+ <label for="module_warning"/>
+ </div>
+ </div>
+ <group name="Sale" position="before">
<group>
- <label for="id" string="Product Features"/>
- <div>
- <div><field name="group_uom" class="oe_inline"/>
- Allow Different<label for="group_uom" string="Units of Measure"/></div>
- <div><field name="group_discount_per_so_line" class="oe_inline"/>
- Allow Setting a<label for="group_discount_per_so_line" string="discount"/>on the Sale Order Lines</div>
- <div>What's the decimal precision on prices:
- <field name="decimal_precision" class="oe_inline"/></div>
+ <label for="id" string="Warehouse Features"/>
+ <div name="warehouse_features">
+ <div name='module_sale_stock'>
+ <field name="module_sale_stock" class="oe_inline"/>
+ <label for="module_sale_stock"/>
+ </div>
+ <div name='module_sale_journal'>
+ <field name="module_sale_journal" class="oe_inline"/>
+ <label for="module_sale_journal"/>
+ </div>
</div>
</group>
+ </group>
+ <group name="Sale" position="before">
<group>
- <label for="id" string="Sale Features"/>
+ <label for="id" string="Product Features"/>
<div>
- <div><field name="group_multiple_shops" class="oe_inline"/>
- Manage<label for="group_multiple_shops" string="Multiple Shops"/></div>
- <div attrs="{'invisible':[('group_invoice_deli_orders','=',False)]}"><field name="default_picking_policy" class="oe_inline"/>
- Configure Per Order if yoy<label for="default_picking_policy" string="Deliver in One Pack or each Product"/>when Available</div>
- <div name="module_sale_margin"><field name="module_sale_margin" class="oe_inline"/>
- <label for="module_sale_margin" string="Display Margins"/>on Sale Orders</div>
+ <div>
+ <field name="group_uom" class="oe_inline"/>
+ <label for="group_uom"/>
+ </div>
+ <div>
+ <field name="group_discount_per_so_line" class="oe_inline"/>
+ <label for="group_discount_per_so_line"/>
+ </div>
</div>
</group>
- <separator string="Contracts Management" colspan="2"/>
- <div>Use contract to be able to manage your services with multiple invoicing as part of the same contract with your customer</div>
+ </group>
+ <div name="Sale Features" position="inside">
+ <div name="module_sale_margin">
+ <field name="module_sale_margin" class="oe_inline"/>
+ <label for="module_sale_margin"/>
+ </div>
+ </div>
+ <div name="customer feature" position="after">
+ <separator string="Contracts Management"/>
+ <p>
+ Use contract to be able to manage your services with
+ multiple invoicing as part of the same contract with
+ your customer.
+ </p>
<group>
- <label for="id" string="Contract Feature"/>
+ <label for="id" string="Contract Features"/>
<div>
- <div><field name="module_account_analytic_analysis" on_change="onchange_timesheet(module_account_analytic_analysis)" class="oe_inline"/>
- Use Contract Management</div>
- <div attrs="{'invisible':[('module_account_analytic_analysis','=',False)]}"><field name="module_analytic_user_function" class="oe_inline"/>
- Assign User Roles per Contract</div>
+ <div>
+ <field name="module_account_analytic_analysis" on_change="onchange_timesheet(module_account_analytic_analysis)" class="oe_inline"/>
+ <label for="module_account_analytic_analysis"/>
+ </div>
+ <div name="module_analytic_user_function" attrs="{'invisible':[('module_account_analytic_analysis','=',False)]}">
+ <field name="module_analytic_user_function" class="oe_inline"/>
+ <label for="module_analytic_user_function"/>
+ </div>
</div>
</group>
- </group>
+ </div>
</field>
</record>
<record id="view_account_config" model="ir.ui.view">
<field name="name">account settings</field>
<field name="model">account.config.settings</field>
- <field name="type">form</field>
<field name="inherit_id" ref="account.view_account_config_settings"/>
<field name="priority" eval="16"/>
<field name="arch" type="xml">
- <separator name="analytic_accounting" position="attributes">
+ <separator name="analytic_account" position="attributes">
<attribute name="invisible">0</attribute>
- <attribute name="colspan">2</attribute>
- </separator>
- <separator name="analytic_accounting" position="after">
- <field name="group_analytic_account_for_sales"/>
- <field name="module_sale_analytic_plans" on_change="onchange_sale_analytic_plans(module_sale_analytic_plans)"/>
</separator>
+ <group name="analytic_account_sale" position="attributes">
+ <attribute name="invisible">0</attribute>
+ </group>
+ <xpath expr="//group[@name='analytic_account_sale']/div" position="inside">
+ <div>
+ <field name="group_analytic_account_for_sales" class="oe_inline"/>
+ <label for="group_analytic_account_for_sales"/>
+ </div>
+ <div>
+ <field name="module_sale_analytic_plans" on_change="onchange_sale_analytic_plans(module_sale_analytic_plans)" class="oe_inline"/>
+ <label for="module_sale_analytic_plans"/>
+ </div>
+ </xpath>
</field>
</record>
-
</data>
</openerp>