[IMP/MERGE]:sale config wizard
bzr revid: apa@tinyerp.com-20120723063455-ab3ci2gm0jfd74an
This commit is contained in:
commit
594a4f01e0
|
@ -66,22 +66,34 @@
|
|||
<field name="model">sale.config.settings</field>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Configure Sales" version="7.0">
|
||||
<form string="Configure Sales" version="7.0" class="oe_form_configuration">
|
||||
<header>
|
||||
<button string="Apply" type="object" name="execute" class="oe_highlight"/>
|
||||
or
|
||||
<button string="Cancel" type="object" name="cancel" class="oe_link"/>
|
||||
</header>
|
||||
<group>
|
||||
<group name="config_sale">
|
||||
<field name="module_crm" invisible="1"/>
|
||||
<separator string="Emails" colspan="2" attrs="{'invisible': [('module_crm','=',False)]}"/>
|
||||
<field name="module_plugin_thunderbird" attrs="{'invisible': [('module_crm','=',False)]}"/>
|
||||
<field name="module_plugin_outlook" attrs="{'invisible': [('module_crm','=',False)]}"/>
|
||||
</group>
|
||||
<group name="config_other">
|
||||
</group>
|
||||
<div name="config_sale">
|
||||
<field name="module_crm" invisible="1"/>
|
||||
<separator string="Emails Integration" attrs="{'invisible': [('module_crm','=',False)]}"/>
|
||||
<div style="color:grey" attrs="{'invisible': [('module_crm','=',False)]}">
|
||||
The email integration allows ypu to autometically create leads or others documents from an incoming emails account.
|
||||
Users can do it from the mail client by pressing a button or it can be configured to automatically synchronize from your mail server.
|
||||
</div>
|
||||
<group name="On Mail Client" attrs="{'invisible': [('module_crm','=',False)]}">
|
||||
<label for="id" string="On Mail Client"/>
|
||||
<div>
|
||||
<div name="module_plugin_thunderbird" attrs="{'invisible': [('module_crm','=',False)]}" class="oe_inline">
|
||||
<field name="module_plugin_thunderbird"/>
|
||||
<label for="module_plugin_thunderbird"/>
|
||||
</div>
|
||||
<div name="module_plugin_outlook" attrs="{'invisible': [('module_crm','=',False)]}">
|
||||
<field name="module_plugin_outlook" class="oe_inline"/>
|
||||
<label for="module_plugin_outlook"/>
|
||||
</div>
|
||||
</div>
|
||||
</group>
|
||||
</div>
|
||||
<div name="config_other"/>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
@ -8,29 +8,63 @@
|
|||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="base_setup.view_sale_config_settings"/>
|
||||
<field name="arch" type="xml">
|
||||
<separator string="Emails" version="7.0" position="after">
|
||||
<label for="fetchmail_lead"/>
|
||||
<group name="On Mail Client" version="7.0" position="after">
|
||||
<group>
|
||||
<label for="id" string="On Mail Server"/>
|
||||
<div>
|
||||
<div name="fetchmail_lead">
|
||||
<field name="fetchmail_lead" class="oe_inline"/>
|
||||
<label for="fetchmail_lead"/>
|
||||
<button name="configure_fetchmail_lead" type="object" string="Configure" icon="gtk-go-forward"
|
||||
attrs="{'invisible': [('fetchmail_lead','=',False)]}" class="oe_link"/>
|
||||
</div>
|
||||
</div>
|
||||
</group>
|
||||
</group>
|
||||
<div name="config_other" version="7.0" position="inside">
|
||||
<separator string="Import and Synchronize Data from an Other Application"/>
|
||||
<group>
|
||||
<label for="id" string="Import From"/>
|
||||
<div>
|
||||
<div>
|
||||
<field name="module_import_sugarcrm"/>
|
||||
<label for="module_import_sugarcrm"/>
|
||||
</div>
|
||||
</div>
|
||||
</group>
|
||||
<group>
|
||||
<label for="id" string="Synchronize with"/>
|
||||
<div>
|
||||
<div>
|
||||
<field name="module_import_google"/>
|
||||
<label for="module_import_google"/>
|
||||
</div>
|
||||
<div>
|
||||
<field name="module_crm_caldav"/>
|
||||
<label for="module_crm_caldav"/>
|
||||
</div>
|
||||
</div>
|
||||
</group>
|
||||
<separator string="Customer Form"/>
|
||||
<div>
|
||||
<field name="fetchmail_lead"/>
|
||||
<button name="configure_fetchmail_lead" type="object" string="Configure" icon="gtk-go-forward"
|
||||
attrs="{'invisible': [('fetchmail_lead','=',False)]}"/>
|
||||
<div>
|
||||
<field name="module_google_map" class="oe_inline"/>
|
||||
<label for="module_google_map"/>
|
||||
</div>
|
||||
</div>
|
||||
</separator>
|
||||
<group name="config_other" version="7.0" position="inside">
|
||||
<separator string="Import and Synchronize Data from an Other Application" colspan="2"/>
|
||||
<field name="module_import_sugarcrm"/>
|
||||
<field name="module_crm_caldav"/>
|
||||
<field name="module_import_google"/>
|
||||
<separator string="Customer Form" colspan="2"/>
|
||||
<field name="module_google_map"/>
|
||||
</group>
|
||||
<group name="config_sale" position="inside">
|
||||
<separator string="Documents and Wiki" colspan="2"/>
|
||||
<field name="module_wiki_sale_faq"/>
|
||||
</group>
|
||||
</div>
|
||||
<div name="config_sale" position="inside">
|
||||
<separator string="Documents and Wiki"/>
|
||||
<div>
|
||||
<div>
|
||||
<field name="module_wiki_sale_faq"/>
|
||||
<label for="module_wiki_sale_faq"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
<menuitem id="base.menu_sale_config" name="Sales" parent="base.menu_config"
|
||||
sequence="1" action="base_setup.action_sale_config"/>
|
||||
|
||||
|
|
|
@ -7,16 +7,16 @@
|
|||
<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="priority" eval="20"/> <!-- to put fetchmail_lead before fetchmail_claim -->
|
||||
<field name="priority" eval="20"/>
|
||||
<field name="arch" type="xml">
|
||||
<separator string="Emails" version="7.0" position="after">
|
||||
<label for="fetchmail_claim"/>
|
||||
<div name="fetchmail_lead" position="after">
|
||||
<div>
|
||||
<field name="fetchmail_claim"/>
|
||||
<button type="object" name="configure_fetchmail_claim" string="Configure" icon="gtk-go-forward"
|
||||
attrs="{'invisible': [('fetchmail_claim','=',False)]}"/>
|
||||
<field name="fetchmail_claim" class="oe_inline"/>
|
||||
<label for="fetchmail_claim"/>
|
||||
<button type="object" name="configure_fetchmail_claim" string="Configure" icon="gtk-go-forward"
|
||||
attrs="{'invisible': [('fetchmail_claim','=',False)]}" class="oe_link"/>
|
||||
</div>
|
||||
</separator>
|
||||
</div>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
|
|
@ -49,14 +49,14 @@
|
|||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="base_setup.view_sale_config_settings"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="module_plugin_outlook" version="7.0" position="replace">
|
||||
<label for="module_plugin_outlook"/>
|
||||
<div name="module_plugin_outlook" version="7.0" position="replace">
|
||||
<div>
|
||||
<field name="module_plugin_outlook"/>
|
||||
<field name="module_plugin_outlook" class="oe_inline"/>
|
||||
<label for="module_plugin_outlook"/>
|
||||
<button name="%(action_outlook_installer)d" type="action" string="Configure" icon="gtk-execute"
|
||||
attrs="{'invisible': [('module_plugin_outlook','=',False)]}"/>
|
||||
attrs="{'invisible': [('module_plugin_outlook','=',False)]}" class="oe_link"/>
|
||||
</div>
|
||||
</field>
|
||||
</div>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
|
|
@ -55,14 +55,14 @@
|
|||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="base_setup.view_sale_config_settings"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="module_plugin_thunderbird" version="7.0" position="replace">
|
||||
<label for="module_plugin_thunderbird"/>
|
||||
<div name="module_plugin_thunderbird" version="7.0" position="replace">
|
||||
<div>
|
||||
<field name="module_plugin_thunderbird"/>
|
||||
<button name="%(action_thunderbird_installer)d" type="action" string="Configure" icon="gtk-execute"
|
||||
attrs="{'invisible': [('module_plugin_thunderbird','=',False)]}"/>
|
||||
<field name="module_plugin_thunderbird" class="oe_inline"/>
|
||||
<label for="module_plugin_thunderbird"/>
|
||||
<button name="%(action_thunderbird_installer)d" type="action" string="Download and install the plugin" icon="gtk-execute"
|
||||
attrs="{'invisible': [('module_plugin_thunderbird','=',False)]}" class="oe_link"/>
|
||||
</div>
|
||||
</field>
|
||||
</div>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
|
|
@ -8,35 +8,122 @@
|
|||
<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="inside">
|
||||
<div name="config_sale" 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"/>
|
||||
<label for="group_invoice_so_lines"/>
|
||||
</div>
|
||||
<div>
|
||||
<field name="group_invoice_deli_orders" class="oe_inline" on_change="onchange_invoice_methods(group_invoice_so_lines, group_invoice_deli_orders)"/>
|
||||
<label for="group_invoice_deli_orders"/>
|
||||
</div>
|
||||
<div>
|
||||
<field name="task_work" class="oe_inline" on_change="onchange_task_work(task_work)"/>
|
||||
<label for="task_work"/>
|
||||
</div>
|
||||
<div>
|
||||
<field name="timesheet" class="oe_inline" on_change="onchange_timesheet(timesheet)"/>
|
||||
<label for="timesheet"/>
|
||||
</div>
|
||||
</div>
|
||||
</group>
|
||||
<group>
|
||||
<label for="id" string="Default Process" attrs="{'invisible':['|',('group_invoice_so_lines','=',False),('group_invoice_deli_orders','=',False),('group_invoice_so_lines','=',False), ('group_invoice_deli_orders','=',False),('task_work','=',False), ('module_account_analytic_analysis','=',False)]}"/>
|
||||
<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)]}">
|
||||
<label for="default_order_policy"/>
|
||||
<field name="default_order_policy" class="oe_inline"/>
|
||||
</div>
|
||||
<div attrs="{'invisible':[('group_invoice_so_lines','=',False), ('group_invoice_deli_orders','=',False)]}">
|
||||
<field name="module_delivery" class="oe_inline"/>
|
||||
<label for="module_delivery"/>
|
||||
</div>
|
||||
<div attrs="{'invisible': [('task_work','=',False), ('module_account_analytic_analysis','=',False)],'required': ['|', ('task_work','=',True), ('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>
|
||||
<field name="module_project_timesheet" invisible="1"/>
|
||||
<field name="module_project_mrp" invisible="1"/>
|
||||
<separator string="Sale Order" colspan="2"/>
|
||||
<field name="group_uom"/>
|
||||
<field name="group_sale_delivery_address"/>
|
||||
<field name="group_sale_pricelist"/>
|
||||
<field name="group_multiple_shops"/>
|
||||
<field name="module_warning"/>
|
||||
<field name="decimal_precision"/>
|
||||
<field name="default_picking_policy" attrs="{'invisible':[('group_invoice_deli_orders','=',False)]}"/>
|
||||
<field name="group_discount_per_so_line"/>
|
||||
<field name="module_sale_margin"/>
|
||||
<field name="module_sale_journal"/>
|
||||
</group>
|
||||
<group name="config_other" position="inside">
|
||||
<separator string="Invoicing Policy" colspan="2" />
|
||||
<field name="group_invoice_so_lines" on_change="onchange_invoice_methods(group_invoice_so_lines, group_invoice_deli_orders)"/>
|
||||
<field name="group_invoice_deli_orders" on_change="onchange_invoice_methods(group_invoice_so_lines, group_invoice_deli_orders)"/>
|
||||
<field name="task_work" on_change="onchange_task_work(task_work)"/>
|
||||
<field name="timesheet" on_change="onchange_timesheet(timesheet)"/>
|
||||
<field name="default_order_policy" attrs="{'invisible':['|',('group_invoice_so_lines','=',False),('group_invoice_deli_orders','=',False)],'required': ['|',('group_invoice_so_lines','=',True),('group_invoice_deli_orders','=',True)]}"/>
|
||||
<field name="module_delivery" attrs="{'invisible':[('group_invoice_so_lines','=',False), ('group_invoice_deli_orders','=',False)]}"/>
|
||||
<field name="time_unit" domain="[('category_id.name','=','Working Time')]"
|
||||
attrs="{'invisible': [('task_work','=',False), ('module_account_analytic_analysis','=',False)],'required': ['|', ('task_work','=',True), ('module_account_analytic_analysis','=',True)]}"/>
|
||||
<separator string="Contracts" colspan="2"/>
|
||||
<field name="module_account_analytic_analysis" on_change="onchange_timesheet(module_account_analytic_analysis)"/>
|
||||
<field name="module_analytic_user_function" attrs="{'invisible':[('module_account_analytic_analysis','=',False)]}"/>
|
||||
</group>
|
||||
<separator string="Quotations and Sales Orders"/>
|
||||
<group>
|
||||
<label for="id" string="Customer Features"/>
|
||||
<div>
|
||||
<div>
|
||||
<field name="group_sale_delivery_address" class="oe_inline"/>
|
||||
<label for="group_sale_delivery_address"/>
|
||||
</div>
|
||||
<div>
|
||||
<field name="group_sale_pricelist" class="oe_inline"/>
|
||||
<label for="group_sale_pricelist"/>
|
||||
</div>
|
||||
<div>
|
||||
<field name="module_sale_journal" class="oe_inline"/>
|
||||
<label for="module_sale_journal"/>
|
||||
</div>
|
||||
<div name="module_warning">
|
||||
<field name="module_warning" class="oe_inline"/>
|
||||
<label for="module_warning"/>
|
||||
</div>
|
||||
</div>
|
||||
</group>
|
||||
<group>
|
||||
<label for="id" string="Product Features"/>
|
||||
<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>
|
||||
<label for="decimal_precision"/>
|
||||
<field name="decimal_precision" class="oe_inline"/>
|
||||
</div>
|
||||
</div>
|
||||
</group>
|
||||
<group>
|
||||
<label for="id" string="Sale Features"/>
|
||||
<div>
|
||||
<div>
|
||||
<field name="group_multiple_shops" class="oe_inline"/>
|
||||
<label for="group_multiple_shops"/>
|
||||
</div>
|
||||
<div attrs="{'invisible':[('group_invoice_deli_orders','=',False)]}">
|
||||
<field name="default_picking_policy" class="oe_inline"/>
|
||||
<label for="default_picking_policy"/>
|
||||
</div>
|
||||
<div name="module_sale_margin">
|
||||
<field name="module_sale_margin" class="oe_inline"/>
|
||||
<label for="module_sale_margin"/>
|
||||
</div>
|
||||
</div>
|
||||
</group>
|
||||
<separator string="Contracts Management"/>
|
||||
<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>
|
||||
<group>
|
||||
<label for="id" string="Contract Feature"/>
|
||||
<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 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>
|
||||
</div>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
|
Loading…
Reference in New Issue