Browse Source

Merge PR #1702 into 12.0

Signed-off-by jbeficent
12.0-mig-module_prototyper_last
OCA-git-bot 5 years ago
parent
commit
3161ce7a60
  1. 60
      base_kanban_stage_state/README.rst
  2. 3
      base_kanban_stage_state/__init__.py
  3. 19
      base_kanban_stage_state/__manifest__.py
  4. 25
      base_kanban_stage_state/i18n/base_kanban_stage_state.pot
  5. 29
      base_kanban_stage_state/i18n/ca.po
  6. 29
      base_kanban_stage_state/i18n/cs.po
  7. 29
      base_kanban_stage_state/i18n/da.po
  8. 30
      base_kanban_stage_state/i18n/de.po
  9. 29
      base_kanban_stage_state/i18n/es.po
  10. 30
      base_kanban_stage_state/i18n/es_ES.po
  11. 30
      base_kanban_stage_state/i18n/es_MX.po
  12. 30
      base_kanban_stage_state/i18n/es_VE.po
  13. 29
      base_kanban_stage_state/i18n/fi.po
  14. 29
      base_kanban_stage_state/i18n/fr.po
  15. 30
      base_kanban_stage_state/i18n/fr_CH.po
  16. 29
      base_kanban_stage_state/i18n/gl.po
  17. 31
      base_kanban_stage_state/i18n/hr.po
  18. 31
      base_kanban_stage_state/i18n/hr_HR.po
  19. 29
      base_kanban_stage_state/i18n/hu.po
  20. 29
      base_kanban_stage_state/i18n/it.po
  21. 30
      base_kanban_stage_state/i18n/nb.po
  22. 30
      base_kanban_stage_state/i18n/nb_NO.po
  23. 29
      base_kanban_stage_state/i18n/nl.po
  24. 31
      base_kanban_stage_state/i18n/pl.po
  25. 29
      base_kanban_stage_state/i18n/pt.po
  26. 30
      base_kanban_stage_state/i18n/pt_BR.po
  27. 30
      base_kanban_stage_state/i18n/pt_PT.po
  28. 30
      base_kanban_stage_state/i18n/ro.po
  29. 30
      base_kanban_stage_state/i18n/sl.po
  30. 29
      base_kanban_stage_state/i18n/sv.po
  31. 29
      base_kanban_stage_state/i18n/tr.po
  32. 30
      base_kanban_stage_state/i18n/tr_TR.po
  33. 30
      base_kanban_stage_state/i18n/zh_CN.po
  34. 3
      base_kanban_stage_state/models/__init__.py
  35. 19
      base_kanban_stage_state/models/base_kanban_stage.py
  36. 1
      base_kanban_stage_state/readme/CONTRIBUTORS.rst
  37. 9
      base_kanban_stage_state/readme/DESCRIPTION.rst
  38. BIN
      base_kanban_stage_state/static/description/icon.png
  39. 3
      base_kanban_stage_state/tests/__init__.py
  40. 19
      base_kanban_stage_state/tests/test_base_kanban_stage.py
  41. 18
      base_kanban_stage_state/views/base_kanban_stage_state_view.xml

60
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
<https://github.com/OCA/sever-tools/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 <https://odoo-community.org/logo.png>`_.
Contributors
------------
* Kelly Lougheed <kelly@smdrugstore.com>
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.

3
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

19
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",
],
}

25
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 ""

29
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

29
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

29
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <niki.waibel@gmail.com>, 2017
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

29
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

29
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

29
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

29
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

31
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 <transbot@odoo-community.org>, 2017
# Bole <bole@dajmi5.com>, 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 <bole@dajmi5.com>, 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"

31
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

29
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

29
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

29
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

31
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

29
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <danielcccasle@gmail.com>, 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 <danielcccasle@gmail.com>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

29
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

29
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 "状态"

3
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

19
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')

1
base_kanban_stage_state/readme/CONTRIBUTORS.rst

@ -0,0 +1 @@
* Kelly Lougheed <kelly@smdrugstore.com>

9
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)

BIN
base_kanban_stage_state/static/description/icon.png

After

Width: 128  |  Height: 128  |  Size: 9.2 KiB

3
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

19
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')]
)

18
base_kanban_stage_state/views/base_kanban_stage_state_view.xml

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2017 Specialty Medical Drugstore
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -->
<odoo>
<record id="base_kanban_stage_view_form" model="ir.ui.view">
<field name="name">Kanban Stage - Form View</field>
<field name="model">base.kanban.stage</field>
<field name="inherit_id" ref="base_kanban_stage.base_kanban_stage_view_form"/>
<field name="arch" type="xml">
<xpath expr="//group[@name='core_info']" position="inside">
<field name="state"/>
</xpath>
</field>
</record>
</odoo>
Loading…
Cancel
Save