From 395576f1dde2a58cdaada026e14d0c6fb7f4ee4f Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Mon, 18 Jul 2016 14:05:59 +0200 Subject: [PATCH] Replace readonly groups by ir.model.button issue5068 review29351002 --- production.py | 2 -- production.xml | 10 ++++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/production.py b/production.py index 275a193034..390f325b16 100644 --- a/production.py +++ b/production.py @@ -209,8 +209,6 @@ class Production(Workflow, ModelSQL, ModelView): }, 'assign_wizard': { 'invisible': Eval('state') != 'waiting', - 'readonly': ~Eval('groups', []).contains( - Id('stock', 'group_stock')), }, 'assign_try': {}, 'assign_force': {}, diff --git a/production.xml b/production.xml index d8f2232d9a..3ab0e2f4b0 100644 --- a/production.xml +++ b/production.xml @@ -282,6 +282,16 @@ this repository contains the full copyright notices and license terms. --> + + assign_wizard + + + + + + + production.assign.failed form