diff --git a/base_kanban_stage_state/README.rst b/base_kanban_stage_state/README.rst new file mode 100644 index 000000000..353290eda --- /dev/null +++ b/base_kanban_stage_state/README.rst @@ -0,0 +1,60 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png + :target: https://www.gnu.org/licenses/agpl + :alt: License: AGPL-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. The states are: + +* New (draft) +* In Progress (open) +* Pending (pending) +* Done (done) +* Cancelled (cancelled) +* Exception (exception) + +Usage +===== + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/149/12.0 + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues +`_. In case of trouble, please +check there if your issue has already been reported. If you spotted it first, +help us smash it by providing detailed and welcomed feedback. + +Credits +======= + +Images +------ + +* Odoo Community Association: `Icon `_. + +Contributors +------------ + +* Kelly Lougheed + +Maintainer +---------- + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +This module is maintained by the OCA. + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +To contribute to this module, please visit https://odoo-community.org. diff --git a/base_kanban_stage_state/__init__.py b/base_kanban_stage_state/__init__.py new file mode 100644 index 000000000..7d768b54b --- /dev/null +++ b/base_kanban_stage_state/__init__.py @@ -0,0 +1,3 @@ +# 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 new file mode 100644 index 000000000..4da124e56 --- /dev/null +++ b/base_kanban_stage_state/__manifest__.py @@ -0,0 +1,19 @@ +# Copyright 2017 Specialty Medical Drugstore +# 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", + "version": "12.0.1.0.0", + "category": "Base", + "website": "https://github.com/OCA/server-tools", + "author": "SMDrugstore, Odoo Community Association (OCA)", + "license": "LGPL-3", + "application": False, + "installable": True, + "depends": [ + "base_kanban_stage", + ], + "data": [ + "views/base_kanban_stage_state_view.xml", + ], +} diff --git a/base_kanban_stage_state/i18n/base_kanban_stage_state.pot b/base_kanban_stage_state/i18n/base_kanban_stage_state.pot new file mode 100644 index 000000000..80e1a11ec --- /dev/null +++ b/base_kanban_stage_state/i18n/base_kanban_stage_state.pot @@ -0,0 +1,25 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_kanban_stage_state +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_kanban_stage_state +#: model:ir.model,name:base_kanban_stage_state.model_base_kanban_stage +msgid "Kanban Stage" +msgstr "" + +#. module: base_kanban_stage_state +#: model:ir.model.fields,field_description:base_kanban_stage_state.field_base_kanban_stage_state +msgid "State" +msgstr "" + diff --git a/base_kanban_stage_state/i18n/ca.po b/base_kanban_stage_state/i18n/ca.po new file mode 100644 index 000000000..7cb046ea0 --- /dev/null +++ b/base_kanban_stage_state/i18n/ca.po @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_kanban_stage_state +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-18 02:19+0000\n" +"PO-Revision-Date: 2017-03-18 02:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_kanban_stage_state +#: model:ir.model,name:base_kanban_stage_state.model_base_kanban_stage +msgid "Kanban Stage" +msgstr "" + +#. module: base_kanban_stage_state +#: model:ir.model.fields,field_description:base_kanban_stage_state.field_base_kanban_stage_state +msgid "State" +msgstr "Estat" diff --git a/base_kanban_stage_state/i18n/cs.po b/base_kanban_stage_state/i18n/cs.po new file mode 100644 index 000000000..3c773ac2d --- /dev/null +++ b/base_kanban_stage_state/i18n/cs.po @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_kanban_stage_state +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-18 02:19+0000\n" +"PO-Revision-Date: 2017-03-18 02:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Czech (https://www.transifex.com/oca/teams/23907/cs/)\n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. module: base_kanban_stage_state +#: model:ir.model,name:base_kanban_stage_state.model_base_kanban_stage +msgid "Kanban Stage" +msgstr "" + +#. module: base_kanban_stage_state +#: model:ir.model.fields,field_description:base_kanban_stage_state.field_base_kanban_stage_state +msgid "State" +msgstr "Stav" diff --git a/base_kanban_stage_state/i18n/da.po b/base_kanban_stage_state/i18n/da.po new file mode 100644 index 000000000..e59d2500b --- /dev/null +++ b/base_kanban_stage_state/i18n/da.po @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_kanban_stage_state +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-18 02:19+0000\n" +"PO-Revision-Date: 2017-03-18 02:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Danish (https://www.transifex.com/oca/teams/23907/da/)\n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_kanban_stage_state +#: model:ir.model,name:base_kanban_stage_state.model_base_kanban_stage +msgid "Kanban Stage" +msgstr "" + +#. module: base_kanban_stage_state +#: model:ir.model.fields,field_description:base_kanban_stage_state.field_base_kanban_stage_state +msgid "State" +msgstr "Delstat" diff --git a/base_kanban_stage_state/i18n/de.po b/base_kanban_stage_state/i18n/de.po new file mode 100644 index 000000000..4571378c8 --- /dev/null +++ b/base_kanban_stage_state/i18n/de.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_kanban_stage_state +# +# Translators: +# Niki Waibel , 2017 +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-18 02:19+0000\n" +"PO-Revision-Date: 2017-03-18 02:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_kanban_stage_state +#: model:ir.model,name:base_kanban_stage_state.model_base_kanban_stage +msgid "Kanban Stage" +msgstr "Kanban Stufe" + +#. module: base_kanban_stage_state +#: model:ir.model.fields,field_description:base_kanban_stage_state.field_base_kanban_stage_state +msgid "State" +msgstr "Status" diff --git a/base_kanban_stage_state/i18n/es.po b/base_kanban_stage_state/i18n/es.po new file mode 100644 index 000000000..9da64f760 --- /dev/null +++ b/base_kanban_stage_state/i18n/es.po @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_kanban_stage_state +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-18 02:19+0000\n" +"PO-Revision-Date: 2017-03-18 02:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_kanban_stage_state +#: model:ir.model,name:base_kanban_stage_state.model_base_kanban_stage +msgid "Kanban Stage" +msgstr "" + +#. module: base_kanban_stage_state +#: model:ir.model.fields,field_description:base_kanban_stage_state.field_base_kanban_stage_state +msgid "State" +msgstr "Estado" diff --git a/base_kanban_stage_state/i18n/es_ES.po b/base_kanban_stage_state/i18n/es_ES.po new file mode 100644 index 000000000..2546d9122 --- /dev/null +++ b/base_kanban_stage_state/i18n/es_ES.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_kanban_stage_state +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-18 02:19+0000\n" +"PO-Revision-Date: 2017-03-18 02:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Spain) (https://www.transifex.com/oca/teams/23907/" +"es_ES/)\n" +"Language: es_ES\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_kanban_stage_state +#: model:ir.model,name:base_kanban_stage_state.model_base_kanban_stage +msgid "Kanban Stage" +msgstr "" + +#. module: base_kanban_stage_state +#: model:ir.model.fields,field_description:base_kanban_stage_state.field_base_kanban_stage_state +msgid "State" +msgstr "Estado" diff --git a/base_kanban_stage_state/i18n/es_MX.po b/base_kanban_stage_state/i18n/es_MX.po new file mode 100644 index 000000000..6898aee26 --- /dev/null +++ b/base_kanban_stage_state/i18n/es_MX.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_kanban_stage_state +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-18 02:19+0000\n" +"PO-Revision-Date: 2017-03-18 02:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Mexico) (https://www.transifex.com/oca/teams/23907/" +"es_MX/)\n" +"Language: es_MX\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_kanban_stage_state +#: model:ir.model,name:base_kanban_stage_state.model_base_kanban_stage +msgid "Kanban Stage" +msgstr "" + +#. module: base_kanban_stage_state +#: model:ir.model.fields,field_description:base_kanban_stage_state.field_base_kanban_stage_state +msgid "State" +msgstr "Estado" diff --git a/base_kanban_stage_state/i18n/es_VE.po b/base_kanban_stage_state/i18n/es_VE.po new file mode 100644 index 000000000..96ba7d6c3 --- /dev/null +++ b/base_kanban_stage_state/i18n/es_VE.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_kanban_stage_state +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-18 02:19+0000\n" +"PO-Revision-Date: 2017-03-18 02:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Venezuela) (https://www.transifex.com/oca/" +"teams/23907/es_VE/)\n" +"Language: es_VE\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_kanban_stage_state +#: model:ir.model,name:base_kanban_stage_state.model_base_kanban_stage +msgid "Kanban Stage" +msgstr "" + +#. module: base_kanban_stage_state +#: model:ir.model.fields,field_description:base_kanban_stage_state.field_base_kanban_stage_state +msgid "State" +msgstr "Provincia" diff --git a/base_kanban_stage_state/i18n/fi.po b/base_kanban_stage_state/i18n/fi.po new file mode 100644 index 000000000..03bc3bb03 --- /dev/null +++ b/base_kanban_stage_state/i18n/fi.po @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_kanban_stage_state +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-18 02:19+0000\n" +"PO-Revision-Date: 2017-03-18 02:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_kanban_stage_state +#: model:ir.model,name:base_kanban_stage_state.model_base_kanban_stage +msgid "Kanban Stage" +msgstr "" + +#. module: base_kanban_stage_state +#: model:ir.model.fields,field_description:base_kanban_stage_state.field_base_kanban_stage_state +msgid "State" +msgstr "Tila" diff --git a/base_kanban_stage_state/i18n/fr.po b/base_kanban_stage_state/i18n/fr.po new file mode 100644 index 000000000..cc381323a --- /dev/null +++ b/base_kanban_stage_state/i18n/fr.po @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_kanban_stage_state +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-18 02:19+0000\n" +"PO-Revision-Date: 2017-03-18 02:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: base_kanban_stage_state +#: model:ir.model,name:base_kanban_stage_state.model_base_kanban_stage +msgid "Kanban Stage" +msgstr "" + +#. module: base_kanban_stage_state +#: model:ir.model.fields,field_description:base_kanban_stage_state.field_base_kanban_stage_state +msgid "State" +msgstr "État" diff --git a/base_kanban_stage_state/i18n/fr_CH.po b/base_kanban_stage_state/i18n/fr_CH.po new file mode 100644 index 000000000..0f7453f8c --- /dev/null +++ b/base_kanban_stage_state/i18n/fr_CH.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_kanban_stage_state +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-18 02:19+0000\n" +"PO-Revision-Date: 2017-03-18 02:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: French (Switzerland) (https://www.transifex.com/oca/" +"teams/23907/fr_CH/)\n" +"Language: fr_CH\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: base_kanban_stage_state +#: model:ir.model,name:base_kanban_stage_state.model_base_kanban_stage +msgid "Kanban Stage" +msgstr "" + +#. module: base_kanban_stage_state +#: model:ir.model.fields,field_description:base_kanban_stage_state.field_base_kanban_stage_state +msgid "State" +msgstr "Etat" diff --git a/base_kanban_stage_state/i18n/gl.po b/base_kanban_stage_state/i18n/gl.po new file mode 100644 index 000000000..25326c0de --- /dev/null +++ b/base_kanban_stage_state/i18n/gl.po @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_kanban_stage_state +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-18 02:19+0000\n" +"PO-Revision-Date: 2017-03-18 02:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Galician (https://www.transifex.com/oca/teams/23907/gl/)\n" +"Language: gl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_kanban_stage_state +#: model:ir.model,name:base_kanban_stage_state.model_base_kanban_stage +msgid "Kanban Stage" +msgstr "" + +#. module: base_kanban_stage_state +#: model:ir.model.fields,field_description:base_kanban_stage_state.field_base_kanban_stage_state +msgid "State" +msgstr "Estado" diff --git a/base_kanban_stage_state/i18n/hr.po b/base_kanban_stage_state/i18n/hr.po new file mode 100644 index 000000000..f4772bf2d --- /dev/null +++ b/base_kanban_stage_state/i18n/hr.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_kanban_stage_state +# +# Translators: +# OCA Transbot , 2017 +# Bole , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-01 10:38+0000\n" +"PO-Revision-Date: 2017-05-01 10:38+0000\n" +"Last-Translator: Bole , 2017\n" +"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: base_kanban_stage_state +#: model:ir.model,name:base_kanban_stage_state.model_base_kanban_stage +msgid "Kanban Stage" +msgstr "Kanban status" + +#. module: base_kanban_stage_state +#: model:ir.model.fields,field_description:base_kanban_stage_state.field_base_kanban_stage_state +msgid "State" +msgstr "Status" diff --git a/base_kanban_stage_state/i18n/hr_HR.po b/base_kanban_stage_state/i18n/hr_HR.po new file mode 100644 index 000000000..f8708547a --- /dev/null +++ b/base_kanban_stage_state/i18n/hr_HR.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_kanban_stage_state +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-18 02:19+0000\n" +"PO-Revision-Date: 2017-03-18 02:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/" +"hr_HR/)\n" +"Language: hr_HR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: base_kanban_stage_state +#: model:ir.model,name:base_kanban_stage_state.model_base_kanban_stage +msgid "Kanban Stage" +msgstr "" + +#. module: base_kanban_stage_state +#: model:ir.model.fields,field_description:base_kanban_stage_state.field_base_kanban_stage_state +msgid "State" +msgstr "Oblast/Županija" diff --git a/base_kanban_stage_state/i18n/hu.po b/base_kanban_stage_state/i18n/hu.po new file mode 100644 index 000000000..bcbefbd8c --- /dev/null +++ b/base_kanban_stage_state/i18n/hu.po @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_kanban_stage_state +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-18 02:19+0000\n" +"PO-Revision-Date: 2017-03-18 02:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Hungarian (https://www.transifex.com/oca/teams/23907/hu/)\n" +"Language: hu\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_kanban_stage_state +#: model:ir.model,name:base_kanban_stage_state.model_base_kanban_stage +msgid "Kanban Stage" +msgstr "" + +#. module: base_kanban_stage_state +#: model:ir.model.fields,field_description:base_kanban_stage_state.field_base_kanban_stage_state +msgid "State" +msgstr "Állapot" diff --git a/base_kanban_stage_state/i18n/it.po b/base_kanban_stage_state/i18n/it.po new file mode 100644 index 000000000..330a5f8f3 --- /dev/null +++ b/base_kanban_stage_state/i18n/it.po @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_kanban_stage_state +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-18 02:19+0000\n" +"PO-Revision-Date: 2017-03-18 02:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_kanban_stage_state +#: model:ir.model,name:base_kanban_stage_state.model_base_kanban_stage +msgid "Kanban Stage" +msgstr "" + +#. module: base_kanban_stage_state +#: model:ir.model.fields,field_description:base_kanban_stage_state.field_base_kanban_stage_state +msgid "State" +msgstr "Stato" diff --git a/base_kanban_stage_state/i18n/nb.po b/base_kanban_stage_state/i18n/nb.po new file mode 100644 index 000000000..3c3706cac --- /dev/null +++ b/base_kanban_stage_state/i18n/nb.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_kanban_stage_state +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-18 02:19+0000\n" +"PO-Revision-Date: 2017-03-18 02:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Norwegian Bokmål (https://www.transifex.com/oca/teams/23907/" +"nb/)\n" +"Language: nb\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_kanban_stage_state +#: model:ir.model,name:base_kanban_stage_state.model_base_kanban_stage +msgid "Kanban Stage" +msgstr "" + +#. module: base_kanban_stage_state +#: model:ir.model.fields,field_description:base_kanban_stage_state.field_base_kanban_stage_state +msgid "State" +msgstr "Status" diff --git a/base_kanban_stage_state/i18n/nb_NO.po b/base_kanban_stage_state/i18n/nb_NO.po new file mode 100644 index 000000000..24bc3ab44 --- /dev/null +++ b/base_kanban_stage_state/i18n/nb_NO.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_kanban_stage_state +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-18 02:19+0000\n" +"PO-Revision-Date: 2017-03-18 02:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Norwegian Bokmål (Norway) (https://www.transifex.com/oca/" +"teams/23907/nb_NO/)\n" +"Language: nb_NO\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_kanban_stage_state +#: model:ir.model,name:base_kanban_stage_state.model_base_kanban_stage +msgid "Kanban Stage" +msgstr "" + +#. module: base_kanban_stage_state +#: model:ir.model.fields,field_description:base_kanban_stage_state.field_base_kanban_stage_state +msgid "State" +msgstr "Stat" diff --git a/base_kanban_stage_state/i18n/nl.po b/base_kanban_stage_state/i18n/nl.po new file mode 100644 index 000000000..fac5a7b1d --- /dev/null +++ b/base_kanban_stage_state/i18n/nl.po @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_kanban_stage_state +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-18 02:19+0000\n" +"PO-Revision-Date: 2017-03-18 02:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_kanban_stage_state +#: model:ir.model,name:base_kanban_stage_state.model_base_kanban_stage +msgid "Kanban Stage" +msgstr "" + +#. module: base_kanban_stage_state +#: model:ir.model.fields,field_description:base_kanban_stage_state.field_base_kanban_stage_state +msgid "State" +msgstr "Staat/Provincie" diff --git a/base_kanban_stage_state/i18n/pl.po b/base_kanban_stage_state/i18n/pl.po new file mode 100644 index 000000000..6b6638ca9 --- /dev/null +++ b/base_kanban_stage_state/i18n/pl.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_kanban_stage_state +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-18 02:19+0000\n" +"PO-Revision-Date: 2017-03-18 02:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Polish (https://www.transifex.com/oca/teams/23907/pl/)\n" +"Language: pl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n" +"%100<12 || n%100>=14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n" +"%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" + +#. module: base_kanban_stage_state +#: model:ir.model,name:base_kanban_stage_state.model_base_kanban_stage +msgid "Kanban Stage" +msgstr "" + +#. module: base_kanban_stage_state +#: model:ir.model.fields,field_description:base_kanban_stage_state.field_base_kanban_stage_state +msgid "State" +msgstr "Stan" diff --git a/base_kanban_stage_state/i18n/pt.po b/base_kanban_stage_state/i18n/pt.po new file mode 100644 index 000000000..e0eb0b0a2 --- /dev/null +++ b/base_kanban_stage_state/i18n/pt.po @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_kanban_stage_state +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-18 02:19+0000\n" +"PO-Revision-Date: 2017-03-18 02:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_kanban_stage_state +#: model:ir.model,name:base_kanban_stage_state.model_base_kanban_stage +msgid "Kanban Stage" +msgstr "" + +#. module: base_kanban_stage_state +#: model:ir.model.fields,field_description:base_kanban_stage_state.field_base_kanban_stage_state +msgid "State" +msgstr "Estado" diff --git a/base_kanban_stage_state/i18n/pt_BR.po b/base_kanban_stage_state/i18n/pt_BR.po new file mode 100644 index 000000000..1426b7477 --- /dev/null +++ b/base_kanban_stage_state/i18n/pt_BR.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_kanban_stage_state +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-18 02:19+0000\n" +"PO-Revision-Date: 2017-03-18 02:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/" +"teams/23907/pt_BR/)\n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: base_kanban_stage_state +#: model:ir.model,name:base_kanban_stage_state.model_base_kanban_stage +msgid "Kanban Stage" +msgstr "" + +#. module: base_kanban_stage_state +#: model:ir.model.fields,field_description:base_kanban_stage_state.field_base_kanban_stage_state +msgid "State" +msgstr "Estado" diff --git a/base_kanban_stage_state/i18n/pt_PT.po b/base_kanban_stage_state/i18n/pt_PT.po new file mode 100644 index 000000000..e520f564a --- /dev/null +++ b/base_kanban_stage_state/i18n/pt_PT.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_kanban_stage_state +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-18 02:19+0000\n" +"PO-Revision-Date: 2017-03-18 02:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/" +"teams/23907/pt_PT/)\n" +"Language: pt_PT\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_kanban_stage_state +#: model:ir.model,name:base_kanban_stage_state.model_base_kanban_stage +msgid "Kanban Stage" +msgstr "" + +#. module: base_kanban_stage_state +#: model:ir.model.fields,field_description:base_kanban_stage_state.field_base_kanban_stage_state +msgid "State" +msgstr "Estado" diff --git a/base_kanban_stage_state/i18n/ro.po b/base_kanban_stage_state/i18n/ro.po new file mode 100644 index 000000000..23f62fff8 --- /dev/null +++ b/base_kanban_stage_state/i18n/ro.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_kanban_stage_state +# +# Translators: +# Daniel Schweiger , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-01 02:10+0000\n" +"PO-Revision-Date: 2017-12-01 02:10+0000\n" +"Last-Translator: Daniel Schweiger , 2017\n" +"Language-Team: Romanian (https://www.transifex.com/oca/teams/23907/ro/)\n" +"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?" +"2:1));\n" + +#. module: base_kanban_stage_state +#: model:ir.model,name:base_kanban_stage_state.model_base_kanban_stage +msgid "Kanban Stage" +msgstr "" + +#. module: base_kanban_stage_state +#: model:ir.model.fields,field_description:base_kanban_stage_state.field_base_kanban_stage_state +msgid "State" +msgstr "Tara" diff --git a/base_kanban_stage_state/i18n/sl.po b/base_kanban_stage_state/i18n/sl.po new file mode 100644 index 000000000..650aa4990 --- /dev/null +++ b/base_kanban_stage_state/i18n/sl.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_kanban_stage_state +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-18 02:19+0000\n" +"PO-Revision-Date: 2017-03-18 02:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3);\n" + +#. module: base_kanban_stage_state +#: model:ir.model,name:base_kanban_stage_state.model_base_kanban_stage +msgid "Kanban Stage" +msgstr "" + +#. module: base_kanban_stage_state +#: model:ir.model.fields,field_description:base_kanban_stage_state.field_base_kanban_stage_state +msgid "State" +msgstr "Stanje" diff --git a/base_kanban_stage_state/i18n/sv.po b/base_kanban_stage_state/i18n/sv.po new file mode 100644 index 000000000..6a357ee9c --- /dev/null +++ b/base_kanban_stage_state/i18n/sv.po @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_kanban_stage_state +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-18 02:19+0000\n" +"PO-Revision-Date: 2017-03-18 02:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Swedish (https://www.transifex.com/oca/teams/23907/sv/)\n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_kanban_stage_state +#: model:ir.model,name:base_kanban_stage_state.model_base_kanban_stage +msgid "Kanban Stage" +msgstr "" + +#. module: base_kanban_stage_state +#: model:ir.model.fields,field_description:base_kanban_stage_state.field_base_kanban_stage_state +msgid "State" +msgstr "Status" diff --git a/base_kanban_stage_state/i18n/tr.po b/base_kanban_stage_state/i18n/tr.po new file mode 100644 index 000000000..cc674f67a --- /dev/null +++ b/base_kanban_stage_state/i18n/tr.po @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_kanban_stage_state +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-18 02:19+0000\n" +"PO-Revision-Date: 2017-03-18 02:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n" +"Language: tr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: base_kanban_stage_state +#: model:ir.model,name:base_kanban_stage_state.model_base_kanban_stage +msgid "Kanban Stage" +msgstr "" + +#. module: base_kanban_stage_state +#: model:ir.model.fields,field_description:base_kanban_stage_state.field_base_kanban_stage_state +msgid "State" +msgstr "Durum" diff --git a/base_kanban_stage_state/i18n/tr_TR.po b/base_kanban_stage_state/i18n/tr_TR.po new file mode 100644 index 000000000..8e6062723 --- /dev/null +++ b/base_kanban_stage_state/i18n/tr_TR.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_kanban_stage_state +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-18 02:19+0000\n" +"PO-Revision-Date: 2017-03-18 02:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/" +"tr_TR/)\n" +"Language: tr_TR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: base_kanban_stage_state +#: model:ir.model,name:base_kanban_stage_state.model_base_kanban_stage +msgid "Kanban Stage" +msgstr "" + +#. module: base_kanban_stage_state +#: model:ir.model.fields,field_description:base_kanban_stage_state.field_base_kanban_stage_state +msgid "State" +msgstr "Hal" diff --git a/base_kanban_stage_state/i18n/zh_CN.po b/base_kanban_stage_state/i18n/zh_CN.po new file mode 100644 index 000000000..f9a52520d --- /dev/null +++ b/base_kanban_stage_state/i18n/zh_CN.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_kanban_stage_state +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-18 02:19+0000\n" +"PO-Revision-Date: 2017-03-18 02:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/" +"zh_CN/)\n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: base_kanban_stage_state +#: model:ir.model,name:base_kanban_stage_state.model_base_kanban_stage +msgid "Kanban Stage" +msgstr "" + +#. module: base_kanban_stage_state +#: model:ir.model.fields,field_description:base_kanban_stage_state.field_base_kanban_stage_state +msgid "State" +msgstr "状态" diff --git a/base_kanban_stage_state/models/__init__.py b/base_kanban_stage_state/models/__init__.py new file mode 100644 index 000000000..1a55aaed4 --- /dev/null +++ b/base_kanban_stage_state/models/__init__.py @@ -0,0 +1,3 @@ +# 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 new file mode 100644 index 000000000..d2256bbeb --- /dev/null +++ b/base_kanban_stage_state/models/base_kanban_stage.py @@ -0,0 +1,19 @@ +# Copyright 2017 Specialty Medical Drugstore +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). + +from odoo import api, fields, models + + +class BaseKanbanStage(models.Model): + _inherit = 'base.kanban.stage' + + @api.model + def _get_states(self): + return [('draft', 'New'), + ('open', 'In Progress'), + ('pending', 'Pending'), + ('done', 'Done'), + ('cancelled', 'Cancelled'), + ('exception', 'Exception')] + + state = fields.Selection(_get_states, string='State') diff --git a/base_kanban_stage_state/readme/CONTRIBUTORS.rst b/base_kanban_stage_state/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..10029e120 --- /dev/null +++ b/base_kanban_stage_state/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Kelly Lougheed diff --git a/base_kanban_stage_state/readme/DESCRIPTION.rst b/base_kanban_stage_state/readme/DESCRIPTION.rst new file mode 100644 index 000000000..3b06ea96d --- /dev/null +++ b/base_kanban_stage_state/readme/DESCRIPTION.rst @@ -0,0 +1,9 @@ +This module extends the functionality of base_kanban_stage to allow you to +map stages from base_kanban_stage to states. The states are: + +* New (draft) +* In Progress (open) +* Pending (pending) +* Done (done) +* Cancelled (cancelled) +* Exception (exception) diff --git a/base_kanban_stage_state/static/description/icon.png b/base_kanban_stage_state/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/base_kanban_stage_state/static/description/icon.png differ diff --git a/base_kanban_stage_state/tests/__init__.py b/base_kanban_stage_state/tests/__init__.py new file mode 100644 index 000000000..2c3124493 --- /dev/null +++ b/base_kanban_stage_state/tests/__init__.py @@ -0,0 +1,3 @@ +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). + +from . import test_base_kanban_stage diff --git a/base_kanban_stage_state/tests/test_base_kanban_stage.py b/base_kanban_stage_state/tests/test_base_kanban_stage.py new file mode 100644 index 000000000..857a09fcd --- /dev/null +++ b/base_kanban_stage_state/tests/test_base_kanban_stage.py @@ -0,0 +1,19 @@ +# Copyright 2017 Specialty Medical Drugstore +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). + +from odoo.tests.common import TransactionCase + + +class TestBaseKanbanStage(TransactionCase): + def test_get_states(self): + """It should return a list of stages""" + test_stage = self.env['base.kanban.stage'].with_context({}) + + self.assertEqual(test_stage._get_states(), + [('draft', 'New'), + ('open', 'In Progress'), + ('pending', 'Pending'), + ('done', 'Done'), + ('cancelled', 'Cancelled'), + ('exception', 'Exception')] + ) 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 new file mode 100644 index 000000000..3226ace69 --- /dev/null +++ b/base_kanban_stage_state/views/base_kanban_stage_state_view.xml @@ -0,0 +1,18 @@ + + + + + + + Kanban Stage - Form View + base.kanban.stage + + + + + + + + +