- <group name="config_sale" position="inside">
- <separator string="Sale Order" colspan="2"/>
- <field name="group_uom"/>
- <field name="group_sale_delivery_address"/>
- <field name="group_sale_pricelist"/>
- <field name="module_warning"/>
- <field name="decimal_precision"/>
- <field name="group_discount_per_so_line"/>
- <field name="module_sale_margin"/>
- <field name="module_sale_journal"/>
+ <div name="customer feature" position="before">
+ <separator string="Invoicing Process"/>
+ <group>
+ <label for="id" string="Invoicing Process"/>
+ <div>
+ <div name="group_invoice_so_lines">
+ <field name="group_invoice_so_lines" class="oe_inline"/>
+ <label for="group_invoice_so_lines"/>
+ </div>
+ <div name="timesheet">
+ <field name="timesheet" class="oe_inline" on_change="onchange_timesheet(timesheet)"/>
+ <label for="timesheet"/>
+ </div>
+ </div>
+ </group>
+ <group name='default_options'>
+ <label for="id" string="Default Options" attrs="{'invisible':[('module_account_analytic_analysis','=',False)]}"/>
+ <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="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>