Browse Source

Change license and README; add exception state

pull/760/head
Kelly Lougheed 7 years ago
parent
commit
6b081aff61
  1. 15
      base_kanban_stage_state/README.rst
  2. 2
      base_kanban_stage_state/__init__.py
  3. 2
      base_kanban_stage_state/__manifest__.py
  4. 2
      base_kanban_stage_state/models/__init__.py
  5. 5
      base_kanban_stage_state/models/base_kanban_stage.py
  6. 79
      base_kanban_stage_state/static/description/icon.svg
  7. 2
      base_kanban_stage_state/views/base_kanban_stage_state_view.xml

15
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
=====

2
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

2
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",

2
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

5
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):

79
base_kanban_stage_state/static/description/icon.svg
File diff suppressed because it is too large
View File

2
base_kanban_stage_state/views/base_kanban_stage_state_view.xml

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="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). -->
<odoo>

Loading…
Cancel
Save