From 6e21d91fa1f452f26407a7495d754f21f3ce9070 Mon Sep 17 00:00:00 2001 From: Alex Comba Date: Thu, 24 Aug 2017 22:39:30 +0200 Subject: [PATCH] [FIX] base_kanban_stage: fix wrong field referenced in base_kanban_abstract_view_kanban; user_id instead of kanban_user_id --- base_kanban_stage/README.rst | 1 + base_kanban_stage/__manifest__.py | 2 +- base_kanban_stage/models/base_kanban_abstract.py | 7 +++++-- base_kanban_stage/views/base_kanban_abstract.xml | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/base_kanban_stage/README.rst b/base_kanban_stage/README.rst index 8f683f429..5595366ea 100644 --- a/base_kanban_stage/README.rst +++ b/base_kanban_stage/README.rst @@ -93,6 +93,7 @@ Contributors * Dave Lasley * Oleg Bulkin * Daniel Reis +* Alex Comba Maintainer ---------- diff --git a/base_kanban_stage/__manifest__.py b/base_kanban_stage/__manifest__.py index ecb053f2f..9d6c0bb28 100644 --- a/base_kanban_stage/__manifest__.py +++ b/base_kanban_stage/__manifest__.py @@ -5,7 +5,7 @@ { 'name': 'Kanban - Stage Support', 'summary': 'Provides stage model and abstract logic for inheritance', - 'version': '10.0.1.0.0', + 'version': '10.0.1.0.1', 'author': "LasLabs, Odoo Community Association (OCA)", 'category': 'base', 'depends': [ diff --git a/base_kanban_stage/models/base_kanban_abstract.py b/base_kanban_stage/models/base_kanban_abstract.py index 391c5edda..99195399d 100644 --- a/base_kanban_stage/models/base_kanban_abstract.py +++ b/base_kanban_stage/models/base_kanban_abstract.py @@ -8,8 +8,11 @@ from odoo import api, fields, models class BaseKanbanAbstract(models.AbstractModel): """ Inherit from this class to add support for Kanban stages to your model. All public properties are preceded with kanban_ in order to isolate from - child models, with the exception of stage_id, which is a required field in - the Kanban widget and must be defined as such. """ + child models, with the exception of: stage_id, which is a required field in + the Kanban widget and must be defined as such, and user_id, which is a + special field that has special treatment in some places (such as the + mail module). + """ _name = 'base.kanban.abstract' _order = 'kanban_priority desc, kanban_sequence' diff --git a/base_kanban_stage/views/base_kanban_abstract.xml b/base_kanban_stage/views/base_kanban_abstract.xml index 984889565..08a1c9f3e 100644 --- a/base_kanban_stage/views/base_kanban_abstract.xml +++ b/base_kanban_stage/views/base_kanban_abstract.xml @@ -50,7 +50,7 @@
-
+