From 6b081aff61b36be29b632e2fc0477736999ba84d Mon Sep 17 00:00:00 2001 From: Kelly Lougheed Date: Mon, 6 Mar 2017 12:44:25 -0800 Subject: [PATCH] Change license and README; add exception state --- base_kanban_stage_state/README.rst | 15 +++- base_kanban_stage_state/__init__.py | 2 +- base_kanban_stage_state/__manifest__.py | 2 +- base_kanban_stage_state/models/__init__.py | 2 +- .../models/base_kanban_stage.py | 5 +- .../static/description/icon.svg | 79 ------------------- .../views/base_kanban_stage_state_view.xml | 2 +- 7 files changed, 18 insertions(+), 89 deletions(-) delete mode 100644 base_kanban_stage_state/static/description/icon.svg diff --git a/base_kanban_stage_state/README.rst b/base_kanban_stage_state/README.rst index 698152e0f..98bbf27be 100644 --- a/base_kanban_stage_state/README.rst +++ b/base_kanban_stage_state/README.rst @@ -1,13 +1,20 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 +.. image:: https://img.shields.io/badge/licence-LGPL--3-blue.svg + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 ======================= Base Kanban Stage State ======================= This module extends the functionality of base_kanban_stage to allow you to -map stages from base_kanban_stage to states. +map stages from base_kanban_stage to states. The states are: + +*. New (draft) +*. In Progress (open) +*. Pending (pending) +*. Done (done) +*. Cancelled (cancelled) +*. Exception (exception) Usage ===== diff --git a/base_kanban_stage_state/__init__.py b/base_kanban_stage_state/__init__.py index 5ce3eb588..11458e838 100644 --- a/base_kanban_stage_state/__init__.py +++ b/base_kanban_stage_state/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- # Copyright 2017 Specialty Medical Drugstore -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). from . import models diff --git a/base_kanban_stage_state/__manifest__.py b/base_kanban_stage_state/__manifest__.py index bd8b09cf1..1b858c32f 100644 --- a/base_kanban_stage_state/__manifest__.py +++ b/base_kanban_stage_state/__manifest__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Copyright 2017 Specialty Medical Drugstore -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). { "name": "Base Kanban Stage State", "summary": "Maps stages from base_kanban_stage to states", diff --git a/base_kanban_stage_state/models/__init__.py b/base_kanban_stage_state/models/__init__.py index 4872e1653..d8a9ea612 100644 --- a/base_kanban_stage_state/models/__init__.py +++ b/base_kanban_stage_state/models/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- # Copyright 2017 Specialty Medical Drugstore -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). from . import base_kanban_stage diff --git a/base_kanban_stage_state/models/base_kanban_stage.py b/base_kanban_stage_state/models/base_kanban_stage.py index 8beee2779..446139555 100644 --- a/base_kanban_stage_state/models/base_kanban_stage.py +++ b/base_kanban_stage_state/models/base_kanban_stage.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Copyright 2017 Specialty Medical Drugstore -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). from odoo import fields, models @@ -10,7 +10,8 @@ _STATE = [ ('open', 'In Progress'), ('pending', 'Pending'), ('done', 'Done'), - ('cancelled', 'Cancelled')] + ('cancelled', 'Cancelled'), + ('exception', 'Exception')] class BaseKanbanStage(models.Model): diff --git a/base_kanban_stage_state/static/description/icon.svg b/base_kanban_stage_state/static/description/icon.svg deleted file mode 100644 index a7a26d093..000000000 --- a/base_kanban_stage_state/static/description/icon.svg +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - diff --git a/base_kanban_stage_state/views/base_kanban_stage_state_view.xml b/base_kanban_stage_state/views/base_kanban_stage_state_view.xml index 8c0f7f4ec..3226ace69 100644 --- a/base_kanban_stage_state/views/base_kanban_stage_state_view.xml +++ b/base_kanban_stage_state/views/base_kanban_stage_state_view.xml @@ -1,6 +1,6 @@ + License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -->