commit
3dfcd6465b
|
@ -20,6 +20,7 @@
|
|||
##############################################################################
|
||||
|
||||
import account
|
||||
import installer
|
||||
import project
|
||||
import partner
|
||||
import invoice
|
||||
|
|
|
@ -58,6 +58,7 @@
|
|||
'process/supplier_invoice_process.xml',
|
||||
'sequence_view.xml',
|
||||
'company_view.xml',
|
||||
'account_installer.xml',
|
||||
],
|
||||
'demo_xml': [
|
||||
'account_demo.xml',
|
||||
|
|
|
@ -0,0 +1,63 @@
|
|||
<openerp>
|
||||
<data>
|
||||
<record id="view_account_installer" model="ir.ui.view">
|
||||
<field name="name">account.installer.view</field>
|
||||
<field name="model">account.installer</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="base.res_config_view_base"/>
|
||||
<field name="arch" type="xml">
|
||||
<data>
|
||||
<form position="attributes"><attribute name="string">
|
||||
Accounting Modules Installation
|
||||
</attribute></form>
|
||||
|
||||
<group string="res_config_contents" position="replace">
|
||||
<separator string="Configure Your Accounting System" colspan="4"/>
|
||||
<image name="gtk-dialog-info"/>
|
||||
<newline/>
|
||||
<label align="0.0" string=" Lorem ipsum dolor
|
||||
sit amet, consectetur adipiscing elit. Cras metus
|
||||
augue, ultricies et vehicula id, fringilla quis
|
||||
mauris. Vestibulum fringilla ipsum sit amet est
|
||||
adipiscing eget euismod velit semper. Proin non mauris
|
||||
velit. Donec malesuada nisi sed augue viverra commodo
|
||||
sagittis nisi rutrum. Cras vitae libero nunc, a
|
||||
molestie sapien. Proin et augue sit amet est egestas
|
||||
fermentum ut eu lacus. Etiam nisi orci, volutpat
|
||||
aliquam viverra interdum, vehicula iaculis
|
||||
lectus. Mauris ligula sapien, auctor in pharetra non,
|
||||
ultrices quis odio."/>
|
||||
<group>
|
||||
<separator string="Accounting" colspan="4"/>
|
||||
<field name="account_analytic_default"/>
|
||||
<field name="account_analytic_plans"/>
|
||||
<!-- insert suppliers payment management here -->
|
||||
<field name="account_followup"/>
|
||||
<field name="account_asset"/>
|
||||
</group>
|
||||
</group>
|
||||
|
||||
<xpath expr='//button[@name="action_skip"]' position='replace'/>
|
||||
<xpath expr='//button[@name="action_next"]' position='attributes'>
|
||||
<attribute name='string'>Install Modules</attribute>
|
||||
</xpath>
|
||||
</data>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_account_installer" model="ir.actions.act_window">
|
||||
<field name="name">Accounting Modules Installation</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">account.installer</field>
|
||||
<field name="view_id" ref="view_account_installer"/>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">new</field>
|
||||
</record>
|
||||
|
||||
<record id="account_installer_todo" model="ir.actions.todo">
|
||||
<field name="action_id" ref="action_account_installer"/>
|
||||
<field name="sequence">1</field>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
|
@ -0,0 +1,38 @@
|
|||
# -*- 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 account_installer(osv.osv_memory):
|
||||
_name = 'account.installer'
|
||||
_inherit = 'res.config.installer'
|
||||
|
||||
_columns = {
|
||||
# Accounting
|
||||
'account_analytic_default':fields.boolean('Analytic Accounting'),
|
||||
'account_analytic_plans':fields.boolean('Multiple Analytic Plans'),
|
||||
'account_payment':fields.boolean('Suppliers Payment Management'),
|
||||
'account_followup':fields.boolean('Followups Management'),
|
||||
'account_asset':fields.boolean('Assets Management')
|
||||
}
|
||||
_defaults = {
|
||||
'account_analytic_default':True,
|
||||
}
|
||||
account_installer()
|
|
@ -19,6 +19,7 @@
|
|||
#
|
||||
##############################################################################
|
||||
|
||||
import installer
|
||||
import wizard
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
|
|
|
@ -41,7 +41,9 @@
|
|||
'website': 'http://www.openerp.com',
|
||||
'depends': ['base'],
|
||||
'init_xml': ['base_setup_data.xml'],
|
||||
'update_xml': ['security/ir.model.access.csv', 'base_setup_wizard.xml'],
|
||||
'update_xml': ['security/ir.model.access.csv',
|
||||
'base_setup_wizard.xml',
|
||||
'base_setup_installer.xml'],
|
||||
'demo_xml': ['base_setup_demo.xml'],
|
||||
'installable': True,
|
||||
'active': True,
|
||||
|
|
|
@ -0,0 +1,71 @@
|
|||
<openerp>
|
||||
<data>
|
||||
<record id="view_base_setup_installer" model="ir.ui.view">
|
||||
<field name="name">base.setup.installer.view</field>
|
||||
<field name="model">base.setup.installer</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="base.res_config_view_base"/>
|
||||
<field name="arch" type="xml">
|
||||
<data>
|
||||
<form position="attributes"><attribute name="string">
|
||||
Base Setup Modules Installation
|
||||
</attribute></form>
|
||||
|
||||
<group string="res_config_contents" position="replace">
|
||||
<separator string="Install Modules" colspan="4"/>
|
||||
<image name="gtk-dialog-info"/>
|
||||
<newline/>
|
||||
<label align="0.0" string=" Lorem ipsum dolor
|
||||
sit amet, consectetur adipiscing elit. Cras metus
|
||||
augue, ultricies et vehicula id, fringilla quis
|
||||
mauris. Vestibulum fringilla ipsum sit amet est
|
||||
adipiscing eget euismod velit semper. Proin non mauris
|
||||
velit. Donec malesuada nisi sed augue viverra commodo
|
||||
sagittis nisi rutrum. Cras vitae libero nunc, a
|
||||
molestie sapien. Proin et augue sit amet est egestas
|
||||
fermentum ut eu lacus. Etiam nisi orci, volutpat
|
||||
aliquam viverra interdum, vehicula iaculis
|
||||
lectus. Mauris ligula sapien, auctor in pharetra non,
|
||||
ultrices quis odio."/>
|
||||
<group>
|
||||
<separator string="Generic Modules" colspan="4"/>
|
||||
<field name="crm"/> <field name="sale"/>
|
||||
<field name="project"/> <field name="knowledge"/>
|
||||
<field name="stock"/> <field name="mrp"/>
|
||||
<field name="account"/>
|
||||
<field name="charts" attrs="{readonly:[('account','=',False)]}"/>
|
||||
<field name="purchase"/> <field name="hr"/>
|
||||
<field name="pos"/> <field name="marketing"/>
|
||||
<field name="tools"/> <field name="report_design"/>
|
||||
<separator string="Generic Modules" colspan="4"/>
|
||||
<field name="profile_association"/>
|
||||
<field name="profile_training"/>
|
||||
<field name="profile_auction"/>
|
||||
<field name="profile_bookstore"/>
|
||||
</group>
|
||||
</group>
|
||||
|
||||
<xpath expr='//button[@name="action_skip"]' position='replace'/>
|
||||
<xpath expr='//button[@name="action_next"]' position='attributes'>
|
||||
<attribute name='string'>Install Modules</attribute>
|
||||
</xpath>
|
||||
</data>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_base_setup_installer" model="ir.actions.act_window">
|
||||
<field name="name">Base Setup Modules Installation</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">base.setup.installer</field>
|
||||
<field name="view_id" ref="view_base_setup_installer"/>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">new</field>
|
||||
</record>
|
||||
|
||||
<record id="base_setup_installer_todo" model="ir.actions.todo">
|
||||
<field name="action_id" ref="action_base_setup_installer"/>
|
||||
<field name="sequence">1</field>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
|
@ -0,0 +1,78 @@
|
|||
# -*- 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
|
||||
from itertools import chain
|
||||
from operator import itemgetter
|
||||
import netsvc
|
||||
|
||||
class base_setup_installer(osv.osv_memory):
|
||||
_name = 'base.setup.installer'
|
||||
_inherit = 'res.config.installer'
|
||||
|
||||
def _get_charts(self, cr, uid, context=None):
|
||||
modules = self.pool.get('ir.module.module')
|
||||
ids = modules.search(cr, uid, [('category_id','=','Account Charts'),
|
||||
('state','!=','installed')])
|
||||
return list(
|
||||
sorted(((m.name, m.shortdesc)
|
||||
for m in modules.browse(cr, uid, ids)),
|
||||
key=itemgetter(1)))
|
||||
|
||||
def _if_account(self, cr, uid, ids, context=None):
|
||||
chart = self.read(cr, uid, ids, ['charts'],
|
||||
context=context)[0]['charts']
|
||||
self.logger.notifyChannel(
|
||||
'installer', netsvc.LOG_DEBUG,
|
||||
'Addon "account" selected, installing chart of accounts %s'%chart)
|
||||
return [chart]
|
||||
|
||||
_install_if = {
|
||||
('sale','crm'): ['sale_crm'],
|
||||
('sale','project'): ['project_mrp'],
|
||||
}
|
||||
_columns = {
|
||||
# Generic modules
|
||||
'crm':fields.boolean('Customer Relationship Management'),
|
||||
'sale':fields.boolean('Sales Management'),
|
||||
'project':fields.boolean('Project Management'),
|
||||
'knowledge':fields.boolean('Knowledge Management'),
|
||||
'stock':fields.boolean('Warehouse Management'),
|
||||
'mrp':fields.boolean('Manufacturing'),
|
||||
'account':fields.boolean('Financial & Accounting'),
|
||||
'charts':fields.selection(_get_charts, 'Chart of Accounts',
|
||||
readonly=True),
|
||||
'purchase':fields.boolean('Purchase Management'),
|
||||
'hr':fields.boolean('Human Resources'),
|
||||
'pos':fields.boolean('Point of Sales'),
|
||||
'marketing':fields.boolean('Marketing'),
|
||||
'tools':fields.boolean('Miscellaneous Tools'),
|
||||
'report_design':fields.boolean('Advanced Reporting'),
|
||||
# Vertical modules
|
||||
'profile_association':fields.boolean('Associations'),
|
||||
'profile_training':fields.boolean('Training Centers'),
|
||||
'profile_auction':fields.boolean('Auction Houses'),
|
||||
'profile_bookstore':fields.boolean('Book Stores'),
|
||||
}
|
||||
_defaults = {
|
||||
'crm': True,
|
||||
}
|
||||
base_setup_installer()
|
||||
|
|
@ -20,6 +20,7 @@
|
|||
##############################################################################
|
||||
|
||||
import hr
|
||||
import installer
|
||||
import hr_department
|
||||
|
||||
import report
|
||||
|
|
|
@ -43,7 +43,8 @@
|
|||
'security/ir.model.access.csv',
|
||||
'hr_view.xml',
|
||||
'hr_department_view.xml',
|
||||
'process/hr_process.xml'
|
||||
'process/hr_process.xml',
|
||||
'hr_installer.xml'
|
||||
],
|
||||
'demo_xml': ['hr_demo.xml', 'hr_department_demo.xml'],
|
||||
'installable': True,
|
||||
|
|
|
@ -0,0 +1,65 @@
|
|||
<openerp>
|
||||
<data>
|
||||
<record id="view_hr_installer" model="ir.ui.view">
|
||||
<field name="name">hr.installer.view</field>
|
||||
<field name="model">hr.installer</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="base.res_config_view_base"/>
|
||||
<field name="arch" type="xml">
|
||||
<data>
|
||||
<form position="attributes"><attribute name="string">
|
||||
Human Resources Modules Installation
|
||||
</attribute></form>
|
||||
|
||||
<group string="res_config_contents" position="replace">
|
||||
<separator string="Configure Human Resources" colspan="4"/>
|
||||
<image name="gtk-dialog-info"/>
|
||||
<newline/>
|
||||
<label align="0.0" string=" Lorem ipsum dolor
|
||||
sit amet, consectetur adipiscing elit. Cras metus
|
||||
augue, ultricies et vehicula id, fringilla quis
|
||||
mauris. Vestibulum fringilla ipsum sit amet est
|
||||
adipiscing eget euismod velit semper. Proin non mauris
|
||||
velit. Donec malesuada nisi sed augue viverra commodo
|
||||
sagittis nisi rutrum. Cras vitae libero nunc, a
|
||||
molestie sapien. Proin et augue sit amet est egestas
|
||||
fermentum ut eu lacus. Etiam nisi orci, volutpat
|
||||
aliquam viverra interdum, vehicula iaculis
|
||||
lectus. Mauris ligula sapien, auctor in pharetra non,
|
||||
ultrices quis odio."/>
|
||||
<group>
|
||||
<separator string="Human Resources Management" colspan="4"/>
|
||||
<field name="hr_holidays"/>
|
||||
<field name="hr_expense"/>
|
||||
<field name="hr_jobs"/>
|
||||
<field name="hr_timesheet_sheet"/>
|
||||
<field name="hr_contract"/>
|
||||
<field name="hr_evaluation"/>
|
||||
<field name="hr_attendance"/>
|
||||
</group>
|
||||
</group>
|
||||
|
||||
<xpath expr='//button[@name="action_skip"]' position='replace'/>
|
||||
<xpath expr='//button[@name="action_next"]' position='attributes'>
|
||||
<attribute name='string'>Install Modules</attribute>
|
||||
</xpath>
|
||||
</data>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_hr_installer" model="ir.actions.act_window">
|
||||
<field name="name">Human Resources Modules Installation</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">1</field>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
|
@ -0,0 +1,41 @@
|
|||
# -*- 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):
|
||||
_name = 'hr.installer'
|
||||
_inherit = 'res.config.installer'
|
||||
|
||||
_columns = {
|
||||
# Human Resources Management
|
||||
'hr_holidays':fields.boolean('Holidays / Leaves Management'),
|
||||
'hr_expense':fields.boolean('Expenses'),
|
||||
'hr_jobs':fields.boolean('Recruitement Process'),
|
||||
'hr_timesheet_sheet':fields.boolean('Timesheets'),
|
||||
'hr_contract':fields.boolean("Employee's Contracts"),
|
||||
'hr_evaluation':fields.boolean('Periodic Evaluations'),
|
||||
'hr_attendance':fields.boolean('Attendances (Sign In/Out)'),
|
||||
}
|
||||
_defaults = {
|
||||
'hr_holidays': True,
|
||||
'hr_expense': True,
|
||||
}
|
||||
hr_installer()
|
|
@ -0,0 +1,24 @@
|
|||
# -*- 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/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
import installer
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -0,0 +1,39 @@
|
|||
# -*- 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/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
|
||||
{
|
||||
"name" : "Knowledge Management System",
|
||||
"version" : "1.0",
|
||||
"depends" : ["base"],
|
||||
"author" : "Tiny",
|
||||
"description": """Installer for knowledge-based tools
|
||||
""",
|
||||
'website': 'http://www.openerp.com',
|
||||
'init_xml': [],
|
||||
'update_xml': [
|
||||
'knowledge_installer.xml',
|
||||
],
|
||||
'demo_xml': [],
|
||||
'installable': True,
|
||||
'active': False,
|
||||
}
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -0,0 +1,40 @@
|
|||
# -*- 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):
|
||||
_name = 'knowledge.installer'
|
||||
_inherit = 'res.config.installer'
|
||||
|
||||
_columns = {
|
||||
# Knowledge Management
|
||||
'document_ftp':fields.boolean('Shared Repositories (FTP)'),
|
||||
'document_webdav':fields.boolean('Shared Repositories (WebDAV)'),
|
||||
'wiki':fields.boolean('Collaborative Content (Wiki)'),
|
||||
# Templates of Content
|
||||
'wiki_faq':fields.boolean('Internal FAQ'),
|
||||
'wiki_quality_manual':fields.boolean('Quality Manual'),
|
||||
}
|
||||
_defaults = {
|
||||
'document_ftp':True,
|
||||
}
|
||||
|
||||
knowledge_installer()
|
|
@ -0,0 +1,65 @@
|
|||
<openerp>
|
||||
<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="type">form</field>
|
||||
<field name="inherit_id" ref="base.res_config_view_base"/>
|
||||
<field name="arch" type="xml">
|
||||
<data>
|
||||
<form position="attributes"><attribute name="string">
|
||||
Knowledge Modules Installation
|
||||
</attribute></form>
|
||||
|
||||
<group string="res_config_contents" position="replace">
|
||||
<separator string="Configure Your Knowledge Management System"
|
||||
colspan="4"/>
|
||||
<image name="gtk-dialog-info"/>
|
||||
<newline/>
|
||||
<label align="0.0" string=" Lorem ipsum dolor
|
||||
sit amet, consectetur adipiscing elit. Cras metus
|
||||
augue, ultricies et vehicula id, fringilla quis
|
||||
mauris. Vestibulum fringilla ipsum sit amet est
|
||||
adipiscing eget euismod velit semper. Proin non mauris
|
||||
velit. Donec malesuada nisi sed augue viverra commodo
|
||||
sagittis nisi rutrum. Cras vitae libero nunc, a
|
||||
molestie sapien. Proin et augue sit amet est egestas
|
||||
fermentum ut eu lacus. Etiam nisi orci, volutpat
|
||||
aliquam viverra interdum, vehicula iaculis
|
||||
lectus. Mauris ligula sapien, auctor in pharetra non,
|
||||
ultrices quis odio."/>
|
||||
<group>
|
||||
<separator string="Knowledge Management" colspan="4"/>
|
||||
<field name="document_ftp"/>
|
||||
<field name="document_webdav"/>
|
||||
<field name="wiki"/>
|
||||
<separator string="Templates of Content" colspan="4"/>
|
||||
<field name="wiki_faq"/>
|
||||
<field name="wiki_quality_manual"/>
|
||||
</group>
|
||||
</group>
|
||||
|
||||
<xpath expr='//button[@name="action_skip"]' position='replace'/>
|
||||
<xpath expr='//button[@name="action_next"]' position='attributes'>
|
||||
<attribute name='string'>Install Modules</attribute>
|
||||
</xpath>
|
||||
</data>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_knowledge_installer" model="ir.actions.act_window">
|
||||
<field name="name">Knowledge Modules Installation</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">1</field>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
|
@ -20,6 +20,7 @@
|
|||
##############################################################################
|
||||
|
||||
import mrp
|
||||
import installer
|
||||
import wizard
|
||||
import report
|
||||
import company
|
||||
|
|
|
@ -69,7 +69,8 @@
|
|||
'company_view.xml',
|
||||
'process/stockable_product_process.xml',
|
||||
'process/service_product_process.xml',
|
||||
'process/procurement_process.xml'
|
||||
'process/procurement_process.xml',
|
||||
'mrp_installer.xml',
|
||||
],
|
||||
'demo_xml': ['mrp_demo.xml', 'mrp_order_point.xml'],
|
||||
'installable': True,
|
||||
|
|
|
@ -0,0 +1,35 @@
|
|||
# -*- 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):
|
||||
_name = 'mrp.installer'
|
||||
_inherit = 'res.config.installer'
|
||||
|
||||
_columns = {
|
||||
# Manufacturing Resource Planning
|
||||
'stock_location':fields.boolean('Advanced Routes'),
|
||||
'mrp_jit':fields.boolean('Just In Time Scheduling'),
|
||||
'mrp_operations':fields.boolean('Manufacturing Operations'),
|
||||
'mrp_subproduct':fields.boolean('MRP Subproducts'),
|
||||
'mrp_repair':fields.boolean('Repairs'),
|
||||
}
|
||||
mrp_installer()
|
|
@ -0,0 +1,63 @@
|
|||
<openerp>
|
||||
<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="type">form</field>
|
||||
<field name="inherit_id" ref="base.res_config_view_base"/>
|
||||
<field name="arch" type="xml">
|
||||
<data>
|
||||
<form position="attributes"><attribute name="string">
|
||||
MRP Modules Installation
|
||||
</attribute></form>
|
||||
|
||||
<group string="res_config_contents" position="replace">
|
||||
<separator string="Configure Your Manufacturing" colspan="4"/>
|
||||
<image name="gtk-dialog-info"/>
|
||||
<newline/>
|
||||
<label align="0.0" string=" Lorem ipsum dolor
|
||||
sit amet, consectetur adipiscing elit. Cras metus
|
||||
augue, ultricies et vehicula id, fringilla quis
|
||||
mauris. Vestibulum fringilla ipsum sit amet est
|
||||
adipiscing eget euismod velit semper. Proin non mauris
|
||||
velit. Donec malesuada nisi sed augue viverra commodo
|
||||
sagittis nisi rutrum. Cras vitae libero nunc, a
|
||||
molestie sapien. Proin et augue sit amet est egestas
|
||||
fermentum ut eu lacus. Etiam nisi orci, volutpat
|
||||
aliquam viverra interdum, vehicula iaculis
|
||||
lectus. Mauris ligula sapien, auctor in pharetra non,
|
||||
ultrices quis odio."/>
|
||||
<group>
|
||||
<separator string="Manufacturing Resource Planning" colspan="4"/>
|
||||
<!-- Advanced Routes -->
|
||||
<field name="mrp_jit"/>
|
||||
<field name="mrp_operations"/>
|
||||
<field name="mrp_subproduct"/>
|
||||
<field name="mrp_repair"/>
|
||||
</group>
|
||||
</group>
|
||||
|
||||
<xpath expr='//button[@name="action_skip"]' position='replace'/>
|
||||
<xpath expr='//button[@name="action_next"]' position='attributes'>
|
||||
<attribute name='string'>Install Modules</attribute>
|
||||
</xpath>
|
||||
</data>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_mrp_installer" model="ir.actions.act_window">
|
||||
<field name="name">MRP Modules Installation</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">1</field>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
|
||||
#
|
||||
|
@ -15,16 +15,16 @@
|
|||
# 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/>.
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
import project
|
||||
import company
|
||||
import installer
|
||||
import project_mailgate
|
||||
import report
|
||||
import wizard
|
||||
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
|
||||
#
|
||||
|
@ -15,7 +15,7 @@
|
|||
# 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/>.
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
|
@ -31,15 +31,15 @@
|
|||
works done on tasks, eso. It is able to render planning, order tasks, eso.
|
||||
""",
|
||||
"init_xml" : [],
|
||||
"demo_xml" : ["project_demo.xml"],
|
||||
"update_xml": [
|
||||
"security/project_security.xml",
|
||||
"security/ir.model.access.csv",
|
||||
"project_data.xml",
|
||||
"project_wizard.xml",
|
||||
"project_view.xml",
|
||||
"project_report.xml",
|
||||
"process/task_process.xml"
|
||||
"project_data.xml",
|
||||
"project_wizard.xml",
|
||||
"project_view.xml",
|
||||
"project_report.xml",
|
||||
"process/task_process.xml",
|
||||
"project_installer.xml",
|
||||
],
|
||||
'demo_xml': ['project_demo.xml'],
|
||||
'installable': True,
|
||||
|
|
|
@ -0,0 +1,40 @@
|
|||
# -*- 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):
|
||||
_name = 'project.installer'
|
||||
_inherit = 'res.config.installer'
|
||||
|
||||
_columns = {
|
||||
# Project Management
|
||||
'project_long_term':fields.boolean('Long Term Planning'),
|
||||
'project_wiki':fields.boolean('Specifications in a Wiki'),
|
||||
'hr_timesheet_sheet':fields.boolean('Timesheets'),
|
||||
'hr_timesheet_invoice':fields.boolean('Invoice Based on Hours'),
|
||||
'account_budget':fields.boolean('Budgets'),
|
||||
'project_messages':fields.boolean('Project Messages'),
|
||||
'project_crm':fields.boolean('Issues Tracker & Features Requests'),
|
||||
# Methodologies
|
||||
'scrum':fields.boolean('SCRUM'),
|
||||
'project_gtd':fields.boolean('Getting Things Done'),
|
||||
}
|
||||
project_installer()
|
|
@ -0,0 +1,69 @@
|
|||
<openerp>
|
||||
<data>
|
||||
<record id="view_project_installer" model="ir.ui.view">
|
||||
<field name="name">project.installer.view</field>
|
||||
<field name="model">project.installer</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="base.res_config_view_base"/>
|
||||
<field name="arch" type="xml">
|
||||
<data>
|
||||
<form position="attributes"><attribute name="string">
|
||||
Project Modules Installation
|
||||
</attribute></form>
|
||||
|
||||
<group string="res_config_contents" position="replace">
|
||||
<separator string="Configure Your Project Management"
|
||||
colspan="4"/>
|
||||
<image name="gtk-dialog-info"/>
|
||||
<newline/>
|
||||
<label align="0.0" string=" Lorem ipsum dolor
|
||||
sit amet, consectetur adipiscing elit. Cras metus
|
||||
augue, ultricies et vehicula id, fringilla quis
|
||||
mauris. Vestibulum fringilla ipsum sit amet est
|
||||
adipiscing eget euismod velit semper. Proin non mauris
|
||||
velit. Donec malesuada nisi sed augue viverra commodo
|
||||
sagittis nisi rutrum. Cras vitae libero nunc, a
|
||||
molestie sapien. Proin et augue sit amet est egestas
|
||||
fermentum ut eu lacus. Etiam nisi orci, volutpat
|
||||
aliquam viverra interdum, vehicula iaculis
|
||||
lectus. Mauris ligula sapien, auctor in pharetra non,
|
||||
ultrices quis odio."/>
|
||||
<group>
|
||||
<separator string="Project Management" colspan="4"/>
|
||||
<field name="project_long_term"/>
|
||||
<field name="project_wiki"/>
|
||||
<field name="hr_timesheet_sheet"/>
|
||||
<field name="hr_timesheet_invoice"/>
|
||||
<field name="account_budget"/>
|
||||
<field name="project_messages"/>
|
||||
<field name="project_crm"/>
|
||||
<separator string="Methodologies" colspan="4"/>
|
||||
<field name="scrum"/>
|
||||
<field name="project_gtd"/>
|
||||
</group>
|
||||
</group>
|
||||
|
||||
<xpath expr='//button[@name="action_skip"]' position='replace'/>
|
||||
<xpath expr='//button[@name="action_next"]' position='attributes'>
|
||||
<attribute name='string'>Install Modules</attribute>
|
||||
</xpath>
|
||||
</data>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_project_installer" model="ir.actions.act_window">
|
||||
<field name="name">Project Modules Installation</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="sequence">1</field>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
|
@ -0,0 +1,24 @@
|
|||
# -*- 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/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
import messages
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -0,0 +1,38 @@
|
|||
# -*- 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/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
|
||||
{
|
||||
"name" : "In-Project Messaging System",
|
||||
"version" : "1.0",
|
||||
"depends" : ["project"],
|
||||
"author" : "Tiny",
|
||||
"description": """Provides the ability to send small messages to other
|
||||
users on the project.
|
||||
""",
|
||||
'website': 'http://www.openerp.com',
|
||||
'init_xml': [],
|
||||
'update_xml': [],
|
||||
'demo_xml': [],
|
||||
'installable': True,
|
||||
'active': False,
|
||||
}
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -0,0 +1,67 @@
|
|||
# -*- 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
|
||||
import netsvc
|
||||
|
||||
class messages(osv.osv):
|
||||
"""Message from one user to another within a project
|
||||
"""
|
||||
_name = 'project.messages'
|
||||
logger = netsvc.Logger()
|
||||
|
||||
_columns = {
|
||||
'to_id':fields.many2one('res.users', 'To', ondelete="CASCADE"),
|
||||
'project_id':fields.many2one('project.project', 'Project',
|
||||
required=True, ondelete="CASCADE"),
|
||||
'message':fields.text('Message', required=True),
|
||||
}
|
||||
|
||||
_defaults = {
|
||||
'from_id':lambda self, cr, uid, context: uid,
|
||||
'to_id':None,
|
||||
}
|
||||
|
||||
def broadcast(self, cr, uid, project_id, message):
|
||||
""" Send a message to all the users of a project.
|
||||
The sender of the message is the current user.
|
||||
|
||||
The method returns the new message's id.
|
||||
|
||||
Arguments:
|
||||
- `project_id`: the id of the project to broadcast to
|
||||
- `message`: the message to broadcast
|
||||
"""
|
||||
return self.create(cr, uid, {
|
||||
'to_id':None,
|
||||
'project_id':project_id,
|
||||
'message':message
|
||||
}, context=context)
|
||||
messages()
|
||||
|
||||
class project_with_message(osv.osv):
|
||||
_inherit = 'project.project'
|
||||
|
||||
_columns = {
|
||||
'message_ids':fields.one2many(
|
||||
'project.messages', 'project_id', 'Messages',
|
||||
domain="[('to_id','in',[uid,False])]"),
|
||||
}
|
||||
project_with_message()
|
|
@ -0,0 +1,24 @@
|
|||
# -*- 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/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
import installer
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -0,0 +1,39 @@
|
|||
# -*- 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/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
|
||||
{
|
||||
"name" : "Reporting Tools",
|
||||
"version" : "1.0",
|
||||
"depends" : ["base"],
|
||||
"author" : "Tiny",
|
||||
"description": """Installer for reporting tools selection
|
||||
""",
|
||||
'website': 'http://www.openerp.com',
|
||||
'init_xml': [],
|
||||
'update_xml': [
|
||||
'report_installer.xml',
|
||||
],
|
||||
'demo_xml': [],
|
||||
'installable': True,
|
||||
'active': False,
|
||||
}
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -0,0 +1,34 @@
|
|||
# -*- 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_installer(osv.osv_memory):
|
||||
_name = 'report.installer'
|
||||
_inherit = 'res.config.installer'
|
||||
|
||||
_columns = {
|
||||
# Reporting
|
||||
'base_report_designer':fields.boolean('OpenOffice Report Designer'),
|
||||
'base_report_creator':fields.boolean('Query Builder'),
|
||||
'olap':fields.boolean('Business Intelligence Report'),
|
||||
}
|
||||
report_installer()
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
<openerp>
|
||||
<data>
|
||||
<record id="view_report_installer" model="ir.ui.view">
|
||||
<field name="name">report.installer.view</field>
|
||||
<field name="model">report.installer</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="base.res_config_view_base"/>
|
||||
<field name="arch" type="xml">
|
||||
<data>
|
||||
<form position="attributes"><attribute name="string">
|
||||
Report Modules Installation
|
||||
</attribute></form>
|
||||
|
||||
<group string="res_config_contents" position="replace">
|
||||
<separator string="Select Reporting Tools To Install" colspan="4"/>
|
||||
<image name="gtk-dialog-info"/>
|
||||
<newline/>
|
||||
<label align="0.0" string=" Lorem ipsum dolor
|
||||
sit amet, consectetur adipiscing elit. Cras metus
|
||||
augue, ultricies et vehicula id, fringilla quis
|
||||
mauris. Vestibulum fringilla ipsum sit amet est
|
||||
adipiscing eget euismod velit semper. Proin non mauris
|
||||
velit. Donec malesuada nisi sed augue viverra commodo
|
||||
sagittis nisi rutrum. Cras vitae libero nunc, a
|
||||
molestie sapien. Proin et augue sit amet est egestas
|
||||
fermentum ut eu lacus. Etiam nisi orci, volutpat
|
||||
aliquam viverra interdum, vehicula iaculis
|
||||
lectus. Mauris ligula sapien, auctor in pharetra non,
|
||||
ultrices quis odio."/>
|
||||
<group>
|
||||
<separator string="Reporting" colspan="4"/>
|
||||
<field name="base_report_designer"/>
|
||||
<field name="base_report_creator"/>
|
||||
<field name="olap"/>
|
||||
</group>
|
||||
</group>
|
||||
|
||||
<xpath expr='//button[@name="action_skip"]' position='replace'/>
|
||||
<xpath expr='//button[@name="action_next"]' position='attributes'>
|
||||
<attribute name='string'>Install Modules</attribute>
|
||||
</xpath>
|
||||
</data>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_report_installer" model="ir.actions.act_window">
|
||||
<field name="name">Report Modules Installation</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">report.installer</field>
|
||||
<field name="view_id" ref="view_report_installer"/>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">new</field>
|
||||
</record>
|
||||
|
||||
<record id="report_installer_todo" model="ir.actions.todo">
|
||||
<field name="action_id" ref="action_report_installer"/>
|
||||
<field name="sequence">1</field>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
|
@ -0,0 +1,24 @@
|
|||
# -*- 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/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
import installer
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -0,0 +1,39 @@
|
|||
# -*- 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/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
|
||||
{
|
||||
"name" : "Miscellaneous Tools",
|
||||
"version" : "1.0",
|
||||
"depends" : ["base"],
|
||||
"author" : "Tiny",
|
||||
"description": """Installer for various interesting tools
|
||||
""",
|
||||
'website': 'http://www.openerp.com',
|
||||
'init_xml': [],
|
||||
'update_xml': [
|
||||
'tools_installer.xml',
|
||||
],
|
||||
'demo_xml': [],
|
||||
'installable': True,
|
||||
'active': False,
|
||||
}
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -0,0 +1,39 @@
|
|||
# -*- 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 tools_installer(osv.osv_memory):
|
||||
_name = 'tools.installer'
|
||||
_inherit = 'res.config.installer'
|
||||
|
||||
_columns = {
|
||||
# Tools
|
||||
'lunch':fields.boolean('Lunch Orders'),
|
||||
'subscription':fields.boolean('Recurring Documents'),
|
||||
'survey':fields.boolean('Survey'),
|
||||
'audittrail':fields.boolean('Audit Trail'),
|
||||
}
|
||||
_defaults = {
|
||||
'lunch': True,
|
||||
}
|
||||
|
||||
tools_installer()
|
||||
|
|
@ -0,0 +1,62 @@
|
|||
<openerp>
|
||||
<data>
|
||||
<record id="view_tools_installer" model="ir.ui.view">
|
||||
<field name="name">tools.installer.view</field>
|
||||
<field name="model">tools.installer</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="base.res_config_view_base"/>
|
||||
<field name="arch" type="xml">
|
||||
<data>
|
||||
<form position="attributes"><attribute name="string">
|
||||
Tools Modules Installation
|
||||
</attribute></form>
|
||||
|
||||
<group string="res_config_contents" position="replace">
|
||||
<separator string="Select Tools To Install" colspan="4"/>
|
||||
<image name="gtk-dialog-info"/>
|
||||
<newline/>
|
||||
<label align="0.0" string=" Lorem ipsum dolor
|
||||
sit amet, consectetur adipiscing elit. Cras metus
|
||||
augue, ultricies et vehicula id, fringilla quis
|
||||
mauris. Vestibulum fringilla ipsum sit amet est
|
||||
adipiscing eget euismod velit semper. Proin non mauris
|
||||
velit. Donec malesuada nisi sed augue viverra commodo
|
||||
sagittis nisi rutrum. Cras vitae libero nunc, a
|
||||
molestie sapien. Proin et augue sit amet est egestas
|
||||
fermentum ut eu lacus. Etiam nisi orci, volutpat
|
||||
aliquam viverra interdum, vehicula iaculis
|
||||
lectus. Mauris ligula sapien, auctor in pharetra non,
|
||||
ultrices quis odio."/>
|
||||
<group>
|
||||
<separator string="Tools" colspan="4"/>
|
||||
<field name="lunch"/>
|
||||
<field name="subscription"/>
|
||||
<field name="survey"/>
|
||||
<field name="audittrail"/>
|
||||
</group>
|
||||
</group>
|
||||
|
||||
<xpath expr='//button[@name="action_skip"]' position='replace'/>
|
||||
<xpath expr='//button[@name="action_next"]' position='attributes'>
|
||||
<attribute name='string'>Install Modules</attribute>
|
||||
</xpath>
|
||||
</data>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_tools_installer" model="ir.actions.act_window">
|
||||
<field name="name">Tools Modules Installation</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">tools.installer</field>
|
||||
<field name="view_id" ref="view_tools_installer"/>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">new</field>
|
||||
</record>
|
||||
|
||||
<record id="tools_installer_todo" model="ir.actions.todo">
|
||||
<field name="action_id" ref="action_tools_installer"/>
|
||||
<field name="sequence">1</field>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
|
@ -39,7 +39,7 @@
|
|||
'wizard/wizard_view.xml',
|
||||
'security/ir.model.access.csv'
|
||||
],
|
||||
'demo_xml': ['data/wiki_faq.xml'],
|
||||
'demo_xml': [],
|
||||
'installable': True,
|
||||
'active': False,
|
||||
'certificate': '0086363630317',
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
# -*- 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/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -0,0 +1,37 @@
|
|||
# -*- 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/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
{
|
||||
'name': 'Document Management - Wiki - FAQ',
|
||||
'version': '1.0',
|
||||
'category': 'Generic Modules/Others',
|
||||
'description': """FAQ Template
|
||||
""",
|
||||
'author': 'Tiny',
|
||||
'website': 'http://openerp.com',
|
||||
'depends': ['wiki'],
|
||||
'init_xml': [],
|
||||
'update_xml': ['wiki_faq.xml'],
|
||||
'demo_xml': [],
|
||||
'installable': True,
|
||||
'active': False,
|
||||
}
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -3,11 +3,10 @@
|
|||
<data noupdate="1">
|
||||
<record id="wiki_groups_faq" model="wiki.groups">
|
||||
<field name="name">Internal FAQ</field>
|
||||
<field name="method">list</field>
|
||||
<field eval="2" name="section"/>
|
||||
<field name="template">== Question ==
|
||||
|
||||
...
|
||||
|
||||
== Answer ==
|
||||
|
||||
== External Links ==
|
||||
|
@ -23,8 +22,7 @@
|
|||
<field name="review">1</field>
|
||||
<field name="section">2</field>
|
||||
<field name="summary">Initial Page</field>
|
||||
<field name="text_area">
|
||||
== Question ==
|
||||
<field name="text_area">== Question ==
|
||||
|
||||
What's the Bug Tracker ?
|
||||
|
||||
|
@ -61,8 +59,7 @@ Integration Benefits:
|
|||
<field name="toc">1</field>
|
||||
<field name="section">1</field>
|
||||
<field name="summary">Initial Page</field>
|
||||
<field name="text_area">
|
||||
== Question ==
|
||||
<field name="text_area">== Question ==
|
||||
|
||||
What's the Document Management System ?
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
# -*- 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/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -0,0 +1,37 @@
|
|||
# -*- 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/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
{
|
||||
'name': 'Document Management - Wiki - Quality Manual',
|
||||
'version': '1.0',
|
||||
'category': 'Generic Modules/Others',
|
||||
'description': """Quality Manual Template
|
||||
""",
|
||||
'author': 'Tiny',
|
||||
'website': 'http://openerp.com',
|
||||
'depends': ['wiki'],
|
||||
'init_xml': [],
|
||||
'update_xml': ['wiki_quality_manual.xml'],
|
||||
'demo_xml': [],
|
||||
'installable': True,
|
||||
'active': False,
|
||||
}
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -0,0 +1,101 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<openerp>
|
||||
<data noupdate="1">
|
||||
<record id="wiki_quality_manual" model="wiki.wiki">
|
||||
<field name="name">Quality Manual</field>
|
||||
<field name="tags">quality, faq, manual</field>
|
||||
<field name="minor_edit">0</field>
|
||||
<field name="toc">1</field>
|
||||
<field name="review">1</field>
|
||||
<field name="section">2</field>
|
||||
<field name="summary">Base template</field>
|
||||
<field name="text_area">
|
||||
=General=
|
||||
|
||||
==Index and revision status==
|
||||
|
||||
==Purpose==
|
||||
|
||||
=Background=
|
||||
|
||||
==Activities==
|
||||
|
||||
==History==
|
||||
|
||||
=Definitions and Abbreviations=
|
||||
|
||||
==Definitions and terminology==
|
||||
|
||||
==Abbreviations==
|
||||
|
||||
=Management Requirements=
|
||||
|
||||
==Organization==
|
||||
|
||||
==Management System==
|
||||
|
||||
==Document Control==
|
||||
|
||||
==Review of Contracts==
|
||||
|
||||
==Subcontracting==
|
||||
|
||||
==Purchasing==
|
||||
|
||||
==Service to the customer==
|
||||
|
||||
==Complaints==
|
||||
|
||||
==Control of non-conforming work==
|
||||
|
||||
==Improvement==
|
||||
|
||||
==Corrective actions==
|
||||
|
||||
==Preventive actions==
|
||||
|
||||
==Control of quality records==
|
||||
|
||||
==Internal audits==
|
||||
|
||||
==Management Reviews==
|
||||
|
||||
=Technical Requirements=
|
||||
|
||||
==General==
|
||||
|
||||
==Personnel==
|
||||
|
||||
==Accomodation==
|
||||
|
||||
==Test methods and validation==
|
||||
|
||||
==Equipment==
|
||||
|
||||
==Measurement traceability==
|
||||
|
||||
==Sampling==
|
||||
|
||||
==Test items==
|
||||
|
||||
==Quality control==
|
||||
|
||||
==Reports / calibration certificates==
|
||||
|
||||
=References=
|
||||
|
||||
=Acknowledgements=
|
||||
</field>
|
||||
</record>
|
||||
<record id="wiki_group_quality_manual" model="wiki.groups">
|
||||
<field name="name">Quality Manual</field>
|
||||
<field name="section">2</field>
|
||||
<field name="home" ref="wiki_quality_manual"/>
|
||||
</record>
|
||||
</data>
|
||||
<data>
|
||||
<record id="wiki_quality_manual" model="wiki.wiki">
|
||||
<field name="group_id" ref="wiki_group_quality_manual"/>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
Loading…
Reference in New Issue