[MERGE] merged aag branch with main wizard rework

bzr revid: qdp-launchpad@openerp.com-20110512174203-h674yve5zf3xwvkv
This commit is contained in:
Quentin (OpenERP)
2011-05-12 19:42:03 +02:00
27 changed files with 144 additions and 540 deletions
+3 -4
View File
@@ -22,17 +22,16 @@
from osv import fields, osv
class profile_association_config_install_modules_wizard(osv.osv_memory):
_name='profile.association.config.install_modules_wizard'
_inherit = 'res.config.installer'
_inherit = 'base.setup.installer'
_columns = {
'hr_expense':fields.boolean('Expenses Tracking', help="Tracks and manages employee expenses, and can "
'hr_expense':fields.boolean('Resources Management: Expenses Tracking', help="Tracks and manages employee expenses, and can "
"automatically re-invoice clients if the expenses are "
"project-related."),
'project':fields.boolean('Project Management',
help="Helps you manage your projects and tasks by tracking them, "
"generating plannings, etc..."),
'event_project':fields.boolean('Events', help="Helps you to manage and organize your events."),
'event_project':fields.boolean('Event Management: Events', help="Helps you to manage and organize your events."),
'project_gtd':fields.boolean('Getting Things Done',
help="GTD is a methodology to efficiently organise yourself and your tasks. This module fully integrates GTD principle with OpenERP's project management."),
'wiki': fields.boolean('Wiki', help="Lets you create wiki pages and page groups in order "
+10 -43
View File
@@ -3,56 +3,23 @@
<data>
<record id="view_confirm_install_module_form" model="ir.ui.view">
<field name="name">Association Application Configuration</field>
<field name="model">profile.association.config.install_modules_wizard</field>
<field name="model">base.setup.installer</field>
<field name="type">form</field>
<field name="inherit_id" ref="base.res_config_installer"/>
<field name="inherit_id" ref="base_setup.view_base_setup_installer"/>
<field name="arch" type="xml">
<data>
<form position="attributes">
<attribute name="string">Association Application Configuration</attribute>
</form>
<xpath expr='//separator[@string="vsep"]' position='attributes'>
<attribute name='string'></attribute>
</xpath>
<xpath expr="//label[@string='description']"
position="attributes">
<attribute name="string">Here are specific applications related to the Association Profile you selected.</attribute>
<xpath expr="//field[@name='product_expiry']" position="after">
<newline/>
<separator string="Associations Details" colspan="4" />
<field name="project" />
<field name="project_gtd" />
<field name="wiki" />
<field name="event_project" />
<field name="hr_expense" />
</xpath>
<xpath expr="//button[@string='Install Modules']" position="attributes">
<attribute name="string">Configure</attribute>
</xpath>
<separator string="title" position="replace"/>
<group colspan="8">
<separator string="Project Management" colspan="4"/>
<field name="project"/>
<field name="project_gtd"/>
<field name="wiki"/>
<separator string="Event Management" colspan="4"/>
<field name="event_project"/>
<separator string="Resources Management" colspan="4"/>
<field name="hr_expense"/>
</group>
</data>
</field>
</record>
<record id="action_config_install_module" model="ir.actions.act_window">
<field name="name">Association Application Configuration</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">profile.association.config.install_modules_wizard</field>
<field name="view_id" ref="view_confirm_install_module_form"/>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
<record model="ir.actions.todo"
id="config_install_module">
<field name="action_id" ref="action_config_install_module"/>
<field name="sequence">3</field>
<field name="type">special</field>
</record>
<menuitem
name="Association"
id="base.menu_association"
-5
View File
@@ -40,11 +40,6 @@
<field name="rml_header1" colspan="5" invisible="1" groups="base.group_extended"/>
<field name="rml_footer1" colspan="5" invisible="1" groups="base.group_extended"/>
<field name="rml_footer2" colspan="5" invisible="1" groups="base.group_extended"/>
<separator colspan="4"
string="Your Logo - Use a size of about 450x150 pixels."/>
<field colspan="5" name="logo" widget="image"
nolabel="1"/>
</group>
</group>
</group>
+1 -3
View File
@@ -72,7 +72,7 @@ class base_setup_company(osv.osv_memory):
return defaults
defaults['currency'] = company.currency_id.id
for field in ['name','logo','rml_header1','rml_footer1','rml_footer2']:
for field in ['name','rml_header1','rml_footer1','rml_footer2']:
defaults[field] = company[field]
if company.partner_id.address:
@@ -109,7 +109,6 @@ Web: http://openerp.com - Fax: +32.81.73.35.01 - Fortis Bank: 126-2013269-07''')
help='''This sentence will appear at the bottom of your reports.
We suggest you to put bank information here:
IBAN: BE74 1262 0121 6907 - SWIFT: CPDF BE71 - VAT: BE0477.472.701'''),
'logo':fields.binary('Logo'),
'account_no':fields.char('Bank Account No', size=64),
'website': fields.char('Company Website', size=64, help="Example: http://openerp.com"),
}
@@ -126,7 +125,6 @@ IBAN: BE74 1262 0121 6907 - SWIFT: CPDF BE71 - VAT: BE0477.472.701'''),
'rml_header1':payload.rml_header1,
'rml_footer1':payload.rml_footer1,
'rml_footer2':payload.rml_footer2,
'logo':payload.logo,
'currency_id':payload.currency.id,
'account_no':payload.account_no,
})
+5 -6
View File
@@ -23,19 +23,18 @@ from lxml import etree
from osv import fields, osv
class crm_installer(osv.osv_memory):
_name = 'crm.installer'
_inherit = 'res.config.installer'
_inherit = 'base.setup.installer'
_columns = {
'name': fields.char('Name', size=64),
'crm_helpdesk': fields.boolean('Helpdesk', help="Manages a Helpdesk service."),
'crm_fundraising': fields.boolean('Fundraising', help="This may help associations in their fundraising process and tracking."),
'crm_claim': fields.boolean('Claims', help="Manages the suppliers and customers claims, including your corrective or preventive actions."),
'crm_caldav': fields.boolean('Calendar Synchronizing', help="Helps you to synchronize the meetings with other calendar clients and mobiles."),
'crm_caldav': fields.boolean('Synchronization: Calendar Synchronizing', help="Helps you to synchronize the meetings with other calendar clients and mobiles."),
'sale_crm': fields.boolean('Opportunity to Quotation', help="This module relates sale from opportunity cases in the CRM."),
'fetchmail': fields.boolean('Fetch Emails', help="Allows you to receive E-Mails from POP/IMAP server."),
'thunderbird': fields.boolean('Thunderbird', help="Allows you to link your e-mail to OpenERP's documents. You can attach it to any existing one in OpenERP or create a new one."),
'outlook': fields.boolean('MS-Outlook', help="Allows you to link your e-mail to OpenERP's documents. You can attach it to any existing one in OpenERP or create a new one."),
'fetchmail': fields.boolean('Synchronization: Fetch Emails', help="Allows you to receive E-Mails from POP/IMAP server."),
'thunderbird': fields.boolean('Plug-In: Thunderbird', help="Allows you to link your e-mail to OpenERP's documents. You can attach it to any existing one in OpenERP or create a new one."),
'outlook': fields.boolean('Plug-In: MS-Outlook', help="Allows you to link your e-mail to OpenERP's documents. You can attach it to any existing one in OpenERP or create a new one."),
'wiki_sale_faq': fields.boolean('Sale FAQ', help="Helps you manage wiki pages for Frequently Asked Questions on Sales Application."),
}
+19 -58
View File
@@ -2,69 +2,28 @@
<data>
<record id="view_crm_installer" model="ir.ui.view">
<field name="name">crm.installer.view</field>
<field name="model">crm.installer</field>
<field name="model">base.setup.installer</field>
<field name="type">form</field>
<field name="inherit_id" ref="base.res_config_installer"/>
<field name="inherit_id" ref="base_setup.view_base_setup_installer"/>
<field name="arch" type="xml">
<data>
<form position="attributes">
<attribute name="string">CRM Application Configuration</attribute>
</form>
<separator string="title" position="attributes">
<attribute name="string">Configure Your CRM Application</attribute>
</separator>
<xpath expr="//label[@string='description']"
position="attributes">
<attribute name="string">Enhance your core CRM Application with additional functionalities.</attribute>
<xpath expr="//field[@name='product_expiry']" position="after">
<newline/>
<separator string="Customer Relationship Management Details" colspan="4" />
<field name="crm_claim" groups="base.group_extended" />
<field name="crm_helpdesk" groups="base.group_extended" />
<field name="crm_fundraising" groups="base.group_extended" />
<field name="wiki_sale_faq" groups="base.group_extended" />
<field name="sale_crm" invisible="1" groups="base.group_extended" />
<field name="crm_caldav" />
<field name="fetchmail" />
<field name="thunderbird" />
<field name="outlook" />
</xpath>
<xpath expr='//separator[@string="vsep"]' position='attributes'>
<attribute name='rowspan'>13</attribute>
<attribute name='string'></attribute>
</xpath>
<xpath expr="//button[@string='Install Modules']" position="attributes">
<attribute name="string">Configure</attribute>
</xpath>
<group colspan="8">
<group colspan="4" col="4" groups="base.group_extended" name="other">
<field name="crm_claim" />
<field name="crm_helpdesk" />
<field name="crm_fundraising" />
<field name="wiki_sale_faq"/>
<field name="sale_crm" invisible="1"/>
</group>
<group colspan="2" col="2">
<separator string="Synchronization" colspan="4" />
<field name="crm_caldav" />
<field name="fetchmail" />
</group>
<group colspan="2" col="2">
<separator string="Plug-In" colspan="4" />
<field name="thunderbird" />
<field name="outlook" />
</group>
</group>
</data>
</field>
</record>
<record id="action_crm_installer" model="ir.actions.act_window">
<field name="name">CRM Application Configuration</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">crm.installer</field>
<field name="view_id" ref="view_crm_installer"/>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
<record id="crm_installer_todo" model="ir.actions.todo">
<field name="action_id" ref="action_crm_installer"/>
<field name="sequence">3</field>
<field name="type">special</field>
<field eval="[(6,0,[ref('base.group_extended')])]" name="groups_id"/>
</record>
<record model="ir.actions.act_window" id="crm_case_section_view_form_installer">
<field name="name">Create sales team</field>
<field name="type">ir.actions.act_window</field>
@@ -77,7 +36,8 @@
<record id="crm_case_section_installer_todo" model="ir.actions.todo">
<field name="action_id" ref="crm_case_section_view_form_installer"/>
<field name="sequence">10</field>
<field name="type">special</field>
<field name="type">normal</field>
<field name="state">skip</field>
</record>
<record model="ir.actions.act_window" id="crm_case_stage_form_installer">
@@ -92,7 +52,8 @@
<record id="crm_case_stage_installer_todo" model="ir.actions.todo">
<field name="action_id" ref="crm_case_stage_form_installer"/>
<field name="sequence">10</field>
<field name="type">special</field>
<field name="type">normal</field>
<field name="state">skip</field>
</record>
</data>
@@ -46,6 +46,7 @@
<field name="action_id" ref="action_config_auto_directory"/>
<field name="groups_id" eval="[(6,0,[ref('base.group_extended')])]"/>
<field name="type">special</field>
<field name="state">skip</field>
</record>
</data>
</openerp>
@@ -48,6 +48,7 @@
<record model="ir.actions.todo" id="config_auto_directory">
<field name="action_id" ref="action_config_auto_directory"/>
<field name="groups_id" eval="[(6,0,[ref('base.group_extended')])]"/>
<field name="state">skip</field>
</record>
</data>
</openerp>
+14 -61
View File
@@ -4,73 +4,26 @@
<record id="view_hr_installer" model="ir.ui.view">
<field name="name">hr.installer.view</field>
<field name="model">hr.installer</field>
<field name="model">base.setup.installer</field>
<field name="type">form</field>
<field name="inherit_id" ref="base.res_config_installer"/>
<field name="inherit_id" ref="base_setup.view_base_setup_installer"/>
<field name="arch" type="xml">
<data>
<form position="attributes">
<attribute name="string">Human Resources Application Configuration</attribute>
</form>
<separator string="title" position="attributes">
<attribute name="string">Configure Your Human Resources Application</attribute>
</separator>
<xpath expr='//separator[@string="vsep"]' position='attributes'>
<attribute name='string'></attribute>
</xpath>
<xpath expr="//label[@string='description']" position="attributes">
<attribute name="string">You can enhance the base HR Application by installing few HR-related functionalities.</attribute>
</xpath>
<group colspan="8">
<xpath expr="//field[@name='product_expiry']" position="after">
<newline/>
<separator string="Human Resources Details" colspan="4" />
<field name="hr_holidays"/>
<field name="hr_expense"/>
<field name="hr_recruitment"/>
<field name="hr_timesheet_sheet"/>
<field name="hr_contract"/>
<field name="hr_attendance"/>
<field name="hr_evaluation" groups="base.group_extended"/>
<field name="hr_payroll" groups="base.group_extended"/>
<field name="hr_payroll_account" groups="base.group_extended"/>
</group>
<xpath expr="//button[@string='Install Modules']" position="attributes">
<attribute name="string">Configure</attribute>
</xpath>
<field name="hr_expense" />
<field name="hr_recruitment" />
<field name="hr_timesheet_sheet" />
<field name="hr_contract" />
<field name="hr_attendance" />
<field name="hr_evaluation" />
<field name="hr_payroll" />
<field name="hr_payroll_account" groups="base.group_extended" />
</xpath>
</data>
</field>
</record>
<record id="action_hr_installer" model="ir.actions.act_window">
<field name="name">Human Resources Application Configuration</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">hr.installer</field>
<field name="view_id" ref="view_hr_installer"/>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
<record id="hr_installer_todo" model="ir.actions.todo">
<field name="action_id" ref="action_hr_installer"/>
<field name="sequence">3</field>
<field name="type">special</field>
</record>
<record model="ir.actions.act_window" id="view_employee_form_installer">
<field name="name">Create Your Employees</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">hr.employee</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="view_id" ref="hr.view_employee_form"/>
</record>
<record id="view_employee_form_todo" model="ir.actions.todo">
<field name="action_id" ref="view_employee_form_installer"/>
<field name="sequence">3</field>
<field name="type">normal</field>
<field name="state">skip</field>
</record>
</data>
</openerp>
+1 -2
View File
@@ -21,8 +21,7 @@
from osv import fields, osv
class hr_installer(osv.osv_memory):
_name = 'hr.installer'
_inherit = 'res.config.installer'
_inherit = 'base.setup.installer'
_columns = {
# Human Resources Management
'hr_holidays': fields.boolean('Holidays / Leaves Management',
+3 -4
View File
@@ -21,8 +21,7 @@
from osv import fields, osv
class knowledge_installer(osv.osv_memory):
_name = 'knowledge.installer'
_inherit = 'res.config.installer'
_inherit = 'base.setup.installer'
_columns = {
# Knowledge Management
@@ -39,11 +38,11 @@ class knowledge_installer(osv.osv_memory):
"to keep track of business knowledge and share it with "
"and between your employees."),
# Content templates
'wiki_faq':fields.boolean('Internal FAQ',
'wiki_faq':fields.boolean('Template: Internal FAQ',
help="Creates a skeleton internal FAQ pre-filled with "
"documentation about OpenERP's Document Management "
"System."),
'wiki_quality_manual':fields.boolean('Quality Manual',
'wiki_quality_manual':fields.boolean('Template: Quality Manual',
help="Creates an example skeleton for a standard quality manual."),
}
_defaults = {
+10 -47
View File
@@ -2,59 +2,22 @@
<data>
<record id="view_knowledge_installer" model="ir.ui.view">
<field name="name">knowledge.installer.view</field>
<field name="model">knowledge.installer</field>
<field name="model">base.setup.installer</field>
<field name="type">form</field>
<field name="inherit_id" ref="base.res_config_installer"/>
<field name="inherit_id" ref="base_setup.view_base_setup_installer"/>
<field name="arch" type="xml">
<data>
<form position="attributes">
<attribute name="string">Knowledge Application Configuration</attribute>
</form>
<separator string="title" position="attributes">
<attribute name="string"
>Configure Your Knowledge Application</attribute>
</separator>
<xpath expr='//separator[@string="vsep"]' position='attributes'>
<attribute name='string'></attribute>
</xpath>
<xpath expr="//label[@string='description']"
position="attributes">
<attribute name="string">Share information within the company with these specific Addons.</attribute>
<xpath expr="//field[@name='product_expiry']" position="after">
<newline/>
<separator string="Knowledge Management Details" colspan="4" />
<field name="document_ftp" />
<field name="document_webdav" />
<field name="wiki" />
<field name="wiki_faq" />
<field name="wiki_quality_manual" />
</xpath>
<group colspan="8" position="replace">
<group colspan="4">
<field name="document_ftp"/>
<field name="document_webdav"/>
<field name="wiki"/>
<separator string="Content templates" colspan="4"/>
<field name="wiki_faq"/>
<field name="wiki_quality_manual"/>
</group>
</group>
<xpath expr="//button[@string='Install Modules']" position="attributes">
<attribute name="string">Configure</attribute>
</xpath>
</data>
</field>
</record>
<record id="action_knowledge_installer" model="ir.actions.act_window">
<field name="name">Knowledge Application Configuration</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">knowledge.installer</field>
<field name="view_id" ref="view_knowledge_installer"/>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
<record id="knowledge_installer_todo" model="ir.actions.todo">
<field name="action_id" ref="action_knowledge_installer"/>
<field name="sequence">3</field>
<field name="groups_id" eval="[(6,0,[ref('base.group_extended')])]"/>
<field name="type">special</field>
</record>
</data>
</openerp>
+6 -38
View File
@@ -14,52 +14,20 @@
<record id="view_marketing_installer" model="ir.ui.view">
<field name="name">marketing.installer.view</field>
<field name="model">marketing.installer</field>
<field name="model">base.setup.installer</field>
<field name="type">form</field>
<field name="inherit_id" ref="base.res_config_installer"/>
<field name="inherit_id" ref="base_setup.view_base_setup_installer"/>
<field name="arch" type="xml">
<data>
<form position="attributes">
<attribute name="string">Marketing Application Configuration</attribute>
</form>
<separator string="title" position="attributes">
<attribute name="string">Configure Your Marketing Application</attribute>
</separator>
<xpath expr="//label[@string='description']"
position="attributes">
<attribute name="string">OpenERP provides Addons to better manage your sales and marketing processes. Select the ones you would be interested in.</attribute>
</xpath>
<xpath expr='//separator[@string="vsep"]' position='attributes'>
<attribute name='rowspan'>13</attribute>
<attribute name='string'></attribute>
</xpath>
<xpath expr="//button[@string='Install Modules']" position="attributes">
<attribute name="string">Configure</attribute>
</xpath>
<group colspan="8">
<xpath expr="//field[@name='product_expiry']" position="after">
<newline/>
<separator string="Marketing Details" colspan="4" />
<field name="marketing_campaign" />
<field name="email_template" />
<field name="crm_profiling" />
</group>
</xpath>
</data>
</field>
</record>
<record id="action_marketing_installer" model="ir.actions.act_window">
<field name="name">Marketing Applications Configuration</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">marketing.installer</field>
<field name="view_id" ref="view_marketing_installer"/>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
<record id="marketing_installer_todo" model="ir.actions.todo">
<field name="action_id" ref="action_marketing_installer"/>
<field name="sequence">3</field>
<field name="type">special</field>
</record>
</data>
</openerp>
+1 -2
View File
@@ -22,8 +22,7 @@
from osv import fields, osv
class marketing_installer(osv.osv_memory):
_name = 'marketing.installer'
_inherit = 'res.config.installer'
_inherit = 'base.setup.installer'
_columns = {
'email_template':fields.boolean('Automated E-Mails',
help="Helps you to design templates of emails and integrate them in your different processes."),
+1 -2
View File
@@ -21,8 +21,7 @@
from osv import fields, osv
class mrp_installer(osv.osv_memory):
_name = 'mrp.installer'
_inherit = 'res.config.installer'
_inherit = 'base.setup.installer'
_columns = {
# Manufacturing Resource Planning
+10 -43
View File
@@ -2,55 +2,22 @@
<data>
<record id="view_mrp_installer" model="ir.ui.view">
<field name="name">mrp.installer.view</field>
<field name="model">mrp.installer</field>
<field name="model">base.setup.installer</field>
<field name="type">form</field>
<field name="inherit_id" ref="base.res_config_installer"/>
<field name="inherit_id" ref="base_setup.view_base_setup_installer"/>
<field name="arch" type="xml">
<data>
<form position="attributes">
<attribute name="string">MRP Application Configuration</attribute>
</form>
<separator string="title" position="attributes">
<attribute name="string">Configure Your Manufacturing Resource Planning Application</attribute>
</separator>
<xpath expr="//label[@string='description']"
position="attributes">
<attribute name="string">Add more functionalities to the core Manufacturing Application with the following addons.</attribute>
<xpath expr="//field[@name='product_expiry']" position="after">
<newline/>
<separator string="Manufacturing Details" colspan="4" />
<field name="stock_location" />
<field name="mrp_jit" />
<field name="mrp_operations" />
<field name="mrp_subproduct" />
<field name="mrp_repair" />
</xpath>
<xpath expr='//separator[@string="vsep"]' position='attributes'>
<attribute name='string'></attribute>
</xpath>
<xpath expr="//button[@string='Install Modules']" position="attributes">
<attribute name="string">Configure</attribute>
</xpath>
<group colspan="8">
<field name="stock_location"/>
<field name="mrp_jit"/>
<field name="mrp_operations"/>
<field name="mrp_subproduct"/>
<field name="mrp_repair"/>
</group>
</data>
</field>
</record>
<record id="action_mrp_installer" model="ir.actions.act_window">
<field name="name">MRP Applications Configuration</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">mrp.installer</field>
<field name="view_id" ref="view_mrp_installer"/>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
<record id="mrp_installer_todo" model="ir.actions.todo">
<field name="action_id" ref="action_mrp_installer"/>
<field name="sequence">3</field>
<field name="type">special</field>
<field name="groups_id" eval="[(6,0,[ref('base.group_extended')])]"/>
</record>
</data>
</openerp>
+1 -2
View File
@@ -21,8 +21,7 @@
from osv import fields, osv
class misc_tools_installer(osv.osv_memory):
_name = 'misc_tools.installer'
_inherit = 'res.config.installer'
_inherit = 'base.setup.installer'
_columns = {
'lunch':fields.boolean('Lunch',help='A simple module to help you to manage Lunch orders.'),
+11 -42
View File
@@ -2,54 +2,23 @@
<data>
<record id="view_misc_tools_installer" model="ir.ui.view">
<field name="name">misc_tools.installer.view</field>
<field name="model">misc_tools.installer</field>
<field name="model">base.setup.installer</field>
<field name="type">form</field>
<field name="inherit_id" ref="base.res_config_installer"/>
<field name="inherit_id" ref="base_setup.view_base_setup_installer"/>
<field name="arch" type="xml">
<data>
<form position="attributes">
<attribute name="string">Extra Tools Configuration</attribute>
</form>
<xpath expr='//separator[@string="vsep"]' position='attributes'>
<attribute name='string'></attribute>
<xpath expr="//field[@name='product_expiry']" position="after">
<newline/>
<separator string="Extra Tools Details" colspan="4" />
<field name="share" />
<field name="lunch" />
<field name="idea" />
<field name="survey" />
<field name="subscription" />
<field name="pad" />
</xpath>
<separator string="title" position="attributes">
<attribute name="string">Configure Extra Tools</attribute>
</separator>
<xpath expr="//label[@string='description']"
position="attributes">
<attribute name="string">Extra Tools are applications that can help you improve your organization although they are not key for company management.</attribute>
</xpath>
<xpath expr="//button[@string='Install Modules']" position="attributes">
<attribute name="string">Configure</attribute>
</xpath>
<group colspan="8">
<field name="share"/>
<field name="lunch"/>
<field name="idea"/>
<field name="survey"/>
<field name="subscription" groups="base.group_extended"/>
<field name="pad"/>
</group>
</data>
</field>
</record>
<record id="action_misc_tools_installer" model="ir.actions.act_window">
<field name="name">Tools Configuration</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">misc_tools.installer</field>
<field name="view_id" ref="view_misc_tools_installer"/>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
<record id="misc_tools_installer_todo" model="ir.actions.todo">
<field name="action_id" ref="action_misc_tools_installer"/>
<field name="type">special</field>
<field name="sequence">3</field>
</record>
</data>
</openerp>
+3 -4
View File
@@ -22,8 +22,7 @@
from osv import fields, osv
class project_installer(osv.osv_memory):
_name = 'project.installer'
_inherit = 'res.config.installer'
_inherit = 'base.setup.installer'
_columns = {
# Project Management
@@ -41,10 +40,10 @@ class project_installer(osv.osv_memory):
'project_issue': fields.boolean('Issues Tracker',
help="Automatically synchronizes project tasks and crm cases."),
# Methodologies
'project_scrum': fields.boolean('SCRUM',
'project_scrum': fields.boolean('Methodology: SCRUM',
help="Implements and tracks the concepts and task types defined "
"in the SCRUM methodology."),
'project_gtd': fields.boolean('Getting Things Done',
'project_gtd': fields.boolean('Methodology: Getting Things Done',
help="GTD is a methodology to efficiently organise yourself and your tasks. This module fully integrates GTD principle with OpenERP's project management."),
}
project_installer()
+12 -43
View File
@@ -3,56 +3,25 @@
<record id="view_project_installer" model="ir.ui.view">
<field name="name">project.installer.view</field>
<field name="model">project.installer</field>
<field name="model">base.setup.installer</field>
<field name="type">form</field>
<field name="inherit_id" ref="base.res_config_installer"/>
<field name="inherit_id" ref="base_setup.view_base_setup_installer"/>
<field name="arch" type="xml">
<data>
<form position="attributes">
<attribute name="string">Project Application Configuration</attribute>
</form>
<separator string="title" position="attributes">
<attribute name="string">Configure Your Project Management Application</attribute>
</separator>
<xpath expr='//separator[@string="vsep"]' position='attributes'>
<attribute name='string'></attribute>
</xpath>
<xpath expr="//label[@string='description']" position="attributes">
<attribute name="string">Various OpenERP applications are available to manage your projects with different level of control and flexibility.</attribute>
</xpath>
<xpath expr="//button[@string='Install Modules']" position="attributes">
<attribute name="string">Configure</attribute>
</xpath>
<group colspan="8">
<field name="project_issue"/>
<field name="project_long_term" groups="base.group_extended"/>
<field name="hr_timesheet_sheet"/>
<field name="project_timesheet"/>
<field name="account_budget" groups="base.group_extended"/>
<xpath expr="//field[@name='product_expiry']" position="after">
<newline/>
<separator string="Methodologies" colspan="4"/>
<field name="project_scrum"/>
<field name="project_gtd"/>
</group>
<separator string="Project Management Details" colspan="4" />
<field name="project_issue" />
<field name="project_long_term" />
<field name="hr_timesheet_sheet" />
<field name="project_timesheet" />
<field name="account_budget" />
<field name="project_scrum" />
<field name="project_gtd" />
</xpath>
</data>
</field>
</record>
<record id="action_project_installer" model="ir.actions.act_window">
<field name="name">Project Application Configuration</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">project.installer</field>
<field name="view_id" ref="view_project_installer"/>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
<record id="project_installer_todo" model="ir.actions.todo">
<field name="action_id" ref="action_project_installer"/>
<field name="type">special</field>
<field name="sequence">3</field>
</record>
</data>
</openerp>
+1 -2
View File
@@ -21,8 +21,7 @@
from osv import fields, osv
class purchase_installer(osv.osv_memory):
_name = 'purchase.installer'
_inherit = 'res.config.installer'
_inherit = 'base.setup.installer'
_columns = {
'purchase_requisition':fields.boolean('Purchase Requisition',help="Manages your Purchase Requisition and allows you to easily keep track and manage all your purchase orders."),
+8 -40
View File
@@ -3,51 +3,19 @@
<data>
<record id="view_purchase_install_module_form" model="ir.ui.view">
<field name="name">Purchases Application Configuration</field>
<field name="model">purchase.installer</field>
<field name="model">base.setup.installer</field>
<field name="type">form</field>
<field name="inherit_id" ref="base.res_config_installer"/>
<field name="inherit_id" ref="base_setup.view_base_setup_installer"/>
<field name="arch" type="xml">
<data>
<form position="attributes">
<attribute name="string">Purchases Application Configuration</attribute>
</form>
<xpath expr='//separator[@string="vsep"]' position='attributes'>
<attribute name='string'></attribute>
</xpath>
<separator string="title" position="attributes">
<attribute name="string"
>Configure Your Purchases Management Application</attribute>
</separator>
<xpath expr="//label[@string='description']"
position="attributes">
<attribute name="string">Extend your Purchases Management Application with additional functionalities.</attribute>
</xpath>
<xpath expr="//button[@string='Install Modules']" position="attributes">
<attribute name="string">Configure</attribute>
</xpath>
<group colspan="8">
<field name="purchase_requisition"/>
<field name="purchase_analytic_plans"/>
</group>
<xpath expr="//field[@name='product_expiry']" position="after">
<newline/>
<separator string="Purchase Management Details" colspan="4" />
<field name="purchase_requisition" />
<field name="purchase_analytic_plans" />
</xpath>
</data>
</field>
</record>
<record id="action_purchase_install_module" model="ir.actions.act_window">
<field name="name">Purchases Application Configuration</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">purchase.installer</field>
<field name="view_id" ref="view_purchase_install_module_form"/>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
<record id="purchase_installer_todo" model="ir.actions.todo">
<field name="action_id" ref="action_purchase_install_module"/>
<field name="sequence">3</field>
<field name="type">special</field>
<field name="groups_id" eval="[(6,0,[ref('base.group_extended')])]"/>
</record>
</data>
</openerp>
+1 -2
View File
@@ -21,8 +21,7 @@
from osv import fields, osv
class report_designer_installer(osv.osv_memory):
_name = 'report_designer.installer'
_inherit = 'res.config.installer'
_inherit = 'base.setup.installer'
_columns = {
# Reporting
@@ -2,52 +2,19 @@
<data>
<record id="view_report_designer_installer" model="ir.ui.view">
<field name="name">report_designer.installer.view</field>
<field name="model">report_designer.installer</field>
<field name="model">base.setup.installer</field>
<field name="type">form</field>
<field name="inherit_id" ref="base.res_config_installer"/>
<field name="inherit_id" ref="base_setup.view_base_setup_installer"/>
<field name="arch" type="xml">
<data>
<form position="attributes">
<attribute name="string">Reporting Tools Configuration</attribute>
</form>
<xpath expr='//separator[@string="vsep"]' position='attributes'>
<attribute name='string'></attribute>
<xpath expr="//field[@name='product_expiry']" position="after">
<newline/>
<separator string="Advanced Reporting Details" colspan="4" />
<field name="base_report_designer" />
<field name="base_report_creator" />
</xpath>
<separator string="title" position="attributes">
<attribute name="string"
>Configure Reporting Tools</attribute>
</separator>
<xpath expr="//label[@string='description']"
position="attributes">
<attribute name="string"
>OpenERP's built-in reporting abilities can be improved even further with some of the following applications</attribute>
</xpath>
<xpath expr="//button[@string='Install Modules']" position="attributes">
<attribute name="string">Configure</attribute>
</xpath>
<group colspan="8">
<field name="base_report_designer"/>
<field name="base_report_creator"/>
</group>
</data>
</field>
</record>
<record id="action_report_designer_installer" model="ir.actions.act_window">
<field name="name">Reporting Tools Configuration</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">report_designer.installer</field>
<field name="view_id" ref="view_report_designer_installer"/>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
<record id="report_designer_installer_todo" model="ir.actions.todo">
<field name="action_id" ref="action_report_designer_installer"/>
<field name="type">normal</field>
<field name="state">skip</field>
<field name="sequence">3</field>
</record>
</data>
</openerp>
+1 -2
View File
@@ -22,8 +22,7 @@
from osv import fields, osv
class sale_installer(osv.osv_memory):
_name = 'sale.installer'
_inherit = 'res.config.installer'
_inherit = 'base.setup.installer'
_columns = {
'delivery': fields.boolean('Delivery Costs',
+11 -44
View File
@@ -2,55 +2,22 @@
<data>
<record id="view_sale_installer" model="ir.ui.view">
<field name="name">sale.installer.view</field>
<field name="model">sale.installer</field>
<field name="model">base.setup.installer</field>
<field name="type">form</field>
<field name="inherit_id" ref="base.res_config_installer"/>
<field name="inherit_id" ref="base_setup.view_base_setup_installer"/>
<field name="arch" type="xml">
<data>
<form position="attributes">
<attribute name="string">Sales Application Configuration</attribute>
</form>
<separator string="title" position="attributes">
<attribute name="string">Configure Your Sales Management Application</attribute>
</separator>
<xpath expr="//label[@string='description']"
position="attributes">
<attribute name="string">Enhance your core Sales Application with additional functionalities.</attribute>
</xpath>
<xpath expr='//separator[@string="vsep"]' position='attributes'>
<attribute name='string'></attribute>
</xpath>
<xpath expr="//button[@string='Install Modules']" position="attributes">
<attribute name="string">Configure</attribute>
</xpath>
<group colspan="8">
<field name="delivery"/>
<field name="sale_journal"/>
<field name="sale_layout"/>
<field name="sale_margin"/>
<field name="sale_order_dates"/>
</group>
<xpath expr="//field[@name='product_expiry']" position="after">
<newline/>
<separator string="Sales Management Details" colspan="4" />
<field name="delivery" />
<field name="sale_journal" />
<field name="sale_layout" />
<field name="sale_margin" />
<field name="sale_order_dates" />
</xpath>
</data>
</field>
</record>
<record id="action_sale_installer" model="ir.actions.act_window">
<field name="name">Sales Application Configuration</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">sale.installer</field>
<field name="view_id" ref="view_sale_installer"/>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
<record id="sale_installer_todo" model="ir.actions.todo">
<field name="action_id" ref="action_sale_installer"/>
<field name="type">special</field>
<field name="sequence">3</field>
<field name="groups_id" eval="[(6,0,[ref('base.group_extended')])]"/>
</record>
</data>
</openerp>
+2 -1
View File
@@ -574,7 +574,8 @@
<!-- register configuration wizard -->
<record id="config_wizard_step_sale_picking_policy" model="ir.actions.todo">
<field name="action_id" ref="action_config_picking_policy"/>
<field name="type">special</field>
<field name="type">normal</field>
<field name="state">skip</field>
<field name="groups_id" eval="[(6,0,[ref('base.group_extended')])]"/>
</record>