[IMP] Move all installers into base_setup
bzr revid: stw@openerp.com-20110926164323-ob28bw1zgfmaih9c
This commit is contained in:
parent
9633196fdc
commit
57911141bc
|
@ -43,26 +43,6 @@
|
|||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_account_modules_installer" model="ir.ui.view">
|
||||
<field name="name">account.installer.modules.form</field>
|
||||
<field name="model">base.setup.installer</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="base_setup.view_base_setup_installer"/>
|
||||
<field name="arch" type="xml">
|
||||
<data>
|
||||
<xpath expr="//group[@name='account_accountant']" position="replace">
|
||||
<newline/>
|
||||
<separator string="Accounting & Finance Features" colspan="4"/>
|
||||
<field name="account_followup"/>
|
||||
<field name="account_payment"/>
|
||||
<field name="account_analytic_plans"/>
|
||||
<field name="account_anglo_saxon"/>
|
||||
<field name="account_asset"/>
|
||||
</xpath>
|
||||
</data>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_account_configuration_installer" model="ir.actions.act_window">
|
||||
<field name="name">Accounting Chart Configuration</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
|
|
|
@ -239,26 +239,4 @@ class account_installer(osv.osv_memory):
|
|||
|
||||
account_installer()
|
||||
|
||||
class account_installer_modules(osv.osv_memory):
|
||||
_inherit = 'base.setup.installer'
|
||||
_columns = {
|
||||
'account_analytic_plans': fields.boolean('Multiple Analytic Plans',
|
||||
help="Allows invoice lines to impact multiple analytic accounts "
|
||||
"simultaneously."),
|
||||
'account_payment': fields.boolean('Suppliers Payment Management',
|
||||
help="Streamlines invoice payment and creates hooks to plug "
|
||||
"automated payment systems in."),
|
||||
'account_followup': fields.boolean('Followups Management',
|
||||
help="Helps you generate reminder letters for unpaid invoices, "
|
||||
"including multiple levels of reminding and customized "
|
||||
"per-partner policies."),
|
||||
'account_anglo_saxon': fields.boolean('Anglo-Saxon Accounting',
|
||||
help="This module will support the Anglo-Saxons accounting methodology by "
|
||||
"changing the accounting logic with stock transactions."),
|
||||
'account_asset': fields.boolean('Assets Management',
|
||||
help="Helps you to manage your assets and their depreciation entries."),
|
||||
}
|
||||
|
||||
account_installer_modules()
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
|
|
|
@ -18,6 +18,5 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
import profile_association
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
|
||||
|
|
|
@ -1,53 +0,0 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
from lxml import etree
|
||||
from osv import fields, osv
|
||||
|
||||
class profile_association_config_install_modules_wizard(osv.osv_memory):
|
||||
_inherit = 'base.setup.installer'
|
||||
|
||||
_columns = {
|
||||
'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."),
|
||||
'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 "
|
||||
"to keep track of business knowledge and share it with "
|
||||
"and between your employees."),
|
||||
}
|
||||
|
||||
# Will be removed when rd-v61-al-config-depends will be done
|
||||
def fields_view_get(self, cr, user, view_id=None, view_type='form', context=None, toolbar=False, submenu=False):
|
||||
res = super(profile_association_config_install_modules_wizard, self).fields_view_get(cr, user, view_id, view_type, context, toolbar=toolbar, submenu=submenu)
|
||||
doc = etree.XML(res['arch'])
|
||||
for module in ['project_gtd','hr_expense']:
|
||||
count = 0
|
||||
for node in doc.xpath("//field[@name='%s']" % (module)):
|
||||
count = count + 1
|
||||
if count > 1:
|
||||
node.set('invisible', '1')
|
||||
res['arch'] = etree.tostring(doc)
|
||||
return res
|
||||
|
||||
profile_association_config_install_modules_wizard()
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -1,24 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<record id="view_confirm_install_module_form" model="ir.ui.view">
|
||||
<field name="name">Association Application Configuration</field>
|
||||
<field name="model">base.setup.installer</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="base_setup.view_base_setup_installer"/>
|
||||
<field name="arch" type="xml">
|
||||
<data>
|
||||
<xpath expr="//group[@name='association']" position="replace">
|
||||
<newline/>
|
||||
<separator string="Associations Features" colspan="4" />
|
||||
<field name="project_gtd" />
|
||||
<field name="wiki" />
|
||||
<field name="event_project" />
|
||||
<field name="hr_expense" />
|
||||
</xpath>
|
||||
</data>
|
||||
</field>
|
||||
</record>
|
||||
<menuitem
|
||||
name="Association"
|
||||
id="base.menu_association"
|
||||
|
|
|
@ -24,6 +24,9 @@ import pooler
|
|||
import tools
|
||||
from osv import fields, osv
|
||||
from tools.translate import _
|
||||
from lxml import etree
|
||||
from osv import fields, osv
|
||||
|
||||
|
||||
#Application and feature chooser, this could be done by introspecting ir.modules
|
||||
|
||||
|
@ -89,7 +92,190 @@ class base_setup_installer(osv.osv_memory):
|
|||
help="Installs a preselected set of OpenERP "
|
||||
"applications selected to help you manage your auctions "
|
||||
"as well as the business processes around them."),
|
||||
}
|
||||
'account_analytic_plans': fields.boolean('Multiple Analytic Plans',
|
||||
help="Allows invoice lines to impact multiple analytic accounts "
|
||||
"simultaneously."),
|
||||
'account_payment': fields.boolean('Suppliers Payment Management',
|
||||
help="Streamlines invoice payment and creates hooks to plug "
|
||||
"automated payment systems in."),
|
||||
'account_followup': fields.boolean('Followups Management',
|
||||
help="Helps you generate reminder letters for unpaid invoices, "
|
||||
"including multiple levels of reminding and customized "
|
||||
"per-partner policies."),
|
||||
'account_anglo_saxon': fields.boolean('Anglo-Saxon Accounting',
|
||||
help="This module will support the Anglo-Saxons accounting methodology by "
|
||||
"changing the accounting logic with stock transactions."),
|
||||
'account_asset': fields.boolean('Assets Management',
|
||||
help="Helps you to manage your assets and their depreciation entries."),
|
||||
# Manufacturing Resource Planning
|
||||
'stock_location': fields.boolean('Advanced Routes',
|
||||
help="Manages product routes and paths within and between "
|
||||
"locations (e.g. warehouses)."),
|
||||
'mrp_jit': fields.boolean('Just In Time Scheduling',
|
||||
help="Enables Just In Time computation of procurement orders."
|
||||
"\n\nWhile it's more resource intensive than the default "
|
||||
"setup, the JIT computer avoids having to wait for the "
|
||||
"procurement scheduler to run or having to run the "
|
||||
"procurement scheduler manually."),
|
||||
'mrp_operations': fields.boolean('Manufacturing Operations',
|
||||
help="Enhances production orders with readiness states as well "
|
||||
"as the start date and end date of execution of the order."),
|
||||
'mrp_subproduct': fields.boolean('MRP Subproducts',
|
||||
help="Enables multiple product output from a single production "
|
||||
"order: without this, a production order can have only one "
|
||||
"output product."),
|
||||
'mrp_repair': fields.boolean('Repairs',
|
||||
help="Enables warranty and repair management (and their impact "
|
||||
"on stocks and invoicing)."),
|
||||
# Knowledge Management
|
||||
'document_ftp':fields.boolean('Shared Repositories (FTP)',
|
||||
help="Provides an FTP access to your OpenERP's "
|
||||
"Document Management System. It lets you access attachments "
|
||||
"and virtual documents through a standard FTP client."),
|
||||
'document_webdav':fields.boolean('Shared Repositories (WebDAV)',
|
||||
help="Provides a WebDAV access to your OpenERP's Document "
|
||||
"Management System. Lets you access attachments and "
|
||||
"virtual documents through your standard file browser."),
|
||||
'wiki':fields.boolean('Collaborative Content (Wiki)',
|
||||
help="Lets you create wiki pages and page groups in order "
|
||||
"to keep track of business knowledge and share it with "
|
||||
"and between your employees."),
|
||||
# Content templates
|
||||
'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('Template: Quality Manual',
|
||||
help="Creates an example skeleton for a standard quality manual."),
|
||||
# Reporting
|
||||
'base_report_designer':fields.boolean('OpenOffice Report Designer',help="Adds wizards to Import/Export .SXW report which "
|
||||
"you can modify in OpenOffice.Once you have modified it you can "
|
||||
"upload the report using the same wizard."),
|
||||
'base_report_creator':fields.boolean('Query Builder',help="Allows you to create any statistic "
|
||||
"reports on several objects. It's a SQL query builder and browser for end users."),
|
||||
'lunch':fields.boolean('Lunch',help='A simple module to help you to manage Lunch orders.'),
|
||||
'subscription':fields.boolean('Recurring Documents',help='Helps to generate automatically recurring documents.'),
|
||||
'survey':fields.boolean('Survey',help='Allows you to organize surveys.'),
|
||||
'idea':fields.boolean('Ideas Box',help='Promote ideas of the employees, votes and discussion on best ideas.'),
|
||||
'share':fields.boolean('Web Share',help='Allows you to give restricted access to your OpenERP documents to external users, ' \
|
||||
'such as customers, suppliers, or accountants. You can share any OpenERP Menu such as your project tasks, support requests, invoices, etc.'),
|
||||
'pad': fields.boolean('Collaborative Note Pads',
|
||||
help="This module creates a tighter integration between a Pad "
|
||||
"instance of your choosing and your OpenERP Web Client by "
|
||||
"letting you easily link pads to OpenERP objects via "
|
||||
"OpenERP attachments."),
|
||||
'email_template':fields.boolean('Automated E-Mails',
|
||||
help="Helps you to design templates of emails and integrate them in your different processes."),
|
||||
'marketing_campaign':fields.boolean('Marketing Campaigns',
|
||||
help="Helps you to manage marketing campaigns and automate actions and communication steps."),
|
||||
'crm_profiling':fields.boolean('Profiling Tools',
|
||||
help="Helps you to perform segmentation of partners and design segmentation questionnaires"),
|
||||
# Human Resources Management
|
||||
'hr_holidays': fields.boolean('Leaves Management',
|
||||
help="Tracks employee leaves, allocation requests and planning."),
|
||||
'hr_expense': fields.boolean('Expenses',
|
||||
help="Tracks and manages employee expenses, and can "
|
||||
"automatically re-invoice clients if the expenses are "
|
||||
"project-related."),
|
||||
'hr_recruitment': fields.boolean('Recruitment Process',
|
||||
help="Helps you manage and streamline your recruitment process."),
|
||||
'hr_timesheet_sheet':fields.boolean('Timesheets',
|
||||
help="Tracks and helps employees encode and validate timesheets "
|
||||
"and attendances."),
|
||||
'hr_contract': fields.boolean("Employee's Contracts",
|
||||
help="Extends employee profiles to help manage their contracts."),
|
||||
'hr_evaluation': fields.boolean('Periodic Evaluations',
|
||||
help="Lets you create and manage the periodic evaluation and "
|
||||
"performance review of employees."),
|
||||
'hr_attendance': fields.boolean('Attendances',
|
||||
help="Simplifies the management of employee's attendances."),
|
||||
'hr_payroll': fields.boolean('Payroll',
|
||||
help="Generic Payroll system."),
|
||||
'hr_payroll_account': fields.boolean('Payroll Accounting',
|
||||
help="Generic Payroll system Integrated with Accountings."),
|
||||
# Project Management
|
||||
'project_long_term': fields.boolean(
|
||||
'Long Term Planning',
|
||||
help="Enables long-term projects tracking, including "
|
||||
"multiple-phase projects and resource allocation handling."),
|
||||
'hr_timesheet_sheet': fields.boolean('Timesheets',
|
||||
help="Tracks and helps employees encode and validate timesheets "
|
||||
"and attendances."),
|
||||
'project_timesheet': fields.boolean('Bill Time on Tasks',
|
||||
help="Helps generate invoices based on time spent on tasks, if activated on the project."),
|
||||
'account_budget': fields.boolean('Budgets',
|
||||
help="Helps accountants manage analytic and crossover budgets."),
|
||||
'project_issue': fields.boolean('Issues Tracker',
|
||||
help="Automatically synchronizes project tasks and crm cases."),
|
||||
# Methodologies
|
||||
'project_scrum': fields.boolean('Methodology: SCRUM',
|
||||
help="Implements and tracks the concepts and task types defined "
|
||||
"in the SCRUM methodology."),
|
||||
'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."),
|
||||
'purchase_requisition':fields.boolean('Purchase Requisition',help="Manages your Purchase Requisition and allows you to easily keep track and manage all your purchase orders."),
|
||||
'purchase_analytic_plans': fields.boolean('Purchase Analytic Plans',help="Manages analytic distribution and purchase orders."),
|
||||
'delivery': fields.boolean('Delivery Costs',
|
||||
help="Allows you to compute delivery costs on your quotations."),
|
||||
'sale_journal': fields.boolean('Invoicing journals',
|
||||
help="Allows you to group and invoice your delivery orders according to different invoicing types: daily, weekly, etc."),
|
||||
'sale_layout': fields.boolean('Sales Orders Print Layout',
|
||||
help="Provides some features to improve the layout of the Sales Order reports."),
|
||||
'sale_margin': fields.boolean('Margins in Sales Orders',
|
||||
help="Gives the margin of profitability by calculating "
|
||||
"the difference between Unit Price and Cost Price."),
|
||||
'sale_order_dates': fields.boolean('Full Dates on Sales Orders',
|
||||
help="Adds commitment, requested and effective dates on Sales Orders."),
|
||||
'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."),
|
||||
'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 "
|
||||
"to keep track of business knowledge and share it with "
|
||||
"and between your employees."),
|
||||
'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."),
|
||||
'import_sugarcrm': fields.boolean('Import Data from SugarCRM', help="Help you to import and update data from SugarCRM to OpenERP"),
|
||||
'crm_caldav': fields.boolean('Calendar Synchronizing', help="Helps you to synchronize the meetings with other calendar clients and mobiles."),
|
||||
'sale_crm': fields.boolean('Opportunity to Quotation', help="Create a Quotation from an Opportunity."),
|
||||
'fetchmail': fields.boolean('Fetch Emails', help="Allows you to receive E-Mails from POP/IMAP server."),
|
||||
'thunderbird': fields.boolean('Thunderbird Plug-In', 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 Plug-In', 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."),
|
||||
'import_google': fields.boolean('Google Import', help="Imports contacts and events from your google account."),
|
||||
}
|
||||
|
||||
_defaults = {
|
||||
'mrp_jit': lambda self,cr,uid,*a: self.pool.get('res.users').browse(cr, uid, uid).view == 'simple',
|
||||
'document_ftp':True,
|
||||
'marketing_campaign': lambda *a: 1,
|
||||
}
|
||||
|
||||
def fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False):
|
||||
res = super(base_setup_installer, self).fields_view_get(cr, uid, view_id, view_type, context, toolbar, submenu)
|
||||
doc = etree.XML(res['arch'])
|
||||
for module in ['project_gtd','hr_expense']:
|
||||
count = 0
|
||||
for node in doc.xpath("//field[@name='%s']" % (module)):
|
||||
count = count + 1
|
||||
if count > 1:
|
||||
node.set('invisible', '1')
|
||||
res['arch'] = etree.tostring(doc)
|
||||
#Checking sale module is installed or not
|
||||
cr.execute("SELECT * from ir_module_module where state='installed' and name = 'sale'")
|
||||
count = cr.fetchall()
|
||||
if count:
|
||||
doc = etree.XML(res['arch'])
|
||||
nodes = doc.xpath("//field[@name='sale_crm']")
|
||||
for node in nodes:
|
||||
node.set('invisible', '0')
|
||||
node.set('modifiers', '{}')
|
||||
res['arch'] = etree.tostring(doc)
|
||||
return res
|
||||
|
||||
def _if_knowledge(self, cr, uid, ids, context=None):
|
||||
if self.pool.get('res.users').browse(cr, uid, uid, context=context)\
|
||||
|
@ -138,6 +324,8 @@ class base_setup_installer(osv.osv_memory):
|
|||
self.pool = pooler.restart_pool(cr.dbname, update_module=True)[1]
|
||||
return
|
||||
|
||||
|
||||
|
||||
#Migrate data from another application Conf wiz
|
||||
|
||||
class migrade_application_installer_modules(osv.osv_memory):
|
||||
|
@ -158,11 +346,11 @@ class product_installer(osv.osv_memory):
|
|||
_name = 'product.installer'
|
||||
_inherit = 'res.config'
|
||||
_columns = {
|
||||
'customers': fields.selection([('create','Create'), ('import','Import')], 'Customers', size=32, required=True, help="Import or create customers"),
|
||||
'customers': fields.selection([('create','Create'), ('import','Import')], 'Customers', size=32, required=True, help="Import or create customers"),
|
||||
|
||||
}
|
||||
_defaults = {
|
||||
'customers': 'create',
|
||||
'customers': 'create',
|
||||
}
|
||||
|
||||
def execute(self, cr, uid, ids, context=None):
|
||||
|
|
|
@ -39,22 +39,113 @@
|
|||
<field name="marketing" groups="base.group_extended" />
|
||||
<field name="point_of_sale"/>
|
||||
<field name="report_designer" groups="base.group_extended" />
|
||||
<separator string="Install Specific Industry Applications" colspan="4"/>
|
||||
<field name="association" />
|
||||
<field name="auction" />
|
||||
<field name="product_expiry" />
|
||||
<group name="crm"/>
|
||||
<group name="sale"/>
|
||||
<group name="project"/>
|
||||
<group name="knowledge"/>
|
||||
<group name="mrp"/>
|
||||
<group name="account_accountant"/>
|
||||
<group name="purchase"/>
|
||||
<group name="hr"/>
|
||||
<group name="profile_tools"/>
|
||||
<group name="marketing"/>
|
||||
<group name="report_designer"/>
|
||||
<group name="association"/>
|
||||
|
||||
<group name="crm" colspan="4">
|
||||
<separator string="Customer Relationship Management Features" 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="import_sugarcrm"/>
|
||||
<field name="fetchmail"/>
|
||||
<field name="thunderbird"/>
|
||||
<field name="outlook"/>
|
||||
</group>
|
||||
<group name="sale" colspan="4">
|
||||
<separator string="Sales Management Features" colspan="4" />
|
||||
<field name="delivery" />
|
||||
<field name="sale_journal" />
|
||||
<field name="sale_layout" />
|
||||
<field name="sale_margin" />
|
||||
<field name="sale_order_dates" />
|
||||
</group>
|
||||
<group name="project" colspan="4">
|
||||
<separator string="Project Management Features" 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" />
|
||||
</group>
|
||||
<group name="knowledge" colspan="4">
|
||||
<separator string="Knowledge Management Features" colspan="4" />
|
||||
<field name="document_ftp" />
|
||||
<field name="document_webdav" />
|
||||
<field name="wiki" />
|
||||
<field name="wiki_faq" />
|
||||
<field name="wiki_quality_manual" />
|
||||
<field name="stock" />
|
||||
</group>
|
||||
<group name="mrp" colspan="4">
|
||||
<separator string="Manufacturing Features" colspan="4" />
|
||||
<field name="stock_location" />
|
||||
<field name="mrp_jit" />
|
||||
<field name="mrp_operations" />
|
||||
<field name="mrp_subproduct" />
|
||||
<field name="mrp_repair" />
|
||||
<field name="account_voucher" />
|
||||
</group>
|
||||
<group name="account_accountant" colspan="4">
|
||||
<separator string="Accounting & Finance Features" colspan="4"/>
|
||||
<field name="account_followup"/>
|
||||
<field name="account_payment"/>
|
||||
<field name="account_analytic_plans"/>
|
||||
<field name="account_anglo_saxon"/>
|
||||
<field name="account_asset"/>
|
||||
<field name="purchase" />
|
||||
</group>
|
||||
|
||||
<group name="hr" colspan="4">
|
||||
<separator string="Human Resources Features" 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"/>
|
||||
<field name="hr_payroll"/>
|
||||
<field name="hr_payroll_account" groups="base.group_extended"/>
|
||||
</group>
|
||||
<group name="profile_tools" colspan="4">
|
||||
<separator string="Extra Tools Features" colspan="4" />
|
||||
<field name="share" />
|
||||
<field name="lunch" />
|
||||
<field name="idea" />
|
||||
<field name="survey" />
|
||||
<field name="subscription" />
|
||||
<field name="pad" />
|
||||
</group>
|
||||
<group name="marketing" colspan="4">
|
||||
<separator string="Marketing Features" colspan="4" />
|
||||
<field name="marketing_campaign" />
|
||||
<field name="email_template" />
|
||||
<field name="crm_profiling" />
|
||||
<field name="point_of_sale"/>
|
||||
</group>
|
||||
<group name="report_designer" colspan="4">
|
||||
<separator string="Advanced Reporting Features" colspan="4" />
|
||||
<field name="base_report_designer" />
|
||||
<field name="base_report_creator" />
|
||||
</group>
|
||||
<group name="association" colspan="4">
|
||||
<separator string="Associations Features" colspan="4" />
|
||||
<field name="project_gtd" />
|
||||
<field name="wiki" />
|
||||
<field name="event_project" />
|
||||
<field name="hr_expense" />
|
||||
<field name="auction" />
|
||||
<field name="product_expiry" />
|
||||
</group>
|
||||
<group name="purchase" colspan="4">
|
||||
<separator string="Purchase Management Features" colspan="4" />
|
||||
<field name="purchase_requisition" />
|
||||
<field name="purchase_analytic_plans" />
|
||||
</group>
|
||||
</group>
|
||||
</data>
|
||||
</field>
|
||||
|
|
|
@ -25,7 +25,6 @@ import crm_segmentation
|
|||
import crm_meeting
|
||||
import crm_lead
|
||||
import crm_phonecall
|
||||
import crm_installer
|
||||
import report
|
||||
import wizard
|
||||
import res_partner
|
||||
|
|
|
@ -1,59 +0,0 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
from lxml import etree
|
||||
from osv import fields, osv
|
||||
|
||||
class crm_installer(osv.osv_memory):
|
||||
_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."),
|
||||
'import_sugarcrm': fields.boolean('Import Data from SugarCRM', help="Help you to import and update data from SugarCRM to OpenERP"),
|
||||
'crm_caldav': fields.boolean('Calendar Synchronizing', help="Helps you to synchronize the meetings with other calendar clients and mobiles."),
|
||||
'sale_crm': fields.boolean('Opportunity to Quotation', help="Create a Quotation from an Opportunity."),
|
||||
'fetchmail': fields.boolean('Fetch Emails', help="Allows you to receive E-Mails from POP/IMAP server."),
|
||||
'thunderbird': fields.boolean('Thunderbird Plug-In', 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 Plug-In', 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."),
|
||||
'import_google': fields.boolean('Google Import', help="Imports contacts and events from your google account."),
|
||||
}
|
||||
|
||||
def fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False):
|
||||
res = super(crm_installer, self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar,submenu=False)
|
||||
#Checking sale module is installed or not
|
||||
cr.execute("SELECT * from ir_module_module where state='installed' and name = 'sale'")
|
||||
count = cr.fetchall()
|
||||
if count:
|
||||
doc = etree.XML(res['arch'])
|
||||
nodes = doc.xpath("//field[@name='sale_crm']")
|
||||
for node in nodes:
|
||||
node.set('invisible', '0')
|
||||
node.set('modifiers', '{}')
|
||||
res['arch'] = etree.tostring(doc)
|
||||
return res
|
||||
|
||||
crm_installer()
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -1,29 +1,5 @@
|
|||
<openerp>
|
||||
<data>
|
||||
<record id="view_crm_installer" model="ir.ui.view">
|
||||
<field name="name">crm.installer.view</field>
|
||||
<field name="model">base.setup.installer</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="base_setup.view_base_setup_installer"/>
|
||||
<field name="arch" type="xml">
|
||||
<data>
|
||||
<xpath expr="//group[@name='crm']" position="replace">
|
||||
<newline/>
|
||||
<separator string="Customer Relationship Management Features" 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="import_sugarcrm"/>
|
||||
<field name="fetchmail"/>
|
||||
<field name="thunderbird"/>
|
||||
<field name="outlook"/>
|
||||
</xpath>
|
||||
</data>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.actions.act_window" id="crm_case_section_view_form_installer">
|
||||
<field name="name">Define Sales Team</field>
|
||||
|
|
|
@ -21,9 +21,8 @@
|
|||
|
||||
import hr_department
|
||||
import hr
|
||||
import installer
|
||||
|
||||
import report
|
||||
import wizard
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
|
|
|
@ -1,29 +1,6 @@
|
|||
<openerp>
|
||||
<data>
|
||||
|
||||
<record id="view_hr_installer" model="ir.ui.view">
|
||||
<field name="name">hr.installer.view</field>
|
||||
<field name="model">base.setup.installer</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="base_setup.view_base_setup_installer"/>
|
||||
<field name="arch" type="xml">
|
||||
<data>
|
||||
<xpath expr="//group[@name='hr']" position="replace">
|
||||
<newline/>
|
||||
<separator string="Human Resources Features" 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"/>
|
||||
<field name="hr_payroll"/>
|
||||
<field name="hr_payroll_account" groups="base.group_extended"/>
|
||||
</xpath>
|
||||
</data>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="category_hr_management_config" model="ir.actions.todo.category">
|
||||
<field name="name">HR Management</field>
|
||||
|
|
|
@ -1,52 +0,0 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
from osv import fields, osv
|
||||
|
||||
class hr_installer(osv.osv_memory):
|
||||
_inherit = 'base.setup.installer'
|
||||
_columns = {
|
||||
# Human Resources Management
|
||||
'hr_holidays': fields.boolean('Leaves Management',
|
||||
help="Tracks employee leaves, allocation requests and planning."),
|
||||
'hr_expense': fields.boolean('Expenses',
|
||||
help="Tracks and manages employee expenses, and can "
|
||||
"automatically re-invoice clients if the expenses are "
|
||||
"project-related."),
|
||||
'hr_recruitment': fields.boolean('Recruitment Process',
|
||||
help="Helps you manage and streamline your recruitment process."),
|
||||
'hr_timesheet_sheet':fields.boolean('Timesheets',
|
||||
help="Tracks and helps employees encode and validate timesheets "
|
||||
"and attendances."),
|
||||
'hr_contract': fields.boolean("Employee's Contracts",
|
||||
help="Extends employee profiles to help manage their contracts."),
|
||||
'hr_evaluation': fields.boolean('Periodic Evaluations',
|
||||
help="Lets you create and manage the periodic evaluation and "
|
||||
"performance review of employees."),
|
||||
'hr_attendance': fields.boolean('Attendances',
|
||||
help="Simplifies the management of employee's attendances."),
|
||||
'hr_payroll': fields.boolean('Payroll',
|
||||
help="Generic Payroll system."),
|
||||
'hr_payroll_account': fields.boolean('Payroll Accounting',
|
||||
help="Generic Payroll system Integrated with Accountings."),
|
||||
}
|
||||
hr_installer()
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -19,6 +19,5 @@
|
|||
#
|
||||
##############################################################################
|
||||
|
||||
import installer
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
|
|
|
@ -39,7 +39,6 @@ document and Wiki based tools.
|
|||
'update_xml': [
|
||||
'security/knowledge_security.xml',
|
||||
'security/ir.model.access.csv',
|
||||
'knowledge_installer.xml',
|
||||
'knowledge_view.xml',
|
||||
],
|
||||
'demo_xml': ['knowledge_demo.xml'],
|
||||
|
|
|
@ -1,52 +0,0 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
from osv import fields, osv
|
||||
|
||||
class knowledge_installer(osv.osv_memory):
|
||||
_inherit = 'base.setup.installer'
|
||||
|
||||
_columns = {
|
||||
# Knowledge Management
|
||||
'document_ftp':fields.boolean('Shared Repositories (FTP)',
|
||||
help="Provides an FTP access to your OpenERP's "
|
||||
"Document Management System. It lets you access attachments "
|
||||
"and virtual documents through a standard FTP client."),
|
||||
'document_webdav':fields.boolean('Shared Repositories (WebDAV)',
|
||||
help="Provides a WebDAV access to your OpenERP's Document "
|
||||
"Management System. Lets you access attachments and "
|
||||
"virtual documents through your standard file browser."),
|
||||
'wiki':fields.boolean('Collaborative Content (Wiki)',
|
||||
help="Lets you create wiki pages and page groups in order "
|
||||
"to keep track of business knowledge and share it with "
|
||||
"and between your employees."),
|
||||
# Content templates
|
||||
'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('Template: Quality Manual',
|
||||
help="Creates an example skeleton for a standard quality manual."),
|
||||
}
|
||||
_defaults = {
|
||||
'document_ftp':True,
|
||||
}
|
||||
|
||||
knowledge_installer()
|
|
@ -1,23 +0,0 @@
|
|||
<openerp>
|
||||
<data>
|
||||
<record id="view_knowledge_installer" model="ir.ui.view">
|
||||
<field name="name">knowledge.installer.view</field>
|
||||
<field name="model">base.setup.installer</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="base_setup.view_base_setup_installer"/>
|
||||
<field name="arch" type="xml">
|
||||
<data>
|
||||
<xpath expr="//group[@name='knowledge']" position="replace">
|
||||
<newline/>
|
||||
<separator string="Knowledge Management Features" colspan="4" />
|
||||
<field name="document_ftp" />
|
||||
<field name="document_webdav" />
|
||||
<field name="wiki" />
|
||||
<field name="wiki_faq" />
|
||||
<field name="wiki_quality_manual" />
|
||||
</xpath>
|
||||
</data>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
|
@ -19,7 +19,6 @@
|
|||
#
|
||||
##############################################################################
|
||||
|
||||
import marketing_wizard
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
|
||||
|
|
|
@ -11,23 +11,5 @@
|
|||
web_icon="images/marketing.png"
|
||||
web_icon_hover="images/marketing-hover.png"/>
|
||||
|
||||
|
||||
<record id="view_marketing_installer" model="ir.ui.view">
|
||||
<field name="name">marketing.installer.view</field>
|
||||
<field name="model">base.setup.installer</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="base_setup.view_base_setup_installer"/>
|
||||
<field name="arch" type="xml">
|
||||
<data>
|
||||
<xpath expr="//group[@name='marketing']" position="replace">
|
||||
<newline/>
|
||||
<separator string="Marketing Features" colspan="4" />
|
||||
<field name="marketing_campaign" />
|
||||
<field name="email_template" />
|
||||
<field name="crm_profiling" />
|
||||
</xpath>
|
||||
</data>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
||||
|
|
|
@ -1,40 +0,0 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
from osv import fields, osv
|
||||
|
||||
class marketing_installer(osv.osv_memory):
|
||||
_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."),
|
||||
'marketing_campaign':fields.boolean('Marketing Campaigns',
|
||||
help="Helps you to manage marketing campaigns and automate actions and communication steps."),
|
||||
'crm_profiling':fields.boolean('Profiling Tools',
|
||||
help="Helps you to perform segmentation of partners and design segmentation questionnaires")
|
||||
}
|
||||
_defaults = {
|
||||
'marketing_campaign': lambda *a: 1,
|
||||
}
|
||||
|
||||
marketing_installer()
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -22,7 +22,6 @@
|
|||
import mrp
|
||||
import stock
|
||||
import product
|
||||
import installer
|
||||
import wizard
|
||||
import report
|
||||
import company
|
||||
|
|
|
@ -1,52 +0,0 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
from osv import fields, osv
|
||||
|
||||
class mrp_installer(osv.osv_memory):
|
||||
_inherit = 'base.setup.installer'
|
||||
|
||||
_columns = {
|
||||
# Manufacturing Resource Planning
|
||||
'stock_location': fields.boolean('Advanced Routes',
|
||||
help="Manages product routes and paths within and between "
|
||||
"locations (e.g. warehouses)."),
|
||||
'mrp_jit': fields.boolean('Just In Time Scheduling',
|
||||
help="Enables Just In Time computation of procurement orders."
|
||||
"\n\nWhile it's more resource intensive than the default "
|
||||
"setup, the JIT computer avoids having to wait for the "
|
||||
"procurement scheduler to run or having to run the "
|
||||
"procurement scheduler manually."),
|
||||
'mrp_operations': fields.boolean('Manufacturing Operations',
|
||||
help="Enhances production orders with readiness states as well "
|
||||
"as the start date and end date of execution of the order."),
|
||||
'mrp_subproduct': fields.boolean('MRP Subproducts',
|
||||
help="Enables multiple product output from a single production "
|
||||
"order: without this, a production order can have only one "
|
||||
"output product."),
|
||||
'mrp_repair': fields.boolean('Repairs',
|
||||
help="Enables warranty and repair management (and their impact "
|
||||
"on stocks and invoicing)."),
|
||||
}
|
||||
|
||||
_defaults = {
|
||||
'mrp_jit': lambda self,cr,uid,*a: self.pool.get('res.users').browse(cr, uid, uid).view == 'simple',
|
||||
}
|
||||
mrp_installer()
|
|
@ -1,26 +1,5 @@
|
|||
<openerp>
|
||||
<data>
|
||||
<record id="view_mrp_installer" model="ir.ui.view">
|
||||
<field name="name">mrp.installer.view</field>
|
||||
<field name="model">base.setup.installer</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="base_setup.view_base_setup_installer"/>
|
||||
<field name="arch" type="xml">
|
||||
<data>
|
||||
<xpath expr="//group[@name='mrp']" position="replace">
|
||||
<newline/>
|
||||
<separator string="Manufacturing Features" colspan="4" />
|
||||
<field name="stock_location" />
|
||||
<field name="mrp_jit" />
|
||||
<field name="mrp_operations" />
|
||||
<field name="mrp_subproduct" />
|
||||
<field name="mrp_repair" />
|
||||
</xpath>
|
||||
</data>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
<record id="category_mrp_config" model="ir.actions.todo.category">
|
||||
<field name="name">MRP Management</field>
|
||||
<field name="sequence">6</field>
|
||||
|
|
|
@ -19,6 +19,5 @@
|
|||
#
|
||||
##############################################################################
|
||||
|
||||
import installer
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
|
|
|
@ -37,7 +37,6 @@ modules like share, lunch, pad, idea, survey and subscription.
|
|||
'website': 'http://www.openerp.com',
|
||||
'init_xml': [],
|
||||
'update_xml': [
|
||||
'misc_tools_installer.xml',
|
||||
],
|
||||
'demo_xml': [],
|
||||
'installable': True,
|
||||
|
|
|
@ -1,40 +0,0 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
from osv import fields, osv
|
||||
|
||||
class misc_tools_installer(osv.osv_memory):
|
||||
_inherit = 'base.setup.installer'
|
||||
|
||||
_columns = {
|
||||
'lunch':fields.boolean('Lunch',help='A simple module to help you to manage Lunch orders.'),
|
||||
'subscription':fields.boolean('Recurring Documents',help='Helps to generate automatically recurring documents.'),
|
||||
'survey':fields.boolean('Survey',help='Allows you to organize surveys.'),
|
||||
'idea':fields.boolean('Ideas Box',help='Promote ideas of the employees, votes and discussion on best ideas.'),
|
||||
'share':fields.boolean('Web Share',help='Allows you to give restricted access to your OpenERP documents to external users, ' \
|
||||
'such as customers, suppliers, or accountants. You can share any OpenERP Menu such as your project tasks, support requests, invoices, etc.'),
|
||||
'pad': fields.boolean('Collaborative Note Pads',
|
||||
help="This module creates a tighter integration between a Pad "
|
||||
"instance of your choosing and your OpenERP Web Client by "
|
||||
"letting you easily link pads to OpenERP objects via "
|
||||
"OpenERP attachments."),
|
||||
}
|
||||
misc_tools_installer()
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
<openerp>
|
||||
<data>
|
||||
<record id="view_misc_tools_installer" model="ir.ui.view">
|
||||
<field name="name">misc_tools.installer.view</field>
|
||||
<field name="model">base.setup.installer</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="base_setup.view_base_setup_installer"/>
|
||||
<field name="arch" type="xml">
|
||||
<data>
|
||||
<xpath expr="//group[@name='profile_tools']" position="replace">
|
||||
<newline/>
|
||||
<separator string="Extra Tools Features" colspan="4" />
|
||||
<field name="share" />
|
||||
<field name="lunch" />
|
||||
<field name="idea" />
|
||||
<field name="survey" />
|
||||
<field name="subscription" />
|
||||
<field name="pad" />
|
||||
</xpath>
|
||||
</data>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
|
@ -21,7 +21,6 @@
|
|||
|
||||
import project
|
||||
import company
|
||||
import installer
|
||||
import report
|
||||
import wizard
|
||||
import res_partner
|
||||
|
|
|
@ -1,51 +0,0 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
from osv import fields, osv
|
||||
|
||||
class project_installer(osv.osv_memory):
|
||||
_inherit = 'base.setup.installer'
|
||||
|
||||
_columns = {
|
||||
# Project Management
|
||||
'project_long_term': fields.boolean(
|
||||
'Long Term Planning',
|
||||
help="Enables long-term projects tracking, including "
|
||||
"multiple-phase projects and resource allocation handling."),
|
||||
'hr_timesheet_sheet': fields.boolean('Timesheets',
|
||||
help="Tracks and helps employees encode and validate timesheets "
|
||||
"and attendances."),
|
||||
'project_timesheet': fields.boolean('Bill Time on Tasks',
|
||||
help="Helps generate invoices based on time spent on tasks, if activated on the project."),
|
||||
'account_budget': fields.boolean('Budgets',
|
||||
help="Helps accountants manage analytic and crossover budgets."),
|
||||
'project_issue': fields.boolean('Issues Tracker',
|
||||
help="Automatically synchronizes project tasks and crm cases."),
|
||||
# Methodologies
|
||||
'project_scrum': fields.boolean('Methodology: SCRUM',
|
||||
help="Implements and tracks the concepts and task types defined "
|
||||
"in the SCRUM methodology."),
|
||||
'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()
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -2,27 +2,6 @@
|
|||
<openerp>
|
||||
<data>
|
||||
|
||||
<record id="view_project_installer" model="ir.ui.view">
|
||||
<field name="name">project.installer.view</field>
|
||||
<field name="model">base.setup.installer</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="base_setup.view_base_setup_installer"/>
|
||||
<field name="arch" type="xml">
|
||||
<data>
|
||||
<xpath expr="//group[@name='project']" position="replace">
|
||||
<newline/>
|
||||
<separator string="Project Management Features" 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="category_project_config" model="ir.actions.todo.category">
|
||||
<field name="name">Project Management</field>
|
||||
|
|
|
@ -20,15 +20,6 @@
|
|||
##############################################################################
|
||||
from osv import fields, osv
|
||||
|
||||
class purchase_installer(osv.osv_memory):
|
||||
_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."),
|
||||
'purchase_analytic_plans': fields.boolean('Purchase Analytic Plans',help="Manages analytic distribution and purchase orders.")
|
||||
}
|
||||
purchase_installer()
|
||||
|
||||
class purchase_config_wizard(osv.osv_memory):
|
||||
_name = 'purchase.config.wizard'
|
||||
|
||||
|
|
|
@ -1,22 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<record id="view_purchase_install_module_form" model="ir.ui.view">
|
||||
<field name="name">Purchases Application Configuration</field>
|
||||
<field name="model">base.setup.installer</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="base_setup.view_base_setup_installer"/>
|
||||
<field name="arch" type="xml">
|
||||
<data>
|
||||
<xpath expr="//group[@name='purchase']" position="replace">
|
||||
<newline/>
|
||||
<separator string="Purchase Management Features" colspan="4" />
|
||||
<field name="purchase_requisition" />
|
||||
<field name="purchase_analytic_plans" />
|
||||
</xpath>
|
||||
</data>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_import_create_supplier_installer" model="ir.actions.act_window">
|
||||
<field name="name">Create or Import Suppliers</field>
|
||||
|
|
|
@ -19,6 +19,5 @@
|
|||
#
|
||||
##############################################################################
|
||||
|
||||
import installer
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
|
|
|
@ -37,7 +37,6 @@ modules like base_report_designer and base_report_creator.
|
|||
'init_xml': [],
|
||||
'update_xml': [
|
||||
'security/ir.model.access.csv',
|
||||
'report_designer_installer.xml',
|
||||
],
|
||||
'demo_xml': [],
|
||||
'installable': True,
|
||||
|
|
|
@ -1,35 +0,0 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
from osv import fields, osv
|
||||
|
||||
class report_designer_installer(osv.osv_memory):
|
||||
_inherit = 'base.setup.installer'
|
||||
|
||||
_columns = {
|
||||
# Reporting
|
||||
'base_report_designer':fields.boolean('OpenOffice Report Designer',help="Adds wizards to Import/Export .SXW report which "
|
||||
"you can modify in OpenOffice.Once you have modified it you can "
|
||||
"upload the report using the same wizard."),
|
||||
'base_report_creator':fields.boolean('Query Builder',help="Allows you to create any statistic "
|
||||
"reports on several objects. It's a SQL query builder and browser for end users."),
|
||||
}
|
||||
report_designer_installer()
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
<openerp>
|
||||
<data>
|
||||
<record id="view_report_designer_installer" model="ir.ui.view">
|
||||
<field name="name">report_designer.installer.view</field>
|
||||
<field name="model">base.setup.installer</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="base_setup.view_base_setup_installer"/>
|
||||
<field name="arch" type="xml">
|
||||
<data>
|
||||
<xpath expr="//group[@name='report_designer']" position="replace">
|
||||
<newline/>
|
||||
<separator string="Advanced Reporting Features" colspan="4" />
|
||||
<field name="base_report_designer" />
|
||||
<field name="base_report_creator" />
|
||||
</xpath>
|
||||
</data>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
|
@ -25,7 +25,6 @@
|
|||
|
||||
import sale
|
||||
import stock
|
||||
import sale_installer
|
||||
import wizard
|
||||
import report
|
||||
import company
|
||||
|
|
|
@ -79,7 +79,6 @@ Dashboard for Sales Manager that includes:
|
|||
'sale_sequence.xml',
|
||||
'sale_data.xml',
|
||||
'sale_view.xml',
|
||||
'sale_installer.xml',
|
||||
'report/sale_report_view.xml',
|
||||
'sale_report.xml',
|
||||
'stock_view.xml',
|
||||
|
|
|
@ -1,43 +0,0 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
from osv import fields, osv
|
||||
|
||||
class sale_installer(osv.osv_memory):
|
||||
_inherit = 'base.setup.installer'
|
||||
|
||||
_columns = {
|
||||
'delivery': fields.boolean('Delivery Costs',
|
||||
help="Allows you to compute delivery costs on your quotations."),
|
||||
'sale_journal': fields.boolean('Invoicing journals',
|
||||
help="Allows you to group and invoice your delivery orders according to different invoicing types: daily, weekly, etc."),
|
||||
'sale_layout': fields.boolean('Sales Orders Print Layout',
|
||||
help="Provides some features to improve the layout of the Sales Order reports."),
|
||||
'sale_margin': fields.boolean('Margins in Sales Orders',
|
||||
help="Gives the margin of profitability by calculating "
|
||||
"the difference between Unit Price and Cost Price."),
|
||||
'sale_order_dates': fields.boolean('Full Dates on Sales Orders',
|
||||
help="Adds commitment, requested and effective dates on Sales Orders."),
|
||||
}
|
||||
|
||||
sale_installer()
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -1,23 +0,0 @@
|
|||
<openerp>
|
||||
<data>
|
||||
<record id="view_sale_installer" model="ir.ui.view">
|
||||
<field name="name">sale.installer.view</field>
|
||||
<field name="model">base.setup.installer</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="base_setup.view_base_setup_installer"/>
|
||||
<field name="arch" type="xml">
|
||||
<data>
|
||||
<xpath expr="//group[@name='sale']" position="replace">
|
||||
<newline/>
|
||||
<separator string="Sales Management Features" 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>
|
||||
</data>
|
||||
</openerp>
|
Loading…
Reference in New Issue