From 1fc5e850eee89dfc6189b0e020445178e69d8b75 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/__openerp__.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 1c7c354ea..8507b1b2e 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/__openerp__.py b/base_kanban_stage/__openerp__.py index 58ee4345a..070dee050 100644 --- a/base_kanban_stage/__openerp__.py +++ b/base_kanban_stage/__openerp__.py @@ -5,7 +5,7 @@ { 'name': 'Kanban - Stage Support', 'summary': 'Provides stage model and abstract logic for inheritance', - 'version': '9.0.1.0.0', + 'version': '9.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 2e8ed21c8..2a3b9a0c9 100644 --- a/base_kanban_stage/models/base_kanban_abstract.py +++ b/base_kanban_stage/models/base_kanban_abstract.py @@ -8,8 +8,11 @@ from openerp 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 @@
-
+