summaryrefslogtreecommitdiff
path: root/addons/base_status/__init__.py
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2012-06-01 12:14:26 +0200
committerThibault Delavallée <tde@openerp.com>2012-06-01 12:14:26 +0200
commitf9e6b60c9f48c48d7b0d2a9b67a3e2376e032fd2 (patch)
treec602d1e223affb7b04a8c2cc0189fb4405441854 /addons/base_status/__init__.py
parentb98e0bdf14d4537f338fcee4fe2f14bdf76ac9ce (diff)
parentd988ca61568707ee4c9dca9288ff269dca9c77a6 (diff)
[MERGE] Merged branch holding state/stage cleaning for lead/opportunities, hr_recruitment, project_issue, tasks, crm_claim. Those models now use stage as the main status flow; the state is a related field to the stage, and is not important anymore. Updated views accordingly (buttons, statusbar on stage_id). Also updated view of crm_meeting, crm_helpdesk and crm_phonecall. Old crm_base and crm_case are nos distinct from crm, and are in a new addon called 'base_status'. This module defines most of the methods related to the logic; models inheriting from base_state or base_stage have few methods to override to implement a particular behavior (mainly stage_find for base_stage).
bzr revid: tde@openerp.com-20120601101426-28e6gnsywhkxeber
Diffstat (limited to 'addons/base_status/__init__.py')
-rw-r--r--addons/base_status/__init__.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/addons/base_status/__init__.py b/addons/base_status/__init__.py
new file mode 100644
index 00000000000..e4107f90a37
--- /dev/null
+++ b/addons/base_status/__init__.py
@@ -0,0 +1,25 @@
+# -*- coding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2012-today OpenERP SA (<http://openerp.com>)
+#
+# 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 base_state
+import base_stage
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: